joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d410
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x18
push esi
push 0
push 0x2000000
push 4
push 0
push 0
push 0xc0000000
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40d442
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x55aac0]
push ebx
push edi
lea edi, [ecx + 1]
lea eax, [ecx + 2]
imul eax, edi
imul eax, ecx
cdq
mov ebx, 0xf
idiv ebx
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
movq qword [ebp - 0x10], xmm0
cmp edx, 1
jne 0x40d496
sub ecx, 0
je 0x40d48c
dec ecx
je 0x40d480
mov dword [0x55aac0], edi
jmp 0x40d496
mov dword [0x55aac0], 0
jmp 0x40d496
mov dword [0x55aac0], 2
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push esi
movq qword [ebp - 8], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileTime]
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40d4e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x500818
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x559680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
push dword [eax]
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x40d534
xor bl, bl
jmp 0x40d599
push 0
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebp + 0xc]
mov dword [ebp + 8], 0
mov ecx, dword [eax - 8]
mov esi, dword [eax - 0xc]
mov edx, 1
sub edx, dword [eax - 4]
or ecx, edx
jge 0x40d56a
push 0
lea ecx, [ebp + 0xc]
call fcn.00406c80
mov eax, dword [ebp + 0xc]
push 0
lea ecx, [ebp + 8]
push ecx
lea ecx, [esi + esi]
push ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push edi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 1
sete bl
mov esi, dword [ebp + 0xc]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40d5bd
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40d7d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
push 0
push 0x80
push 4
push 0
push 2
push 0x40000000
push dword [eax]
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40d840
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebp + 0xc]
push 0
mov eax, dword [eax]
lea ecx, [ebp + 8]
push ecx
mov dword [ebp + 8], 0
push dword [eax - 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40d839
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov al, bl
pop ebx
pop ebp
ret
Function at 0x410f80
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x500ef0
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x559680]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, 1
call fcn.0040dd40
xor ecx, ecx
push ecx
push ecx
test al, al
push ecx
cmovne esi, ecx
push esi
push 0x5122d0
call fcn.00411bf0
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x410fdd
xor al, al
jmp 0x4111bd
push 0
lea ecx, [ebp - 0x48]
call fcn.00466080
push 0x50e98c
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0
call fcn.00466040
lea eax, [ebp - 0x38]
push eax
push str.method
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.004665b0
mov ecx, eax
call fcn.004663c0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.00466320
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.00486ee0
add esp, 8
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.00465fa0
lea eax, [ebp - 0x38]
push eax
push 0x50e948
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.004665b0
mov ecx, eax
call fcn.004663c0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.00466320
cmp dword [ebp - 0x14], 0x10
mov byte [ebp - 4], 0
jb 0x41107a
push dword [ebp - 0x28]
call fcn.004decf8
add esp, 4
push 0x50e9a4
lea ecx, [ebp - 0x38]
call fcn.00466040
lea eax, [ebp - 0x38]
push eax
push str.acceptedStatusCodes
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.004665b0
mov ecx, eax
call fcn.00466b70
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.00466320
push 0x50e9b4
lea ecx, [ebp - 0x38]
call fcn.00466040
lea eax, [ebp - 0x38]
push eax
push str.acceptTypes
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 5
call fcn.004665b0
mov ecx, eax
call fcn.004663c0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.00466320
mov ecx, dword [0x55aac0]
lea eax, [ecx + 1]
imul eax, ecx
cdq
mov ecx, 0x15
idiv ecx
cmp edx, 0x11
jne 0x41110d
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
push 1
lea ecx, [ebp - 0x38]
call fcn.00466180
lea eax, [ebp - 0x38]
push eax
push str.noResponse
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
call fcn.004665b0
mov ecx, eax
call fcn.004663c0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.00466320
push 0
push 0
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x5c]
push esi
push eax
mov dword [ebp - 0x4c], 0
call fcn.0040e9d0
add esp, 0x18
push esi
mov byte [ebp - 4], 7
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push str.result
lea ecx, [ebp - 0x5c]
call fcn.004665b0
mov ecx, eax
call fcn.00467580
test al, al
je 0x41119e
push str.result
lea ecx, [ebp - 0x5c]
call fcn.004665b0
mov ecx, eax
call fcn.00466ba0
test al, al
je 0x41119e
mov bl, 1
jmp 0x4111a0
xor bl, bl
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0
call fcn.00466320
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.00466320
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004df4f4
mov esp, ebp
pop ebp
ret
Function at 0x4156e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x501168
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x559680]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x415811
cmp byte [ebx + 0x46], 0
je 0x415811
mov eax, dword [ebx]
push 0xffff
call dword [eax + 0xc]
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
jne 0x41573f
xor al, al
jmp 0x415813
mov ecx, 0xf
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
movq qword [ebp - 0x28], xmm0
lea eax, [ebp - 0x28]
cmp ecx, 0x10
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], 8
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
nop
cmp dword [ebp - 0x14], 0x10
mov ecx, dword [ebx + 0x40]
lea eax, [ebp - 0x2c]
mov edx, dword [ecx]
push eax
mov eax, dword [ebp - 0x18]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x4157aa
dec eax
je 0x4157ae
sub eax, 2
je 0x4157fa
xor bl, bl
jmp 0x4157fc
mov byte [ebx + 0x46], 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
cmovae eax, edx
sub esi, eax
je 0x4157e0
push dword [ebx + 0x50]
cmp ecx, 0x10
push esi
lea eax, [ebp - 0x28]
cmovae eax, edx
push 1
push eax
call fcn.004e1e6b
add esp, 0x10
cmp esi, eax
jne 0x4157a6
cmp byte [ebx + 0x46], 0
je 0x4157fa
test esi, esi
jne 0x415770
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.004163a0
jmp 0x415770
mov bl, 1
cmp dword [ebp - 0x14], 0x10
jb 0x41580d
push dword [ebp - 0x28]
call fcn.004decf8
add esp, 4
mov al, bl
jmp 0x415813
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004df4f4
mov esp, ebp
pop ebp
ret
Function at 0x41bd80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x501918
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x559680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.0041c110
mov dword [edi], eax
lea ecx, [edi + 8]
mov dword [ebp - 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.0041c110
mov dword [edi + 8], eax
mov eax, dword [edi]
mov ecx, edi
push dword [eax + 4]
call fcn.0041c1c0
mov eax, dword [edi]
lea ecx, [edi + 8]
mov dword [eax + 4], eax
mov eax, dword [edi]
mov dword [eax], eax
mov eax, dword [edi]
mov dword [eax + 8], eax
mov dword [edi + 4], 0
mov eax, dword [edi + 8]
push dword [eax + 4]
call fcn.0041c1c0
mov eax, dword [edi + 8]
mov dword [eax + 4], eax
mov eax, dword [edi + 8]
mov dword [eax], eax
mov eax, dword [edi + 8]
mov dword [eax + 8], eax
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41e640
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
push 0
push 0
push 0x2001f
push 0x100
push 0
push dword [esi]
lea ecx, [ebp - 0xc]
push edi
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call fcn.00409b30
test eax, eax
je 0x41e6a6
push 0
push 0
push 0x2001f
push 0
push 0
push dword [esi]
lea ecx, [ebp - 0xc]
push edi
call fcn.00409b30
test eax, eax
je 0x41e6a6
mov esi, dword [ebp - 0xc]
xor bl, bl
jmp 0x41e6fb
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp - 0xc]
mov edx, dword [eax]
mov eax, dword [ebp + 8]
mov edi, dword [eax]
test edx, edx
jne 0x41e6be
mov edi, 0xd
jmp 0x41e6e9
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e6c3
sub ecx, ebx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test esi, esi
je 0x41e6f6
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
test edi, edi
sete bl
test esi, esi
je 0x41e706
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x439c40
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 8]
xor edi, edi
call fcn.004399f0
mov esi, eax
add esp, 4
test esi, esi
jne 0x439c5f
lea eax, [edi + 7]
pop edi
pop esi
pop ebp
ret
push ebx
call fcn.00439aa0
push esi
test eax, eax
je 0x439ca1
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
test ebx, ebx
jne 0x439cd9
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x439cd9
mov eax, edi
inc edi
cmp eax, 3
jge 0x439cd9
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
test ebx, ebx
je 0x439c76
jmp 0x439cd9
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebx, eax
test ebx, ebx
jne 0x439cd9
lea ecx, [ecx]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x439cd9
mov eax, edi
inc edi
cmp eax, 3
jge 0x439cd9
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebx, eax
test ebx, ebx
je 0x439cb0
push esi
call fcn.0044a050
add esp, 4
xor ecx, ecx
test ebx, ebx
pop ebx
mov eax, 0xa
pop edi
cmovne eax, ecx
pop esi
pop ebp
ret

Function at 0x439da0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
call fcn.004399f0
mov esi, eax
add esp, 4
test esi, esi
jne 0x439dbb
lea eax, [esi + 7]
pop esi
pop ebp
ret
push ebx
call fcn.00439aa0
push esi
test eax, eax
je 0x439dce
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x439dd4
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ebx, ebx
cmp eax, 0xffffffff
push esi
setne bl
call fcn.0044a050
add esp, 4
mov eax, ebx
pop ebx
pop esi
pop ebp
ret

Function at 0x439ec0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x439ed0
xor eax, eax
pop esi
pop ebp
ret
call fcn.00439aa0
test eax, eax
jne 0x439ef1
mov ecx, esi
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x439ee0
sub ecx, edx
cmp ecx, 0x104
ja 0x439ecb
push esi
call fcn.004399f0
mov esi, eax
add esp, 4
test esi, esi
jne 0x439f06
lea eax, [esi + 7]
pop esi
pop ebp
ret
push ebx
call fcn.00439aa0
push esi
test eax, eax
je 0x439f19
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x439f1f
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push esi
mov ebx, eax
call fcn.0044a050
add esp, 4
cmp ebx, 0xffffffff
jne 0x439f35
pop ebx
xor eax, eax
pop esi
pop ebp
ret
movsx eax, bl
and eax, 0x10
pop ebx
shr eax, 4
pop esi
pop ebp
ret
Function at 0x43a200
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a8
mov eax, dword [0x559680]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x55b0f4]
push esi
push edi
mov edi, dword [ebp + 8]
test eax, eax
je 0x43a23f
push 0x118
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.004e2200
add esp, 0xc
mov byte [ebp - 0x24], 0
jmp 0x43a2ca
call fcn.00439aa0
test eax, eax
je 0x43a284
lea eax, [ebp - 0x3a8]
push eax
push 0x118
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x3a8]
push eax
call fcn.0043a540
mov esi, eax
add esp, 4
test esi, esi
jne 0x43a2ab
pop edi
mov eax, 7
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004df4f4
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x274]
push eax
push 0x118
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x274]
push eax
call fcn.00439b70
mov esi, eax
add esp, 4
test esi, esi
je 0x43a26f
push 0x118
lea eax, [ebp - 0x13c]
push esi
push eax
call fcn.004e2200
push esi
mov byte [ebp - 0x24], 0
call fcn.0044a050
add esp, 0x10
lea ecx, [ebp - 0x13c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43a2d3
sub ecx, edx
test ecx, ecx
jle 0x43a2f2
lea eax, [ebp - 0x13c]
cmp byte [eax + ecx - 1], 0x5c
jne 0x43a2f2
dec ecx
test ecx, ecx
jg 0x43a2e6
cmp ecx, 0x136
jae 0x43a3de
push ebx
mov byte [ebp + ecx - 0x13c], 0
mov ebx, 0x3e
lea esp, [esp]
lea eax, [ebp - 0x13c]
push eax
push str._setilqs_
push edi
call fcn.004e46c3
mov esi, edi
add esp, 0xc
lea ecx, [esi + 1]
lea ebx, [ebx]
mov al, byte [esi]
inc esi
test al, al
jne 0x43a330
sub esi, ecx
lea eax, [edi + esi]
push eax
push 0xf
call fcn.004429d0
add esp, 8
mov ecx, 3
lea esp, [esp]
movzx eax, byte [edi + esi]
xor edx, edx
div ebx
lea esi, [esi + 5]
movzx eax, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi - 5], al
movzx eax, byte [edi + esi - 4]
xor edx, edx
div ebx
movzx eax, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi - 4], al
movzx eax, byte [edi + esi - 3]
xor edx, edx
div ebx
movzx eax, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi - 3], al
movzx eax, byte [edi + esi - 2]
xor edx, edx
div ebx
movzx eax, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi - 2], al
movzx eax, byte [edi + esi - 1]
xor edx, edx
div ebx
movzx eax, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi - 1], al
dec ecx
jne 0x43a350
push edi
mov byte [edi + esi], cl
call fcn.00439da0
add esp, 4
test eax, eax
jne 0x43a310
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.004df4f4
mov esp, ebp
pop ebp
ret
call fcn.004e4cb8
int3
Function at 0x43a3f0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x55b0f0], 0
push esi
jne 0x43a430
call fcn.00439d90
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov esi, eax
mov dword [0x55b0f8], esi
cmp esi, 0xffffffff
jne 0x43a41f
call fcn.00439f50
xor eax, eax
pop esi
pop ebp
ret
mov dword [0x55b0f0], 1
call fcn.00439f50
jmp 0x43a436
mov esi, dword [0x55b0f8]
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov eax, dword [ebp + 8]
test eax, eax
jle 0x43a480
test esi, esi
jne 0x43a4c1
push 0xc
call fcn.00439bb0
mov esi, eax
add esp, 4
test esi, esi
je 0x43a4c1
movq xmm0, qword [0x512294]
movq qword [esi], xmm0
mov eax, dword [0x51229c]
push esi
push dword [0x55b0f8]
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, esi
pop esi
pop ebp
ret
test esi, esi
je 0x43a4c1
test eax, eax
jns 0x43a4c1
mov eax, dword [esi]
cmp eax, dword [0x512294]
jne 0x43a4c1
mov eax, dword [esi + 4]
cmp eax, dword [0x512298]
jne 0x43a4c1
mov eax, dword [esi + 8]
cmp eax, dword [0x51229c]
jne 0x43a4c1
push esi
call fcn.00439ba0
add esp, 4
push 0
push dword [0x55b0f8]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
xor esi, esi
mov eax, esi
pop esi
pop ebp
ret
Function at 0x4470a0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
cmp edi, 2
jge 0x4470b4
mov eax, 0x17
pop edi
pop ebp
ret
push ebx
mov ebx, dword [ebp + 8]
push esi
movzx eax, byte [ebx + edi - 1]
movzx ecx, byte [ebx]
movzx eax, byte [eax + 0x515978]
movzx ecx, byte [ecx + 0x515978]
lea eax, [eax + eax*2]
shl ecx, 2
xor eax, ecx
xor eax, edi
cdq
mov ecx, 0x7f
idiv ecx
movzx esi, byte [edx + str.Pk_]
dec esi
js 0x447121
jmp 0x4470f0
movzx eax, byte [esi + 0x5153e8]
cmp eax, edi
jne 0x447117
movzx eax, word [esi*2 + 0x515460]
push edi
add eax, str.ABORTABLEFTEMPORARYADDATABASELECTHENDEFAULTRANSACTIONATURALTERAISEACHECKEYAFTEREFERENCESCAPELSEXCEPTRIGGEREGEXPLAINITIALLYANALYZEXCLUSIVEXISTSTATEMENTANDEFERRABLEATTACHAVINGLOBEFOREIGNOREINDEXAUTOINCREMENTBEGINNERENAMEBETWEENOTNULLIKEBYCASCADEFERREDELETECASECASTCOLLATECOLUMNCOMMITCONFLICTCONSTRAINTERSECTCREATECROSSCURRENT_DATECURRENT_TIMESTAMPLANDESCDETACHDISTINCTDROPRAGMATCHFAILIMITFROMFULLGROUPDATEIFIMMEDIATEINSERTINSTEADINTOFFSETISNULLJOINORDEREPLACEOUTERESTRICTPRIMARYQUERYRIGHTROLLBACKROWHENUNIONUNIQUEUSINGVACUUMVALUESVIEWHEREVIRTUAL
push ebx
push eax
call fcn.0044a860
add esp, 0xc
test eax, eax
je 0x44712b
movzx esi, byte [esi + 0x515370]
dec esi
jns 0x4470f0
pop esi
pop ebx
mov eax, 0x17
pop edi
pop ebp
ret
movzx eax, byte [esi + 0x515550]
pop esi
pop ebx
pop edi
pop ebp
ret

Function at 0x447150
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004470a0
Function at 0x458460
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x501d33
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x559680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 4], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov byte [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi], 0x516b68
mov eax, dword [0x5591b8]
mov ecx, 0x5591b8
mov dword [ebp - 4], 0
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0x28], eax
push dword [ebp + 8]
lea ecx, [edi + 0x28]
mov byte [ebp - 4], 1
call fcn.004025b0
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x45b170
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x559680]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ebp + 8]
push esi
mov esi, dword [0x55d524]
push edi
push 0xf0
push eax
push esi
mov dword [ebp - 0x10c], ecx
mov edi, 1
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x45b2fe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x45b2fe
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x45b2fe
mov edx, 0x1234
push ebx
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x45b2e9
mov ecx, dword [esi + 4]
mov ebx, eax
movzx eax, word [esi + 2]
mov dword [ebp - 0x110], ecx
mov ecx, 0x403
add esi, 8
cmp cx, ax
jne 0x45b25e
push 3
lea eax, [ebp - 0x104]
push esi
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x108], eax
call fcn.0045c100
push dword [ebp - 0x108]
mov eax, dword [ebp - 0x10c]
push 0
push 0x143
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
cmp eax, 0xffffffff
mov eax, dword [ebp - 0x108]
cmove edi, ecx
lea ecx, [ebp - 0x104]
cmp eax, ecx
je 0x45b2d6
push eax
call fcn.004e0005
add esp, 4
jmp 0x45b2d6
cmp dx, ax
jne 0x45b2db
push 3
lea eax, [ebp - 0x104]
push esi
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x134], 1
mov dword [ebp - 0x130], 0xffffffff
mov dword [ebp - 0x108], eax
call fcn.0045c100
mov eax, dword [ebp - 0x108]
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x12c], eax
cmp eax, ecx
je 0x45b2b0
push eax
call fcn.004e0005
add esp, 4
lea eax, [ebp - 0x134]
push eax
mov eax, dword [ebp - 0x10c]
push 0
push 0x40b
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
cmp eax, 0xffffffff
cmove edi, ecx
mov edx, 0x1234
add esi, dword [ebp - 0x110]
test edi, edi
jne 0x45b1d6
pop ebx
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004df4f4
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004df4f4
mov esp, ebp
pop ebp
ret 4
Function at 0x45ca20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0xcf
mov esi, ecx
call fcn.0045b170
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], 0
mov dword [eax], 0
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x45ea10
push 0
push 0
call fcn.004e5805
add esp, 0x18
mov dword [esi + 0x30], eax
push 0
push 0x3e8
push 0x5df
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0x10