joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4240b0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Resolve dns

Disassembly:
sub esp, 0x14
mov eax, dword [0x49e128]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x24]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x4240e5
or eax, 0xffffffff
pop edi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.00460e4b
add esp, 0x14
ret
mov word [esp + 4], 2
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
push esi
push ecx
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00462e30
mov edx, dword [esp + 0x30]
add esp, 0xc
push edx
call dword [sym.imp.WS2_32.dll_htons]
push 6
push 1
push 2
mov word [esp + 0x16], ax
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x42413b
pop esi
or eax, eax
pop edi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.00460e4b
add esp, 0x14
ret
push 0x30
push edi
push esi
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
push 0x10
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x42415d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
pop edi
xor ecx, esp
call fcn.00460e4b
add esp, 0x14
ret
Function at 0x428fd0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x481745
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x49e128]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x18], 6
mov eax, dword [esi + 0x4c]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x49c020]
je 0x42902e
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x42902e
mov eax, dword [esi + 0x4c]
sub eax, 0xc
push eax
call fcn.00460edd
add esp, 4
mov byte [esp + 0x18], 5
mov eax, dword [esi + 0x48]
lea edx, [eax - 0xc]
cmp edx, dword [0x49c020]
je 0x42905a
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x42905a
mov eax, dword [esi + 0x48]
sub eax, 0xc
push eax
call fcn.00460edd
add esp, 4
mov byte [esp + 0x18], 4
mov eax, dword [esi + 0x44]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x49c020]
je 0x429086
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x429086
mov eax, dword [esi + 0x44]
sub eax, 0xc
push eax
call fcn.00460edd
add esp, 4
mov byte [esp + 0x18], 3
lea ecx, [esi + 0x30]
call fcn.00428990
mov byte [esp + 0x18], 2
lea ecx, [esi + 0x24]
call fcn.00428f60
mov byte [esp + 0x18], 1
lea ecx, [esi + 0x18]
call fcn.00428f60
mov byte [esp + 0x18], 0
lea ecx, [esi + 0xc]
call fcn.00428f60
mov dword [esp + 0x18], 0xffffffff
mov ecx, esi
call fcn.00428f60
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x42b250
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x49e128]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
push 0
push eax
call fcn.004611e0
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x42b2ba
mov eax, dword [esp + 4]
cmp eax, 5
jae 0x42b2a3
cmp eax, 4
jne 0x42b2ba
cmp dword [esp + 8], 0x5a
jb 0x42b2ba
xor eax, eax
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.00460e4b
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor ecx, esp
mov eax, 1
call fcn.00460e4b
add esp, 0x118
ret

Function at 0x42b9f0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x42ba16
mov ecx, dword [esp + 0x14]
push ecx
push eax
push eax
push eax
mov ecx, esi
call fcn.0042b990
xor eax, eax
pop esi
ret 0x10
mov edx, dword [esi + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 0x10

Function at 0x42ba30
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x42ba56
mov ecx, dword [esp + 0xc]
push ecx
push eax
push eax
push eax
mov ecx, esi
call fcn.0042b990
xor eax, eax
pop esi
ret 8
mov edx, dword [esi + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 8
Function at 0x42d2e0
Capabilities:
Hash data with md5

Disassembly:
mov eax, ecx
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x58], ecx
mov byte [eax + 0x5c], cl
ret

Function at 0x42d310
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0xc
mov eax, dword [0x49e128]
xor eax, esp
mov dword [esp + 8], eax
push esi
mov esi, ecx
cmp byte [esi + 0x5c], 0
jne 0x42d47e
mov ecx, dword [esi + 0x58]
lea eax, [ecx*8]
add dword [esi + 0x10], eax
mov eax, dword [esi + 0x10]
add ecx, ecx
push ebx
add ecx, ecx
add ecx, ecx
cmp eax, ecx
push ebp
push edi
mov ebx, 1
jae 0x42d350
add dword [esi + 0x14], ebx
movzx ecx, byte [esi + 0x11]
movzx edx, al
mov byte [esp + 0x11], cl
movzx ecx, byte [esi + 0x13]
mov byte [esp + 0x10], dl
movzx edx, byte [esi + 0x12]
mov byte [esp + 0x13], cl
movzx ecx, byte [esi + 0x15]
mov byte [esp + 0x12], dl
movzx edx, byte [esi + 0x14]
mov byte [esp + 0x15], cl
movzx ecx, byte [esi + 0x17]
shr eax, 3
mov byte [esp + 0x14], dl
movzx edx, byte [esi + 0x16]
and eax, 0x3f
cmp eax, 0x38
mov byte [esp + 0x17], cl
mov byte [esp + 0x16], dl
mov ecx, 0x38
jb 0x42d3a4
mov ecx, 0x78
sub ecx, eax
test ecx, ecx
je 0x42d3b7
push ecx
push 0x49d4b8
mov ecx, esi
call fcn.0042d2a0
mov ebp, 8
lea edi, [esp + 0x10]
mov al, byte [edi]
mov edx, dword [esi + 0x58]
mov byte [esi + edx + 0x18], al
add dword [esi + 0x58], ebx
mov eax, dword [esi + 0x58]
sub ebp, ebx
add edi, ebx
cmp eax, 0x40
jb 0x42d3df
mov ecx, esi
call fcn.0042cb30
test ebp, ebp
jne 0x42d3c0
movzx ecx, byte [esi]
movzx eax, byte [esi + 2]
movzx edx, byte [esi + 1]
mov byte [esi + 0x5d], cl
movzx ecx, byte [esi + 3]
mov byte [esi + 0x5f], al
movzx eax, byte [esi + 5]
mov byte [esi + 0x5e], dl
movzx edx, byte [esi + 4]
mov byte [esi + 0x60], cl
movzx ecx, byte [esi + 6]
mov byte [esi + 0x62], al
movzx eax, byte [esi + 8]
mov byte [esi + 0x61], dl
movzx edx, byte [esi + 7]
mov byte [esi + 0x63], cl
movzx ecx, byte [esi + 9]
mov byte [esi + 0x65], al
movzx eax, byte [esi + 0xb]
mov byte [esi + 0x64], dl
movzx edx, byte [esi + 0xa]
mov byte [esi + 0x66], cl
movzx ecx, byte [esi + 0xc]
mov byte [esi + 0x68], al
movzx eax, byte [esi + 0xe]
mov byte [esi + 0x67], dl
movzx edx, byte [esi + 0xd]
mov byte [esi + 0x69], cl
movzx ecx, byte [esi + 0xf]
mov byte [esi + 0x6b], al
mov byte [esi + 0x6a], dl
mov byte [esi + 0x6c], cl
pop edi
xor eax, eax
pop ebp
mov byte [esi + 0x5c], bl
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x58], eax
pop ebx
mov ecx, dword [esp + 0xc]
pop esi
xor ecx, esp
call fcn.00460e4b
add esp, 0xc
ret

Function at 0x42e020
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8
Function at 0x42e040
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
push edi
mov edi, ecx
jne 0x42e056
push 0x80004005
call fcn.00401010
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [edi]
push esi
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
ret 0xc

Function at 0x42e080
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
mov dword [esp + 4], ecx
jne 0x42e098
push 0x80004005
call fcn.00401010
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
add eax, 1
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x42e0a5
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8

Function at 0x42f180
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4820c8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x49e128]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
call fcn.0042de10
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x430520
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x482300
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x49e128]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov edi, dword [ebp + 0x410]
mov ebx, dword [ebp + 0x414]
mov eax, dword [ebp + 0x418]
mov dword [ebp - 0x14], eax
call dword [0x49ded0]
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], eax
mov dword [ebp], eax
mov byte [ebp - 4], 1
push 2
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
jne 0x4305ad
call fcn.0042df00
mov esi, eax
jmp 0x4306a0
mov ecx, dword [ebp - 0x14]
push ecx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x4305c9
call fcn.0042df00
jmp 0x430697
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4305e2
call fcn.0042df00
jmp 0x430697
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x14], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x430623
mov byte [ebp - 4], 0
lea edx, [ebp + 4]
cmp dword [ebp], edx
je 0x43060a
lea ecx, [ebp]
call fcn.0042e6d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0042e660
mov eax, 0x8007000e
jmp 0x4306bd
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp]
call fcn.0042eda0
mov dword [ebp - 4], 1
jmp 0x43064c
mov ebx, dword [ebp]
test ebx, ebx
jne 0x43065a
mov esi, 0x8007000e
jmp 0x430699
call dword [0x49ded0]
push esi
push ebx
push esi
mov ecx, dword [ebp - 0x20]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x43067b
call fcn.0042df00
jmp 0x430697
mov edx, dword [ebp]
mov word [edx + eax*2], 0
mov eax, dword [ebp + 0x41c]
push eax
mov ecx, dword [ebp]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00430260
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
lea edx, [ebp + 4]
cmp dword [ebp], edx
je 0x4306b4
lea ecx, [ebp]
call fcn.0042e6d0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.00460e4b
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0x10
Function at 0x431480
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4824fc
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x49e128]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.0042de10
mov eax, 1
mov dword [esp + 0x18], eax
mov byte [esi + 0x24], al
mov dword [esi + 0x28], 0xffffffff
xor edi, edi
mov dword [esi], vtable.CDlView.0
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov byte [esp + 0x18], 2
mov dword [esi + 0x34], edi
mov byte [esp + 0x18], 3
lea ecx, [esi + 0x40]
call fcn.00431410
mov byte [esp + 0x18], 4
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x433130
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x482688
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49e128]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [esp + 0x68]
mov eax, dword [esi + 4]
mov edi, dword [eax]
mov ecx, dword [eax + 0x18]
mov ebp, dword [sym.imp.USER32.dll_MapWindowPoints]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 0x24]
push 1
lea eax, [esp + 0x18]
push eax
push 0
push edi
mov dword [esp + 0x28], edx
call ebp
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x18]
add eax, 0x18
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 0xc]
push 2
lea eax, [esp + 0x20]
push eax
push 0
push edi
mov dword [esp + 0x38], edx
call ebp
call fcn.0042b250
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
neg al
push 0
push 0
push 0x52d
mov dword [esp + 0x38], 0x14
sbb eax, eax
and eax, 0xfffff000
add eax, 0x1000
or eax, 0x40
mov ebp, eax
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x40], edx
mov edx, dword [ebx + 4]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x34]
push edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x433261
mov ecx, dword [esp + 0x14]
mov eax, dword [esi]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x40]
push ecx
push 0
mov dword [esp + 0x4c], eax
push 0x52f
lea eax, [esp + 0x38]
push edi
mov dword [esp + 0x50], 0x18
mov dword [esp + 0x58], ebp
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x43329e
mov esi, dword [esi]
mov dword [esp + 0x68], esi
mov dword [esp + 0x60], 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ebx, dword [ebx + 4]
push eax
push edx
mov edi, eax
call fcn.004326f0
add esp, 8
lea ecx, [esp + 0x2c]
push ecx
push ebx
push edi
push eax
push ebp
push esi
call dword [sym.imp.USER32.dll_TrackPopupMenuEx]
mov dword [esp + 0x60], 0xffffffff
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 4

Function at 0x433d60
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
push edi
mov dword [eax + 0x154], ecx
mov dword [eax + 0x15c], ecx
mov dword [eax + 0x158], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
lea edi, [eax + 0x14]
mov ecx, 0x50
xor eax, eax
rep stosd dword es:[edi], eax
pop edi
ret
Function at 0x434280
Capabilities:
Hash data using sha1

Disassembly:
sub esp, 0x10
mov eax, dword [0x49e128]
xor eax, esp
mov dword [esp + 0xc], eax
push ebx
push esi
mov esi, dword [esp + 0x1c]
movzx edx, byte [esi + 0x159]
movzx eax, byte [esi + 0x15b]
movzx ecx, byte [esi + 0x15a]
mov byte [esp + 0xe], dl
movzx edx, byte [esi + 0x15e]
mov byte [esp + 0xc], al
movzx eax, byte [esi + 0x158]
mov byte [esp + 0xd], cl
movzx ecx, byte [esi + 0x15f]
push edi
mov edi, dword [esp + 0x24]
mov byte [esp + 0x15], dl
mov byte [esp + 0x13], al
movzx eax, byte [esi + 0x15d]
mov byte [esp + 0x14], cl
movzx ecx, byte [esi + 0x15c]
push 1
lea edx, [esp + 0x13]
push edx
xor ebx, ebx
push esi
mov byte [esp + 0x1b], 0x80
mov byte [esp + 0x1a], bl
mov byte [esp + 0x22], al
mov byte [esp + 0x23], cl
call fcn.004341d0
add esp, 0xc
cmp dword [esi + 0x154], 0x38
je 0x43432e
push 1
lea eax, [esp + 0x12]
push eax
push esi
call fcn.004341d0
add esp, 0xc
cmp dword [esi + 0x154], 0x38
jne 0x434315
push 8
lea ecx, [esp + 0x14]
push ecx
push esi
call fcn.004341d0
add esp, 0xc
xor eax, eax
mov edx, eax
shr edx, 2
lea ecx, [esi + edx*4]
mov dl, byte [ecx + 3]
mov byte [edi + eax], dl
shl dword [ecx], 8
add eax, 1
cmp eax, 0x14
jl 0x434340
mov dword [esi + 0x154], ebx
mov dword [esi + 0x15c], ebx
mov dword [esi + 0x158], ebx
lea edi, [esi + 0x14]
xor eax, eax
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
mov ecx, 0x50
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00460e4b
add esp, 0x10
ret
Function at 0x438550
Capabilities:
Create directory

Disassembly:
sub esp, 0x414
mov eax, dword [0x49e128]
xor eax, esp
mov dword [esp + 0x410], eax
push esi
mov esi, dword [esp + 0x41c]
push esi
call fcn.00438480
add esp, 4
test al, al
je 0x438591
mov al, 1
pop esi
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.00460e4b
add esp, 0x414
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push esi
call ebx
test eax, eax
je 0x4385ba
pop ebx
mov al, 1
pop esi
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.00460e4b
add esp, 0x414
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
jne 0x43867a
push edi
push esi
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp word [esp + 0xc], 0
lea esi, [esp + 0xc]
je 0x438628
mov edi, dword [sym.imp.USER32.dll_CharNextW]
cmp word [esi], 0x5c
jne 0x43861d
cmp word [esi + 2], 0x5c
je 0x43861d
lea ecx, [esp + 0xc]
push ecx
mov word [esi], 0
call fcn.00438480
add esp, 4
test al, al
jne 0x438618
push 0
lea edx, [esp + 0x10]
push edx
call ebx
test eax, eax
je 0x438646
mov word [esi], 0x5c
push esi
call edi
mov esi, eax
cmp word [esi], 0
jne 0x4385e8
lea eax, [esp + 0xc]
push eax
call fcn.00438480
add esp, 4
test al, al
jne 0x438660
push 0
lea ecx, [esp + 0x10]
push ecx
call ebx
test eax, eax
jne 0x438660
pop edi
pop ebx
xor al, al
pop esi
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.00460e4b
add esp, 0x414
ret
pop edi
pop ebx
mov al, 1
pop esi
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.00460e4b
add esp, 0x414
ret
mov ecx, dword [esp + 0x418]
pop ebx
pop esi
xor ecx, esp
xor al, al
call fcn.00460e4b
add esp, 0x414
ret

Function at 0x438a40
Capabilities:
Get file size

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 3
push bind
push eax
xor edi, edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x438a85
lea ecx, [esp + 0xc]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0xc]
push esi
mov edi, eax
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
mov edx, ebx
pop ebx
pop ecx
ret

Function at 0x438a90
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push 0x40
lea eax, [esp + 0x18]
push 0
push eax
call fcn.004611e0
mov ecx, dword [esp + 0x68]
add esp, 0xc
lea edx, [esp]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 0
neg ecx
push 0
sbb ecx, ecx
and ecx, 0xa
push 0
mov word [esp + 0x5c], cx
mov ecx, dword [esp + 0x74]
push 0
push ecx
push 0
mov dword [esp + 0x38], 0x44
mov dword [esp + 0x64], 0x81
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x438b06
mov edx, dword [esp + 4]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 4]
push eax
call esi
mov al, 1
pop esi
add esp, 0x54
ret
xor al, al
add esp, 0x54
ret
Function at 0x438b10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482f50
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x49e128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
xor esi, esi
cmp edi, esi
je 0x438c00
cmp word [edi], si
je 0x438c00
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x50], esi
push 0x38
push esi
lea eax, [ebp - 0x4c]
push eax
call fcn.004611e0
add esp, 0xc
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x4c], 0x440
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], str.open
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], 0xa
mov dword [ebp - 0x30], esi
lea ecx, [ebp - 0x50]
push ecx
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteExW]
call edi
mov dword [ebp - 0x14], eax
cmp eax, esi
jne 0x438bc5
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x44], esi
lea edx, [ebp - 0x50]
push edx
call edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
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 0x438c90
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push edi
mov edi, dword [esp + 8]
test edi, edi
je 0x438cab
cmp word [edi], 0
je 0x438cab
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x438caf
xor al, al
pop edi
ret
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x438cdb
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
xor al, al
pop edi
ret
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
mov al, 1
pop edi
ret

Function at 0x438d10
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret
Function at 0x43a520
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x483192
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x49e128]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push esi
push edi
mov eax, dword [0x49e128]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
mov edi, dword [esp + 0x234]
mov dword [esp + 0x10], 0
push str.shell32.dll
mov dword [esp + 0x18], edi
mov word [esp + 0x1c], 0
xor bl, bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x43a5b7
push str.SHGetFolderPathW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43a5ac
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push 0x1a
push 0
call eax
test eax, eax
jl 0x43a5ac
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test bl, bl
jne 0x43a5db
push 0x104
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x43a5db
push str.Application_Data
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call fcn.0040d2a0
mov dword [esp + 0x22c], 0
mov dword [esp + 0x10], 1
mov eax, edi
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00460e4b
add esp, 0x220
ret