joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a320
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45fa3b
mov eax, dword fs:[0]
push eax
sub esp, 0xe80
mov eax, dword [0x4786a0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
mov ecx, dword [eax + 0x13c]
xor edi, edi
mov dword [ebp - 0xe88], eax
cmp dword [ecx - 0xc], edi
jle 0x41a531
mov eax, ecx
lea esi, [eax + 2]
nop
mov dx, word [eax]
add eax, 2
cmp dx, di
jne 0x41a370
sub eax, esi
sar eax, 1
mov esi, eax
cmp esi, 0x200
jae 0x41a531
push esi
push ecx
lea eax, [ebp - 0x414]
push 0x200
push eax
call fcn.00446265
push 0x24c
lea edx, [ebp - 0xe80]
xor ecx, ecx
push edi
push edx
mov word [ebp + esi*2 - 0x414], cx
mov dword [ebp - 0xe84], edi
call fcn.00449910
push 2
push 0x46b9bc
lea eax, [ebp - 0x414]
push 0x200
push eax
call fcn.0044611a
add esp, 0x2c
lea ecx, [ebp - 0xe84]
push ecx
lea edx, [ebp - 0x414]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xe8c], eax
cmp eax, 0xffffffff
je 0x41a531
test byte [ebp - 0xe84], 0x10
je 0x41a50e
mov eax, dword [ebp - 0xe88]
mov edx, dword [eax + 0x13c]
cmp dword [edx - 0xc], edi
jle 0x41a45c
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41a423
sub eax, esi
sar eax, 1
mov esi, eax
cmp esi, 0x200
jae 0x41a45c
push esi
push edx
lea ecx, [ebp - 0x814]
push 0x200
push ecx
call fcn.00446265
add esp, 0x10
xor edx, edx
mov word [ebp + esi*2 - 0x814], dx
lea eax, [ebp - 0xe58]
push eax
lea ecx, [ebp - 0x814]
push 0x200
push ecx
call fcn.004461f0
add esp, 0xc
push edi
lea edx, [ebp - 0xc14]
push edx
push 0x200
push edi
push str.mscorlib.dll
lea eax, [ebp - 0x814]
push eax
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
je 0x41a50e
xor ecx, ecx
lea eax, [ebp - 0xe58]
mov dword [ebp - 0xc1c], 7
mov dword [ebp - 0xc20], edi
mov word [ebp - 0xc30], cx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41a4c0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0xe58]
lea ecx, [ebp - 0xc30]
call fcn.00429690
lea ecx, [ebp - 0xc30]
mov dword [ebp - 4], edi
call fcn.0041fe70
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0xc1c], 8
jb 0x41a50e
mov edx, dword [ebp - 0xc30]
push edx
call fcn.0044543c
add esp, 4
mov esi, dword [ebp - 0xe8c]
lea eax, [ebp - 0xe84]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41a400
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebx + 4]
sub ecx, dword [ebx]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00445447
mov esp, ebp
pop ebp
ret 4
Function at 0x41a570
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x4786a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
mov ecx, 0x10
mov esi, str.SOFTWAREMicrosoft.NETFramework
lea edi, [ebp - 0x48]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x50]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x48]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 0x49], 0
movsw word es:[edi], word [esi]
mov dword [ebp - 0x50], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41a624
lea edx, [ebp - 0x54]
push edx
push ebx
push eax
push eax
mov eax, dword [ebp - 0x50]
push str.InstallRoot
mov esi, 0x200
push eax
mov dword [ebp - 0x54], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41a604
cmp dword [ebp - 0x54], esi
mov ecx, dword [ebp - 0x50]
push ecx
setbe bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00445447
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x50]
mov bl, byte [ebp - 0x49]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00445447
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x49]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00445447
mov esp, ebp
pop ebp
ret
Function at 0x421a00
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45d14b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4786a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004440d7
push 4
mov dword [ebp - 4], 0
call fcn.0044578f
mov edi, eax
add esp, 4
test edi, edi
je 0x421a80
call fcn.004443ec
mov dword [edi], eax
call fcn.004441ab
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0044408d
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x421a76
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.004440b5
jmp 0x421a82
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
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 0x42c970
Capabilities:
Check os version
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x170
mov eax, dword [0x4786a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
push 0x110
lea eax, [ebp - 0x158]
push edi
push eax
mov dword [ebp - 0x16c], edi
mov dword [ebp - 0x160], edi
mov dword [ebp - 0x164], edi
mov dword [ebp - 0x168], edi
mov dword [ebp - 0x15c], 0x114
call fcn.00449910
add esp, 0xc
lea ecx, [ebp - 0x160]
push ecx
push 0xa
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x42caab
lea edx, [ebp - 0x15c]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x42caab
cmp dword [ebp - 0x158], 6
jb 0x42ca4b
mov edx, dword [ebp - 0x160]
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x168]
push eax
push 4
lea ecx, [ebp - 0x170]
push ecx
push 0x12
push edx
call esi
test eax, eax
je 0x42caab
cmp dword [ebp - 0x170], 3
jne 0x42ca4b
mov edx, dword [ebp - 0x160]
lea eax, [ebp - 0x168]
push eax
push 4
lea ecx, [ebp - 0x164]
push ecx
push 0x13
push edx
call esi
test eax, eax
je 0x42caab
cmp dword [ebp - 0x164], edi
jne 0x42ca6d
mov ecx, dword [ebp - 0x160]
lea eax, [ebp - 0x164]
push eax
push 1
push ecx
call dword [sym.imp.ADVAPI32.dll_DuplicateToken]
test eax, eax
je 0x42caab
lea edx, [ebp - 0x168]
push edx
lea eax, [ebp - 0x48]
push eax
push edi
push 0x1a
mov dword [ebp - 0x168], 0x44
call dword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
test eax, eax
je 0x42caab
mov eax, dword [ebp - 0x164]
lea ecx, [ebp - 0x16c]
push ecx
lea edx, [ebp - 0x48]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x42cab1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp - 0x160]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, edi
je 0x42caca
push eax
call esi
mov dword [ebp - 0x160], edi
mov eax, dword [ebp - 0x164]
cmp eax, edi
je 0x42cad7
push eax
call esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x16c]
pop edi
xor ecx, ebp
pop esi
call fcn.00445447
mov esp, ebp
pop ebp
ret
Function at 0x430f10
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45cf7b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4786a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.004440d7
push 4
mov dword [ebp - 4], 0
call fcn.0044578f
mov edi, eax
add esp, 4
test edi, edi
je 0x430f8c
call fcn.004443ec
mov dword [edi], eax
call fcn.004441ab
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0044408d
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x430f82
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.004440b5
jmp 0x430f8e
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4376c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4786a0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00449910
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x43772e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x437715
and eax, 0xffff
or eax, 0x80070000
test eax, eax
js 0x43779c
mov eax, 0x80004005
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00445447
mov esp, ebp
pop ebp
ret
cmp word [ebp + eax*2 - 0x20e], 0x5c
push esi
je 0x437749
lea esi, [ebp - 0x20c]
call fcn.0043d3a0
test eax, eax
js 0x43779b
lea esi, [ebp - 0x20c]
call fcn.0043d2f0
mov esi, eax
test esi, esi
js 0x437799
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
jne 0x437799
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x437783
and eax, 0xffff
or eax, 0x80070000
test eax, eax
js 0x43779b
mov eax, 0x80004005
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00445447
mov esp, ebp
pop ebp
ret
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00445447
mov esp, ebp
pop ebp
ret
Function at 0x437d70
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
lea eax, [ebp - 4]
push eax
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
je 0x437dbc
push edi
call fcn.004440cc
mov ecx, dword [ebp - 4]
add esp, 4
push eax
push edi
push ecx
push ebx
mov dword [esi], eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
mov edx, dword [esi]
test eax, eax
jne 0x437dc3
push edx
call fcn.00445b98
add esp, 4
mov dword [esi], 0
mov dword [esi + 4], 0
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
push ecx
push str.VarFileInfoTranslation
push edx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x437de0
mov eax, dword [esi]
push eax
jmp 0x437da7
mov eax, dword [ebp - 8]
movzx ecx, word [eax]
movzx edx, word [eax + 2]
shl ecx, 0x10
or ecx, edx
mov dword [esi + 4], ecx
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x439140
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45e9e8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4786a0]
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, ecx
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x439261
cmp byte [edi + 0x49], bl
je 0x439261
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x439255
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x4391b5
lea eax, [ebp - 0x2c]
mov byte [eax + 8], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x4391cd
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x4391f6
dec eax
je 0x4391fa
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x439250
jmp 0x43925c
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x43920a
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x439233
cmp ebx, 0x10
jae 0x439219
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.0044790e
add esp, 0x10
cmp esi, eax
jne 0x43924d
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x439259
test esi, esi
jne 0x4391c1
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00421950
jmp 0x4391bb
lea ecx, [ebp - 0x2c]
call fcn.00429810
xor al, al
jmp 0x439263
lea ecx, [ebp - 0x2c]
call fcn.00429810
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.00445447
mov esp, ebp
pop ebp
ret
Function at 0x43d7e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x4786a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x46dbf4
push eax
mov ebx, edx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x34], ecx
call fcn.004489d4
mov edi, eax
add esp, 8
mov dword [ebp - 0x30], edi
test edi, edi
jne 0x43d848
test esi, esi
je 0x43d835
call fcn.00448b06
mov edx, dword [eax]
push edx
call fcn.00448a5a
mov ebx, eax
add esp, 4
mov eax, esi
call fcn.0041db90
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00445447
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x43d856
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
jmp 0x43d85d
mov dword [ebp - 0x3c], 0
xor eax, eax
xor ecx, ecx
mov esi, ebx
mov word [ebp - 0x2c], cx
mov dword [ebp - 0x2a], eax
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x16], eax
mov dword [ebp - 0x12], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
call fcn.004013e0
push 2
push 0
push edi
call fcn.00448bd9
push edi
call fcn.00448de9
mov edx, dword [ebp - 0x30]
push 0
push 0
push edx
mov edi, eax
call fcn.00448bd9
add esp, 0x1c
xor esi, esi
test edi, edi
je 0x43d963
push edi
call fcn.004440cc
mov esi, eax
mov eax, dword [ebp - 0x30]
push eax
push 1
push edi
push esi
mov dword [ebp - 0x38], esi
call fcn.00449098
add esp, 0x14
push 0
push 0
push edi
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
test esi, esi
jns 0x43d8f5
push 0x80070057
call fcn.00401680
mov eax, dword [ebx]
mov edx, dword [eax - 8]
mov ecx, 1
sub ecx, dword [eax - 4]
sub edx, esi
or ecx, edx
jge 0x43d911
mov eax, esi
mov ecx, ebx
call fcn.00401440
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x38]
push esi
push eax
push edi
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, esi
cmp esi, 0xffffffff
jne 0x43d941
mov eax, dword [ebx]
mov ecx, dword [eax - 8]
test eax, eax
je 0x43d945
push ecx
push eax
call fcn.004469ac
add esp, 8
test eax, eax
js 0x43d8eb
mov ecx, dword [ebx]
cmp eax, dword [ecx - 8]
jg 0x43d8eb
mov dword [ecx - 0xc], eax
mov edx, dword [ebx]
xor ecx, ecx
mov word [edx + eax*2], cx
mov edx, dword [ebp - 0x38]
push edx
call fcn.00445b98
add esp, 4
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x43d97f
push esi
push edi
lea ecx, [ebp - 0x2c]
push ecx
push str._s_d_bytes_to__d_wide_chars
mov edi, eax
call fcn.00422e30
add esp, 0x10
mov edx, dword [ebp - 0x30]
push edx
call fcn.00448681
mov eax, dword [ebp - 0x34]
add esp, 4
test eax, eax
je 0x43d997
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.00445447
mov esp, ebp
pop ebp
ret
Function at 0x43d9b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4786a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov esi, edx
push 0x46dc34
push eax
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x2d], 1
call fcn.004489d4
add esp, 8
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x43da1f
test esi, esi
je 0x43da0c
call fcn.00448b06
mov eax, dword [eax]
push eax
call fcn.00448a5a
mov ebx, eax
add esp, 4
mov eax, esi
call fcn.0041db90
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00445447
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x43da2a
mov ecx, dword [ebx]
mov dword [ebp - 0x40], ecx
jmp 0x43da31
mov dword [ebp - 0x40], 0
xor eax, eax
xor edx, edx
mov dword [ebp - 0x2a], eax
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x16], eax
mov dword [ebp - 0x12], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
mov eax, dword [edi]
mov word [ebp - 0x2c], dx
mov esi, dword [eax - 0xc]
xor edi, edi
test esi, esi
je 0x43dac2
push edi
push edi
push edi
push edi
push esi
push eax
push edi
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
lea eax, [edi + 1]
push eax
call fcn.004440cc
add esp, 4
push 0
push 0
mov ebx, eax
lea eax, [edi + 1]
push eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
push ebx
push esi
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edx, dword [ebp - 0x38]
push edx
push 1
push edi
push ebx
call fcn.0044790e
cmp eax, 1
push ebx
sete byte [ebp - 0x2d]
call fcn.00445b98
mov ebx, dword [ebp - 0x3c]
add esp, 0x14
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x43dae0
push edi
lea ecx, [ebp - 0x2c]
push ecx
push esi
push str._d_wide_chars_to__s_d_bytes
mov edi, eax
call fcn.00422e30
add esp, 0x10
mov eax, edi
cmp byte [ebp - 0x2d], 0
jne 0x43db07
test eax, eax
je 0x43db07
call fcn.00448b06
mov edx, dword [eax]
push edx
call fcn.00448a5a
mov ebx, eax
mov eax, dword [ebp - 0x34]
add esp, 4
call fcn.0041db90
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
push eax
call fcn.00448681
add esp, 4
test ebx, ebx
je 0x43db1c
mov ecx, dword [ebp - 0x40]
mov dword [ebx], ecx
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x2d]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00445447
mov esp, ebp
pop ebp
ret
Function at 0x441430
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x4786a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push 0x46dbf4
push eax
lea eax, [ebp - 0x808]
push eax
mov esi, ecx
call fcn.004489eb
xor ebx, ebx
add esp, 0xc
cmp dword [ebp - 0x808], ebx
jne 0x44147b
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00445447
mov esp, ebp
pop ebp
ret
mov dword [esi + 4], ebx
mov dword [esi], ebx
mov dword [esi + 8], 0x67452301
mov dword [esi + 0xc], 0xefcdab89
mov dword [esi + 0x10], 0x98badcfe
mov dword [esi + 0x14], 0x10325476
push edi
lea ecx, [ecx]
mov ecx, dword [ebp - 0x808]
push ecx
push 0x800
lea edx, [ebp - 0x804]
push 1
push edx
call fcn.00449098
mov edi, eax
lea eax, [ebp - 0x804]
push eax
mov ecx, edi
add ebx, edi
call fcn.004411d0
add esp, 0x14
cmp edi, 0x800
jge 0x4414a0
mov ecx, dword [ebp - 0x808]
push ecx
call fcn.00448681
add esp, 4
mov ecx, esi
call fcn.00441300
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00445447
mov esp, ebp
pop ebp
ret
Function at 0x4429f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x461343
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x4786a0]
xor eax, esp
mov dword [esp + 0x8c], eax
push ebx
push esi
mov eax, dword [0x4786a0]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
lea ecx, [esp + 0x14]
call fcn.00441500
mov dword [esp + 0xa8], 0
mov eax, dword [esp + 0x14]
mov ebx, 0x10
cmp dword [esp + 0x28], ebx
jae 0x442a5b
lea eax, [esp + 0x14]
mov edx, dword [esp + 0x24]
push 0
lea ecx, [esp + 0x10]
push ecx
push edx
push eax
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x442adb
xor ecx, ecx
mov dword [esp + 0x40], eax
mov word [esp + 0x30], cx
push 0x17
mov eax, 0x46e4ac
lea ecx, [esp + 0x34]
mov dword [esp + 0x48], 7
call fcn.00429690
push 0x215
push 0x46e098
sub esp, 0x48
lea ebx, [esp + 0x80]
mov esi, esp
mov byte [esp + 0xf8], 1
mov dword [esp + 0x60], esp
call fcn.0041ee70
lea esi, [esp + 0x9c]
call fcn.004230f0
add esp, 0x50
push 0x4707ec
mov edx, esi
push edx
call fcn.00449840
cmp dword [esp + 0x28], ebx
jb 0x442aee
mov eax, dword [esp + 0x14]
push eax
call fcn.0044543c
add esp, 4
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.00445447
mov esp, ebp
pop ebp
ret 4

Function at 0x443720
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esi + 0x60]
push ebx
push edi
mov byte [eax + esi + 0x20], 0x80
mov edi, 1
add dword [esi + 0x60], edi
cmp eax, 0x37
mov eax, dword [esi + 0x60]
jle 0x443775
mov ecx, 0x40
xor bl, bl
cmp eax, ecx
jge 0x443753
mov byte [eax + esi + 0x20], bl
add dword [esi + 0x60], edi
mov eax, dword [esi + 0x60]
cmp eax, ecx
jl 0x443745
mov ecx, esi
call fcn.00443050
mov ecx, 0x38
cmp dword [esi + 0x60], ecx
jge 0x44378e
mov eax, dword [esi + 0x60]
mov byte [esi + eax + 0x20], bl
add dword [esi + 0x60], edi
cmp dword [esi + 0x60], ecx
jl 0x443764
jmp 0x44378e
mov ecx, 0x38
cmp eax, ecx
jge 0x44378e
xor bl, bl
mov byte [eax + esi + 0x20], bl
add dword [esi + 0x60], edi
mov eax, dword [esi + 0x60]
cmp eax, ecx
jl 0x443780
movzx ecx, byte [esi + 0x1f]
movzx edx, byte [esi + 0x1e]
movzx eax, byte [esi + 0x1d]
mov byte [esi + 0x58], cl
movzx ecx, byte [esi + 0x1c]
mov byte [esi + 0x59], dl
movzx edx, byte [esi + 0x1b]
mov byte [esi + 0x5b], cl
movzx ecx, byte [esi + 0x19]
mov byte [esi + 0x5a], al
movzx eax, byte [esi + 0x1a]
mov byte [esi + 0x5c], dl
movzx edx, byte [esi + 0x18]
pop edi
mov byte [esi + 0x5e], cl
mov byte [esi + 0x5d], al
mov byte [esi + 0x5f], dl
mov ecx, esi
pop ebx
jmp fcn.00443050

Function at 0x445447
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4786a0]
jne 0x445451
repz ret
jmp fcn.0044d3e4