joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436637
Capabilities:
Get file version info

Disassembly:
push 0x2cc
mov eax, 0x47da50
call fcn.00451855
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [ebp + 0xc]
mov ecx, eax
mov edi, dword [ebp + 0x10]
push 0x49a3d0
mov dword [ebp - 0x2c0], eax
call fcn.00403839
push dword [ebp + 0x1c]
lea eax, [ebp - 0x2bc]
push esi
push eax
call fcn.004362ca
test al, al
je 0x43683a
cmp dword [ebp - 0x2bc], ebx
je 0x43683a
push dword [ebp - 0x2bc]
mov esi, 0x104
lea eax, [ebp - 0x218]
push edi
push esi
push eax
call fcn.004364af
test al, al
je 0x43682e
cmp word [ebp - 0x218], bx
je 0x43682e
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x43682e
push dword [ebp + 0x14]
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.00429267
test eax, eax
js 0x43682e
push ebx
lea eax, [ebp - 0x218]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x43682e
push edi
call fcn.00457603
mov esi, eax
pop ecx
test esi, esi
je 0x43682e
push esi
push edi
push ebx
lea eax, [ebp - 0x218]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x436827
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x2b8]
push eax
push 0x49a3cc
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x436827
push 0x98
lea eax, [ebp - 0x2b4]
push ebx
push eax
call fcn.004546e0
add esp, 0xc
lea ecx, [ebp - 0x2b4]
push 1
call fcn.004063a9
mov eax, dword [ebp - 0x2b8]
lea ecx, [ebp - 0x2b4]
mov dword [ebp - 4], ebx
movzx eax, word [eax + 0xa]
push eax
call fcn.0041df00
mov edi, 0x483924
lea eax, [ebp - 0x2b4]
push edi
push eax
call fcn.004046d0
mov eax, dword [ebp - 0x2b8]
lea ecx, [ebp - 0x2b4]
movzx eax, word [eax + 8]
push eax
call fcn.0041df00
push edi
lea eax, [ebp - 0x2b4]
push eax
call fcn.004046d0
mov eax, dword [ebp - 0x2b8]
lea ecx, [ebp - 0x2b4]
movzx eax, word [eax + 0xe]
push eax
call fcn.0041df00
push edi
lea eax, [ebp - 0x2b4]
push eax
call fcn.004046d0
mov eax, dword [ebp - 0x2b8]
lea ecx, [ebp - 0x2b4]
movzx eax, word [eax + 0xc]
push eax
call fcn.0041df00
lea eax, [ebp - 0x2d8]
push eax
lea ecx, [ebp - 0x2b0]
call fcn.0040d4cf
mov ecx, dword [ebp - 0x2c0]
lea eax, [ebp - 0x2d8]
push eax
call fcn.004036fd
lea ecx, [ebp - 0x2d8]
call fcn.0040443d
lea ecx, [ebp - 0x2b4]
mov bl, 1
call fcn.004074fd
push esi
call fcn.004562e3
pop ecx
push dword [ebp - 0x2bc]
call fcn.004562e3
pop ecx
mov al, bl
call fcn.00451804
ret 0x18
Function at 0x436fb2
Capabilities:
Delete file

Disassembly:
nop
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x4a919c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov eax, esi
push edi
xor edi, edi
cmp dword [esi + 0x14], 8
jb 0x41f053
mov eax, dword [esi]
lea ecx, [ebp - 0x254]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x41f094
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esi + 0x14], 8
jb 0x41f075
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x41f094
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00450f85
leave
ret 4
push ebp
mov ebp, esp
pop ebp
jmp 0x41f02d

Function at 0x437002
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041f3fd

Function at 0x437052
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041f915

Function at 0x437122
Capabilities:
Get common file path

Disassembly:
nop
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4a919c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
xor esi, esi
mov dword [ebp - 0x210], 0x104
push esi
push eax
call fcn.004546e0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.USERENV.dll_GetDefaultUserProfileDirectoryW]
test eax, eax
je 0x420933
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00403839
jmp 0x420947
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00450f85
leave
ret 4
push ebp
mov ebp, esp
pop ebp
jmp 0x4208d0
Function at 0x437172
Capabilities:
Query or enumerate registry value

Disassembly:
nop
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [0x4a919c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
movzx eax, byte [ebp + 0x14]
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x18]
shl eax, 8
push esi
add eax, 0x20019
cmp dword [ecx + 0x14], 8
push edi
mov edi, dword [ebp + 0x10]
jb 0x420f12
mov ecx, dword [ecx]
lea esi, [ebp - 0x830]
push esi
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
movzx esi, ax
or esi, 0x80070000
mov dword [ebp - 0x82c], 0x820
test eax, eax
cmovle esi, eax
and dword [ebp - 0x828], 0
test esi, esi
js 0x420fba
cmp dword [edi + 0x14], 8
jb 0x420f4f
mov edi, dword [edi]
lea eax, [ebp - 0x82c]
push eax
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x828]
push eax
push 0
push edi
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
js 0x420fae
cmp dword [ebp - 0x828], 1
je 0x420f9e
cmp dword [ebp - 0x828], 2
je 0x420f9e
mov esi, 0x8007065d
jmp 0x420fae
lea eax, [ebp - 0x824]
mov ecx, ebx
push eax
xor esi, esi
call fcn.00403839
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00450f85
leave
ret 0x14
push ebp
mov ebp, esp
pop ebp
jmp 0x420eda
Function at 0x437192
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push 0x34
mov eax, 0x47ad8d
call fcn.00451855
mov esi, dword [ebp + 8]
mov eax, dword [esi]
cmp eax, dword [esi + 4]
je 0x4210c2
mov dword [esi + 4], eax
xor ebx, ebx
mov dword [ebp - 0x28], 7
xor eax, eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x2c], ebx
mov word [ebp - 0x3c], ax
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], ebx
push eax
call 0x420fcd
mov edi, eax
test edi, edi
js 0x4211d9
push 0xf0000040
push 0x18
push ebx
push ebx
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
setne cl
test eax, eax
je 0x42112b
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push 0x800c
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
setne cl
test cl, cl
je 0x4211b9
push 4
pop ecx
push ebx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ecx
push eax
lea eax, [ebp - 0x20]
push eax
push ecx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x4211b9
cmp dword [ebp - 0x28], 8
lea ecx, [ebp - 0x3c]
mov eax, dword [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x3c]
add eax, eax
push ebx
push eax
push ecx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
setne bl
test eax, eax
je 0x4211b3
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x3d]
push ecx
push eax
mov ecx, esi
mov dword [ebp - 0x18], eax
call fcn.0041d4dd
push 0
lea eax, [ebp - 0x18]
push eax
push dword [esi]
push 2
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push dword [ebp - 0x14]
test eax, eax
setne bl
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test bl, bl
jne 0x4211d9
jmp 0x4211cf
push dword [ebp - 0x14]
mov dword [ebp - 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [esi]
cmp eax, dword [esi + 4]
je 0x4211d9
mov dword [esi + 4], eax
mov eax, dword [esi]
mov ecx, 0x80004005
cmp eax, dword [esi + 4]
mov eax, dword [ebp - 0x28]
cmove edi, ecx
cmp eax, 8
jb 0x421221
mov ecx, dword [ebp - 0x3c]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], ecx
cmp eax, 0x1000
jb 0x421218
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004045aa
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
push eax
push ecx
call fcn.00451213
pop ecx
pop ecx
mov eax, edi
call fcn.00451804
ret 4
push ebp
mov ebp, esp
pop ebp
jmp 0x4210a9

Function at 0x437232
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042188b
Function at 0x437372
Capabilities:
Query or enumerate registry value

Disassembly:
nop
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4a919c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
xor esi, esi
push esi
push eax
call fcn.004546e0
add esp, 0xc
mov dword [ebp - 0x214], 1
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0x104
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
push str.Version
push str.SoftwareMicrosoftOneDrive
call fcn.00421842
push eax
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x422044
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00403839
jmp 0x422049
mov esi, 0x80004005
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00450f85
leave
ret 4
push ebp
mov ebp, esp
pop ebp
jmp 0x421fc0

Function at 0x437392
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004220de

Function at 0x4373a2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004221b8

Function at 0x437572
Capabilities:
Query or enumerate registry value

Disassembly:
nop
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4a919c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push 4
xor ebx, ebx
cmp dword [eax + 0x14], 8
pop ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ecx
jb 0x4244b0
mov eax, dword [eax]
push eax
push str.SoftwareMicrosoftOneDriveAccounts
lea eax, [ebp - 0x28]
push eax
call fcn.00407f7f
cmp dword [eax + 0x14], 8
jb 0x4244c7
mov eax, dword [eax]
push esi
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push 0x10
push str.IsGoSov
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.0040443d
test esi, esi
pop esi
jne 0x4244fd
cmp dword [ebp - 8], 1
sete bl
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00450f85
leave
ret 4
push ebp
mov ebp, esp
pop ebp
jmp 0x424484
Function at 0x437772
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax - 0x1d]
push eax
lea eax, [ebp - 0x394]
push eax
call fcn.00425830
add esp, 0xc
and dword [ebp - 0x700], 0
jmp 0x426ccc
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x426d15
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
movsx ecx, byte [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
not eax
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
jmp 0x426cbf
call fcn.004258bf
fcmovnbe st(0), st(7)
inc esi
sbb al, byte [eax - 0x72b5b]
inc dword [eax]
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.004258bf
mov ecx, 0x8dc06556
test esp, edx
clc
invalid
push ebp
mov ebp, esp
pop ebp
jmp 0x426c9f

Function at 0x4378c2
Capabilities:
Set registry value

Disassembly:
nop
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x4a919c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, 0x20006
cmp byte [ebp + 0x18], 0
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, 0x102
cmovne ecx, edi
cmp dword [eax + 0x14], 8
jb 0x428b24
mov eax, dword [eax]
lea edi, [ebp - 8]
push edi
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x428b66
cmp dword [esi + 0x10], eax
jne 0x428b42
xor esi, esi
jmp 0x428b4a
cmp dword [esi + 0x14], 8
jb 0x428b4a
mov esi, dword [esi]
push 4
push ebx
push 4
push 0
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 8]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
movzx eax, di
or eax, 0x80070000
test edi, edi
cmovle eax, edi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00450f85
leave
ret 0x14
push ebp
mov ebp, esp
pop ebp
jmp 0x428aeb

Function at 0x4378d2
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00428c8f
Function at 0x4378f2
Capabilities:
Set registry value

Disassembly:
nop
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x4a919c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, 0x20006
cmp byte [ebp + 0x18], 0
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, 0x102
cmovne ecx, edi
cmp dword [eax + 0x14], 8
jb 0x428e96
mov eax, dword [eax]
lea edi, [ebp - 8]
push edi
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x428eee
cmp dword [ebx + 0x14], 8
mov eax, dword [ebx + 0x10]
lea ecx, [eax*2 + 2]
jb 0x428ebd
mov ebx, dword [ebx]
movzx eax, byte [ebp + 0x1c]
inc eax
cmp dword [esi + 0x10], 0
jne 0x428ecc
xor esi, esi
jmp 0x428ed4
cmp dword [esi + 0x14], 8
jb 0x428ed4
mov esi, dword [esi]
push ecx
push ebx
push eax
push 0
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 8]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
movzx eax, di
or eax, 0x80070000
test edi, edi
cmovle eax, edi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00450f85
leave
ret 0x18
push ebp
mov ebp, esp
pop ebp
jmp 0x428e5d

Function at 0x437902
Capabilities:
Set registry value

Disassembly:
nop
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x14], 8
mov eax, dword [ecx + 0x10]
lea edx, [eax*2 + 2]
jb 0x428f26
mov ecx, dword [ecx]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x428f31
mov eax, dword [eax]
push edx
push ecx
push 2
push eax
push str.Environment
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
movzx ecx, ax
mov edx, 0x80070000
or ecx, edx
test eax, eax
cmovle ecx, eax
test ecx, ecx
cmovle edx, ecx
shr edx, 0x1f
xor dl, 1
mov al, dl
pop ebp
ret 0xc
push ebp
mov ebp, esp
pop ebp
jmp 0x428f0c
Function at 0x437972
Capabilities:
Query or enumerate registry value

Disassembly:
nop
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x4a919c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x14]
mov ecx, esi
push edi
mov edi, dword [ebp + 8]
push 0x49a3d0
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x240], eax
call fcn.00403839
mov eax, dword [ebp - 0x240]
xor ecx, ecx
push 0x118
push ecx
mov dword [eax], ecx
lea eax, [ebp - 0x238]
mov dword [ebx], ecx
mov bl, cl
push eax
mov dword [edi], ecx
call fcn.004546e0
add esp, 0xc
mov dword [ebp - 0x23c], 0x11c
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x429c5a
mov ecx, dword [ebp - 0x120]
mov bl, 1
mov eax, dword [ebp - 0x238]
mov dword [edi], eax
mov eax, dword [ebp - 0x234]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x240]
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x120], 0x118
mov dword [ecx], eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x11c]
push eax
push 0
push 2
push str.BuildLab
push str.SoftwareMicrosoftWindows_NTCurrentVersion
push dword [0x4a9068]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
js 0x429c5a
push esi
lea eax, [ebp - 0x11c]
push eax
call fcn.004297ff
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00450f85
leave
ret 0x10
push ebp
mov ebp, esp
pop ebp
jmp 0x429b75

Function at 0x437b06
Capabilities:
Accept command line arguments

Disassembly:
push 0x230
mov eax, 0x47db92
call fcn.00451855
mov ebx, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x23c], ebx
xor eax, eax
mov dword [ebp - 0x238], ecx
mov dword [ebx], ecx
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], 7
mov word [ebx], ax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x238], 1
call fcn.0042d6eb
mov edi, eax
mov eax, dword [edi]
mov esi, dword [eax + 0x1f0]
mov ecx, esi
call dword [0x481514]
mov ecx, edi
call esi
mov byte [ebp - 0x234], al
test al, al
jne 0x437be6
push 0x208
xor esi, esi
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.004546e0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x437be6
lea eax, [ebp - 0x218]
push 0x48bcc4
push eax
call fcn.00454bbe
pop ecx
pop ecx
test eax, eax
je 0x437be6
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x230]
call fcn.00403736
push esi
push str._allusers
lea ecx, [ebp - 0x230]
call fcn.0040c319
cmp eax, 0xffffffff
lea ecx, [ebp - 0x230]
setne byte [ebp - 0x234]
call fcn.0040443d
push ebx
push dword [ebp - 0x234]
call fcn.00421817
push 0x486100
mov ecx, ebx
call fcn.004038b3
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.00437d4b
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.0040e676
mov dword [ebp - 0x238], 3
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 1
push eax
mov ecx, ebx
call fcn.004038dc
lea ecx, [ebp - 0x230]
call fcn.0040443d
mov eax, ebx
call fcn.00451804
ret 0xc
Function at 0x45212e
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x45216d
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x45216d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x45216d
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x45216d
cmp dword [ecx + 0x74], 0xe
jbe 0x45216d
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x469254
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x492804
push 0x4927fc
push str.FlsAlloc
push 0x1e
call fcn.00469081
mov esi, eax
add esp, 0x10
test esi, esi
je 0x469288
push dword [ebp + 8]
mov ecx, esi
call dword [0x481514]
call esi
jmp 0x46928e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4692d2
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x492814
push 0x49280c
push str.FlsGetValue
push 0x20
call fcn.00469081
mov esi, eax
add esp, 0x10
test esi, esi
je 0x469309
push dword [ebp + 8]
mov ecx, esi
call dword [0x481514]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x470374
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4a919c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4703bf
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00470513
test al, al
jne 0x4703b9
sub edx, 2
cmp edx, edi
jne 0x47039f
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4703e1
lea eax, [edi + 2]
cmp edx, eax
je 0x4703e1
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004702c0
add esp, 0x10
jmp 0x4704db
push esi
lea ecx, [ebp - 0x255]
call fcn.00470513
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x470424
push dword [ebp - 0x25c]
jmp 0x4703d1
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x470461
cmp word [ebp - 0x226], 0
je 0x470482
cmp word [ebp - 0x226], ax
jne 0x470461
cmp word [ebp - 0x224], 0
je 0x470482
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004702c0
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4704ce
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x47043b
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4704b6
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4704db
push 0x4700f0
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00475030
add esp, 0x10
jmp 0x4704ab
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00450f85
leave
ret

Function at 0x470620
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x470631
pop esi
ret
push ebx
push edi
push esi
call fcn.004705e9
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00467b88
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x470659
push ebx
push esi
push edi
call fcn.00454160
add esp, 0xc
push 0
call fcn.00467040
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x470a1d
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0047066e