joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c390
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4af0ec
mov eax, dword fs:[0]
push eax
mov eax, 0x1044
call fcn.004a9200
mov eax, dword [0x4ccf60]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1034], ecx
mov dword [ebp - 0x1030], 0
mov dword [ebp - 0x10], 0x800
xor eax, eax
mov word [ebp - 0x1014], ax
push 0xffe
push 0
lea ecx, [ebp - 0x1012]
push ecx
call fcn.00499250
add esp, 0xc
lea edx, [ebp - 0x1014]
push edx
push 0x800
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x1018]
call fcn.0040aa40
mov dword [ebp - 4], 0
push 1
lea ecx, [ebp - 0x1020]
push ecx
lea ecx, [ebp - 0x1018]
call fcn.0040ad30
mov dword [ebp - 0x1038], eax
push 0x4becbc
mov edx, dword [ebp - 0x1038]
push edx
call fcn.00435eb0
add esp, 8
mov byte [ebp - 0x1019], al
lea ecx, [ebp - 0x1020]
call fcn.0040aac0
movzx eax, byte [ebp - 0x1019]
test eax, eax
je 0x43c47a
push 0x4becc0
lea ecx, [ebp - 0x1018]
call fcn.00435ae0
lea ecx, [ebp - 0x1024]
push ecx
mov ecx, 0x4d6ec0
call fcn.00415b10
mov dword [ebp - 0x103c], eax
mov edx, dword [ebp - 0x103c]
mov dword [ebp - 0x1040], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1040]
push eax
lea ecx, [ebp - 0x1018]
push ecx
lea edx, [ebp - 0x1028]
push edx
call fcn.00435cf0
add esp, 0xc
mov dword [ebp - 0x1044], eax
mov eax, dword [ebp - 0x1044]
mov dword [ebp - 0x1048], eax
mov byte [ebp - 4], 2
push 0x4becc4
mov ecx, dword [ebp - 0x1048]
push ecx
lea edx, [ebp - 0x102c]
push edx
call fcn.00435da0
add esp, 0xc
mov dword [ebp - 0x104c], eax
mov eax, dword [ebp - 0x104c]
mov dword [ebp - 0x1050], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1050]
push ecx
lea ecx, [ebp - 0x1018]
call fcn.0040aae0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x102c]
call fcn.0040aac0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1028]
call fcn.0040aac0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1024]
call fcn.0040aac0
lea edx, [ebp - 0x1018]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040aa20
mov eax, dword [ebp - 0x1030]
or eax, 1
mov dword [ebp - 0x1030], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1018]
call fcn.0040aac0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049536b
mov esp, ebp
pop ebp
ret 4
Function at 0x43c600
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4af093
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x4ccf60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x224], 0
mov dword [ebp - 4], 2
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x206
push 0
lea ecx, [ebp - 0x21a]
push ecx
call fcn.00499250
add esp, 0xc
lea ecx, [ebp + 0x14]
call fcn.00436d80
push eax
push 0x104
lea edx, [ebp - 0x21c]
push edx
push 0x4becd8
lea ecx, [ebp + 0x10]
call fcn.00436d80
push eax
lea ecx, [ebp + 0xc]
call fcn.00436d80
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call fcn.0040aa40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x220]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040aa20
mov edx, dword [ebp - 0x224]
or edx, 1
mov dword [ebp - 0x224], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x220]
call fcn.0040aac0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.0040aac0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.0040aac0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.0040aac0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049536b
mov esp, ebp
pop ebp
ret 0x10

Function at 0x43c720
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], ecx
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
call fcn.0043c390
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
call fcn.00436d80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 4], eax
lea ecx, [ebp - 8]
call fcn.0040aac0
cmp dword [ebp - 4], 0
je 0x43c75f
mov eax, 1
jmp 0x43c761
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x43d3a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4ccf60]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], 0
mov dword [ebp - 4], 0
push 0x4be7a4
push 0x4be7b4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x43d3ee
jmp 0x43d40f
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 4]
test eax, eax
jne 0x43d407
jmp 0x43d40f
mov eax, dword [ebp - 0x214]
jmp 0x43d466
xor ecx, ecx
mov word [ebp - 0x210], cx
push 0x206
push 0
lea edx, [ebp - 0x20e]
push edx
call fcn.00499250
add esp, 0xc
push str.Microsoft.NETFramework64_v2.0.50727InstallUtil.exe
mov eax, dword [ebp - 0x218]
add eax, 0xc30
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43d464
mov eax, 1
jmp 0x43d466
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0049536b
mov esp, ebp
pop ebp
ret

Function at 0x43d770
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], 0
je 0x43d783
cmp dword [ebp + 0xc], 0
jne 0x43d78a
xor eax, eax
jmp 0x43d81d
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x3c
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 8], 1
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x14], 1
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x20], 1
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x28], 1
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x30], 1
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x38], 1
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x10], 0
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x1c], 0
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x24], 0
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x2c], 0
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x34], 0
mov ecx, dword [ebp + 0xc]
push ecx
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
mov esp, ebp
pop ebp
ret 8
Function at 0x43db20
Capabilities:
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x4ccf60]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x424], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x424]
call fcn.0043d750
test eax, eax
je 0x43db65
mov dword [ebp - 0x10], 1
mov dword [ebp - 0xc], 0
push 4
mov ecx, dword [ebp - 0x424]
call fcn.0043dc80
mov dword [ebp - 0x41c], 0
mov edx, dword [ebp - 0x424]
cmp dword [edx + 0x21c], 0
jne 0x43dc48
lea eax, [ebp - 0x420]
push eax
push 0x400
lea ecx, [ebp - 0x418]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43dc41
cmp dword [ebp - 0x420], 0
je 0x43dc41
cmp dword [ebp + 0xc], 0xffffffff
je 0x43dbed
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x420]
push ecx
lea edx, [ebp - 0x418]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x420]
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0x41c]
cdq
mov ecx, 0xa
idiv ecx
test edx, edx
jne 0x43dc20
push 5
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x424]
call fcn.0043dcc0
mov ecx, dword [ebp - 0x41c]
add ecx, 1
mov dword [ebp - 0x41c], ecx
cmp dword [ebp - 0x10], 0
je 0x43dc3f
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x14]
jb 0x43dc3f
jmp 0x43dc48
jmp 0x43dc43
jmp 0x43dc48
jmp 0x43db83
push 6
mov ecx, dword [ebp - 0x424]
call fcn.0043dc80
mov eax, dword [ebp - 0x424]
xor ecx, ecx
cmp dword [eax + 0x21c], 0
sete cl
mov eax, ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0049536b
mov esp, ebp
pop ebp
ret 8
Function at 0x43f280
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x4ccf60]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x43f2a5
mov eax, 1
jmp 0x43f4e4
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 8], 0
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 5
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp + 0xc]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00495360
add esp, 4
mov dword [ebp - 0x9c], eax
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 0x88]
push ecx
call fcn.00499250
add esp, 0xc
mov edx, dword [ebp - 0x88]
push edx
mov eax, dword [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x43f35c
mov dword [ebp - 0x84], 0
mov edx, dword [ebp + 0x10]
mov dword [edx], 1
jmp 0x43f4b0
mov dword [ebp - 0x14], 0
xor eax, eax
mov word [ebp - 0x80], ax
push 0x62
push 0
lea ecx, [ebp - 0x7e]
push ecx
call fcn.00499250
add esp, 0xc
mov dword [ebp - 0x10], 0
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x90]
push eax
push 0x4bdb74
mov ecx, dword [ebp - 0x88]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x43f3bd
mov dword [ebp - 0x84], 0
mov edx, dword [ebp + 0x10]
mov dword [edx], 2
jmp 0x43f4b0
mov dword [ebp - 0x94], 0
jmp 0x43f3d8
mov ecx, dword [ebp - 0x14]
shr ecx, 2
cmp dword [ebp - 0x94], ecx
jae 0x43f49d
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x90]
movzx ecx, word [eax + edx*4 + 2]
push ecx
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x90]
movzx ecx, word [eax + edx*4]
push ecx
push str.StringFileInfo_04x_04xFileDescription
push 0x32
lea edx, [ebp - 0x80]
push edx
call fcn.0043cb80
add esp, 0x14
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
jge 0x43f43d
mov dword [ebp - 0x84], 0
jmp 0x43f4b0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x80]
push edx
mov eax, dword [ebp - 0x88]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x43f470
mov dword [ebp - 0x84], 0
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 3
jmp 0x43f4b0
mov edx, dword [ebp - 0x10]
push edx
push 0x31
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.004393a0
mov dword [ebp - 0x84], 1
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
jmp 0x43f4b0
mov dword [ebp - 0x84], 0
mov eax, dword [ebp + 0x10]
mov dword [eax], 4
cmp dword [ebp - 0x88], 0
je 0x43f4de
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0xa0], ecx
mov edx, dword [ebp - 0xa0]
push edx
call fcn.0049640b
add esp, 4
mov dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0049536b
mov esp, ebp
pop ebp
ret
Function at 0x440220
Capabilities:
Delete file
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x12880
call fcn.004a9200
mov eax, dword [0x4ccf60]
xor eax, ebp
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
push eax
movzx ecx, word [ebp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x440368
mov edx, dword [ebp - 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x440368
mov eax, dword [ebp - 4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x10]
shl edx, 2
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.00495360
add esp, 4
mov dword [ebp - 0x1287c], eax
mov ecx, dword [ebp - 0x1287c]
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0x12878]
call fcn.0043f640
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
lea ecx, [ebp - 0x12878]
call fcn.0043fee0
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0
push 1
push 0
push 1
push 0xc0000000
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x44031d
mov dword [ebp - 0x12880], 0
lea ecx, [ebp - 0x12878]
call fcn.0041dda0
mov eax, dword [ebp - 0x12880]
jmp 0x44036d
push 0
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea ecx, [ebp - 0x12878]
call fcn.0041dda0
mov eax, 1
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.0049536b
mov esp, ebp
pop ebp
ret
Function at 0x440ca0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
lea ebp, [esp - 0xc8]
sub esp, 0xc8
push 0xffffffffffffffff
push 0x4ae1cb
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4ccf60]
xor eax, ebp
mov dword [ebp + 0xc4], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor esi, esi
mov dword [0x4d90d0], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.1830B7BD_F7A3_4c4d_989B_C004DE465EDE
push str._s__u
lea eax, [ebp]
push 0x40
push eax
call fcn.00497e4d
add esp, 0x14
lea edx, [ebp]
push edx
push 1
xor ecx, ecx
push esi
mov word [ebp + 0x80], cx
xor edi, edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, eax
mov dword [ebp - 0x18], ebx
cmp ebx, esi
je 0x440e8d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x440d3e
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x3e
lea ecx, [ebp + 0x86]
xor eax, eax
push esi
mov dword [ebp - 4], esi
push ecx
mov word [ebp + 0x84], ax
call fcn.00499250
add esp, 0xc
push 0x1f
lea edx, [ebp + 0x84]
push edx
call fcn.00440990
mov dword [ebp - 0x14], esi
cmp eax, esi
je 0x440da5
lea edx, [ebp - 0x14]
xor ecx, ecx
push edx
mov word [ebp + eax*2 + 0x84], cx
lea eax, [ebp + 0x84]
push 0x4c3350
push eax
call fcn.00496c3f
add esp, 0xc
cmp eax, 1
jne 0x440da5
mov eax, dword [ebp - 0x14]
mov dword [0x4d90d0], eax
jmp 0x440e75
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test eax, eax
je 0x440dbf
push 0x5c0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x440dd3
push ebx
push esi
call fcn.00440ec0
jmp 0x440dd5
xor eax, eax
mov byte [ebp - 4], 0
mov dword [0x4d90d0], eax
test eax, eax
jne 0x440df7
push 0x4c691c
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x20], 1
call fcn.00498a5f
push eax
lea edx, [ebp + 0x84]
push 0x4c3350
push edx
mov edi, 1
call fcn.004954b9
add esp, 0xc
lea esi, [ebp + 0x84]
call fcn.00440ad0
test eax, eax
jne 0x440e6e
push 0x4c691c
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 3
call fcn.00498a5f
call fcn.00440b70
mov edi, dword [ebp - 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov esi, dword [0x4d90d0]
test esi, esi
je 0x440e5f
call fcn.00440fa0
mov dword [0x4d90d0], 0
jmp 0x440e66
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x440e6c
ret
mov eax, dword [0x4d90d0]
xor esi, esi
inc dword [eax + 0x5bc]
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp edi, esi
jne 0x440e8d
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x4d90d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xc4]
xor ecx, ebp
call fcn.0049536b
add ebp, 0xc8
mov esp, ebp
pop ebp
ret
Function at 0x440ec0
Capabilities:
Allocate thread local storage

Disassembly:
push 0xffffffffffffffff
push 0x4ae19b
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4ccf60]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
lea esi, [edi + 8]
push 0x5a0
lea eax, [esi + 8]
push 0
mov dword [edi], 0
mov dword [edi + 4], 0xffffffff
push eax
mov dword [esi], 0
call fcn.00499250
add esp, 0xc
mov dword [esi + 0x5ac], esi
mov dword [esi + 0x5a8], esi
mov dword [esi + 0x5b0], esi
mov dword [esp + 0x14], 0
mov dword [edi + 0x5bc], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
jne 0x440f58
push 0x4c691c
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 2
call fcn.00498a5f
mov ecx, dword [esp + 0x20]
mov dword [edi], ecx
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 8

Function at 0x444920
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push 0
push eax
push edx
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
pop ebp
ret

Function at 0x444940
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push 0
push eax
push edx
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
ret
Function at 0x469a50
Capabilities:
Enumerate pe sections

Disassembly:
push edi
push esi
push ebx
sub esp, 0x10
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
xor ecx, ecx
mov dword [esp + 8], ecx
mov dword [esp + 4], esi
mov dword [esp + 0xc], ebx
nop
lea esi, [esi]
mov cl, byte [edx]
mov esi, dword [esp + 4]
mov edi, dword [esp + 0xc]
mov byte [esi], cl
mov bl, byte [eax]
mov byte [esi + 1], bl
mov cl, byte [edi]
mov byte [esi + 2], cl
mov cl, byte [edx + 2]
mov byte [esi + 3], cl
mov cl, byte [eax]
mov byte [esi + 4], cl
mov ecx, edi
mov cl, byte [ecx]
mov byte [esi + 5], cl
mov cl, byte [edx + 4]
mov byte [esi + 6], cl
mov cl, byte [eax + 2]
mov byte [esi + 7], cl
mov ecx, edi
mov cl, byte [ecx + 2]
mov byte [esi + 8], cl
mov cl, byte [edx + 6]
mov byte [esi + 9], cl
mov cl, byte [eax + 2]
mov byte [esi + 0xa], cl
mov ecx, edi
mov cl, byte [ecx + 2]
mov byte [esi + 0xb], cl
mov cl, byte [edx + 8]
mov byte [esi + 0xc], cl
mov cl, byte [eax + 4]
mov byte [esi + 0xd], cl
mov ecx, edi
mov cl, byte [ecx + 4]
mov byte [esi + 0xe], cl
mov cl, byte [edx + 0xa]
mov byte [esi + 0xf], cl
mov cl, byte [eax + 4]
mov byte [esi + 0x10], cl
mov ecx, edi
mov cl, byte [ecx + 4]
mov byte [esi + 0x11], cl
mov cl, byte [edx + 0xc]
mov byte [esi + 0x12], cl
mov cl, byte [eax + 6]
mov byte [esi + 0x13], cl
mov ecx, edi
mov cl, byte [ecx + 6]
mov byte [esi + 0x14], cl
mov cl, byte [edx + 0xe]
mov byte [esi + 0x15], cl
mov cl, byte [eax + 6]
mov byte [esi + 0x16], cl
mov ecx, edi
mov cl, byte [ecx + 6]
mov byte [esi + 0x17], cl
mov cl, byte [edx + 0x10]
add esi, dword [esp + 0x30]
mov byte [esi], cl
mov cl, byte [eax]
mov byte [esi + 1], cl
mov ecx, edi
mov cl, byte [ecx]
mov byte [esi + 2], cl
mov cl, byte [edx + 0x12]
mov byte [esi + 3], cl
mov cl, byte [eax]
mov byte [esi + 4], cl
mov ecx, edi
mov cl, byte [ecx]
mov byte [esi + 5], cl
mov cl, byte [edx + 0x14]
mov byte [esi + 6], cl
mov cl, byte [eax + 2]
mov byte [esi + 7], cl
mov ecx, edi
mov cl, byte [ecx + 2]
mov byte [esi + 8], cl
mov cl, byte [edx + 0x16]
mov byte [esi + 9], cl
mov cl, byte [eax + 2]
mov byte [esi + 0xa], cl
mov ecx, edi
mov cl, byte [ecx + 2]
mov byte [esi + 0xb], cl
mov cl, byte [edx + 0x18]
mov byte [esi + 0xc], cl
mov cl, byte [eax + 4]
mov byte [esi + 0xd], cl
mov ecx, edi
mov cl, byte [ecx + 4]
mov byte [esi + 0xe], cl
mov cl, byte [edx + 0x1a]
mov byte [esi + 0xf], cl
mov cl, byte [eax + 4]
mov byte [esi + 0x10], cl
mov ecx, edi
mov cl, byte [ecx + 4]
mov byte [esi + 0x11], cl
mov cl, byte [edx + 0x1c]
mov byte [esi + 0x12], cl
mov cl, byte [eax + 6]
mov byte [esi + 0x13], cl
mov ecx, edi
mov cl, byte [ecx + 6]
mov byte [esi + 0x14], cl
mov cl, byte [edx + 0x1e]
add edx, 0x20
mov byte [esi + 0x15], cl
mov cl, byte [eax + 6]
add eax, 0x10
mov byte [esi + 0x16], cl
mov ecx, edi
mov cl, byte [ecx + 6]
mov byte [esi + 0x17], cl
mov ecx, dword [esp + 8]
inc ecx
add dword [esp + 0xc], 0x10
add esi, dword [esp + 0x30]
mov dword [esp + 4], esi
cmp ecx, 4
mov dword [esp + 8], ecx
jl 0x469a80
add esp, 0x10
pop ebx
pop esi
pop edi
ret
Function at 0x4864f7
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4d5de4], 0
push esi
jne 0x48646a
call fcn.00486390
test eax, eax
je 0x4864ad
mov eax, dword [0x4d5de4]
cmp eax, 1
jne 0x48648b
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4864ad
pop esi
ret
push eax
call dword [0x4d5dec]
test eax, eax
jne 0x4864f5
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x4864b1
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4d5de4]
call dword [0x4d5dec]
mov edi, eax
test edi, edi
je 0x4864d6
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x4864f2
mov edi, esi
add esi, 0xff0
push edi
push dword [0x4d5de4]
call dword [0x4d5de8]
add edi, 0x10
cmp edi, esi
jb 0x4864de
mov eax, edi
pop edi
pop esi
ret
jmp 0x486457