joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c6b5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x45c7cd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45c7cd
mov eax, dword [esi + 0x3c]
push eax
call fcn.00485471
mov esi, eax
test esi, esi
je 0x45c7cd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x45c7cd
mov ecx, esi
call fcn.0045c620
cmp edi, eax
jge 0x45c7cd
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x45c753
mov dword [esp + 0x34], 1
jmp 0x45c7ae
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x45c7cd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0045bbd0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x4634a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x463506
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x463506
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x4634e7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x463c90
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x463cc8
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x4648d0
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.00464a20
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x4648f0
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x4648d1
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.00464a20
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x4648f0
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x464920
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
xor eax, eax
push esi
push edi
mov dword [esp + 8], eax
mov edi, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
push ecx
mov dword [esp + 0x18], eax
mov word [esp + 0xc], 2
call sub.WS2_32.dll_htons
mov esi, dword [esp + 0x1c]
mov word [esp + 0xa], ax
push esi
call sub.WS2_32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x464977
push esi
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x46498d
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
lea edx, [esp + 8]
push 0x10
push edx
mov ecx, edi
call fcn.004649b0
pop edi
pop esi
add esp, 0x10
ret 8
push 0x2726
call sub.WS2_32.dll_WSASetLastError
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 8

Function at 0x4649b0
Capabilities:
Connect socket

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
mov eax, dword [ecx]
push edx
push eax
call sub.WS2_32.dll_connect
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 8

Function at 0x464a40
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x464a89
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4
Function at 0x464f00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4949d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00464ab0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00464b30
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00464b30
lea ecx, [esi + 0xc]
call fcn.004839b0
lea ecx, [esi + 0x10]
call fcn.004839b0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00467360
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00467360
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00467360
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00483a25
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00483a25
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x465ba8
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x494bf8
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x465bb8
call fcn.004660d0
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x465c9b
cmp byte [edi], 0
je 0x465c9b
mov eax, dword [esp + 0x8c]
test eax, eax
jg 0x465bdd
mov eax, 0x7d0
mov ecx, esi
mov dword [esi + 8], eax
call fcn.004648d0
test eax, eax
jne 0x465bfd
push 0x4e37c4
lea ecx, [esi + 0x38]
call fcn.00483bae
jmp 0x465c9b
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
push edi
call fcn.00464920
test eax, eax
jne 0x465c2c
mov ecx, esi
call fcn.00464a20
push edi
add esi, 0x38
push 0x4e37a0
push esi
call fcn.00481115
add esp, 0xc
jmp 0x465c9b
push 0xdc
mov ecx, esi
mov dword [esi + 4], 1
call fcn.00466950
test eax, eax
je 0x465c94
lea ecx, [esp + 8]
push 0x64
push ecx
call sub.WS2_32.dll_gethostname
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], 1
push edx
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.00465d70
test eax, eax
jne 0x465cb0
push edi
lea eax, [esi + 0x38]
push 0x4e377c
push eax
call fcn.00481115
add esp, 0xc
mov ecx, esi
call fcn.004660d0
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x465d58
mov ecx, dword [0x4e44b0]
mov dword [esp + 0x7c], ecx
lea edx, [esp + 8]
lea eax, [esp + 0x7c]
push edx
push str.HELO__s_r_n
push eax
mov dword [esp + 0x80], 0
call fcn.00481115
mov edx, dword [esp + 0x88]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.004649d0
test eax, eax
jne 0x465d1a
push 0x4e3760
lea ecx, [esi + 0x38]
call fcn.00483bae
jmp 0x465d2a
push 0xfa
mov ecx, esi
call fcn.00466950
test eax, eax
jne 0x465d47
mov ecx, esi
call fcn.004660d0
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.00483a25
jmp 0x465c9b
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.00483a25
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
Function at 0x485e15
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x485e4d
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00483ecc
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00483ea4
jmp 0x485e59
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x48750c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x48754e
call fcn.0048d4ad
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x48754e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x487545
xor eax, eax
jmp 0x487556
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048755c
pop edi
pop esi
pop ebx
ret 4

Function at 0x48d9dd
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x48da0b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48da29
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048d943
jmp 0x48da29
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48da29
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0048d943
test edi, edi
mov eax, edi
jne 0x48da13
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
jmp 0x416f86
push 0x14
push 0x4547a8
call fcn.00416fa0
push 1
call fcn.00416b71
pop ecx
test al, al
jne 0x416e3d
push 7
call fcn.0041727e
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.00416b3c
mov byte [ebp - 0x24], al
mov eax, dword [0x45babc]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x416e36
test eax, eax
jne 0x416ea7
mov dword [0x45babc], ecx
push 0x44a384
push 0x44a36c
call fcn.0041ba81
pop ecx
pop ecx
test eax, eax
je 0x416e8a
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x416f80
push 0x44a368
push 0x44a314
call fcn.0041ba25
pop ecx
pop ecx
mov dword [0x45babc], 2
jmp 0x416eac
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.00416ccb
pop ecx
call fcn.00417528
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x416edc
push esi
call fcn.00416c41
pop ecx
test al, al
je 0x416edc
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.00416f95
call esi
call fcn.0041752e
mov esi, eax
cmp dword [esi], edi
je 0x416efa
push esi
call fcn.00416c41
pop ecx
test al, al
je 0x416efa
push dword [esi]
call fcn.0041aee4
pop ecx
call fcn.00417399
movzx eax, ax
push eax
call fcn.0041b9d2
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.0041adf3
test al, al
jne 0x416f25
push esi
call fcn.0041af1c
test bl, bl
jne 0x416f2e
call fcn.0041aebf
push edi
push 1
call fcn.00416ce8
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x416f80
call fcn.00416fe6
ret
call fcn.00417424
jmp 0x416e1e

Function at 0x40540d
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447263
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x45a008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi + 0xcc]
call fcn.00416729
push dword [esi + 0xc0]
call fcn.00416729
push dword [esi + 0x9c]
call fcn.00416729
push dword [esi + 0x90]
call fcn.00416729
push dword [esi + 0x30]
call fcn.00416729
push dword [esi + 0x24]
call fcn.00416729
push dword [esi + 0x18]
call fcn.00416729
add esp, 0x1c
and dword [ebp - 4], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x40548a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 1
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x40549e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 2
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4054b2
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 3
mov ecx, dword [esi]
test ecx, ecx
je 0x4054c5
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x405c98
Capabilities:
Hide graphical window

Disassembly:
push dword [esp + 4]
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
neg eax
sbb eax, eax
neg eax
ret 4
Function at 0x406933
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x210
mov eax, dword [0x45a008]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push ebp
push esi
push edi
push 0x208
xor ebp, ebp
lea eax, [esp + 0x18]
push ebp
push eax
mov edi, edx
mov ebx, ecx
call fcn.00419160
add esp, 0xc
lea eax, [esp + 0x14]
push 0x104
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ebp
push 0x80
push 3
push ebp
push 1
push SysReAllocStringLen
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4069c5
mov edx, edi
mov ecx, esi
call fcn.00446295
push dword [edi]
mov dword [esp + 0x14], ebp
call fcn.00416831
pop ecx
push ebp
lea ecx, [esp + 0x14]
mov dword [ebx], eax
push ecx
push dword [edi]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00416718
add esp, 0x210
ret
Function at 0x425931
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, ecx
shr edi, 2
xor ebp, ebp
mov eax, edi
xor ebx, ebx
shr eax, 1
inc ebp
add eax, 3
mov ecx, ebx
mov dword [esi], eax
add esi, 0x10
test edi, edi
je 0x425962
mov eax, dword [edx]
lea edx, [edx + 4]
mov dword [esi + ecx*4], eax
inc ecx
cmp ecx, edi
jb 0x425955
mov edx, dword [esi + edi*4 - 4]
imul eax, edi, 0xc
add eax, 0x70
add eax, esi
mov dword [esp + 0x14], eax
test ebx, ebx
jne 0x4259cb
movzx eax, dl
mov ebx, edi
push 0x1b
movzx ecx, byte [eax + str.cw]
mov eax, edx
shr eax, 0x18
shl ecx, 8
movzx eax, byte [eax + str.cw]
or ecx, eax
mov eax, edx
shr eax, 0x10
movzx eax, al
shr edx, 8
shl ecx, 8
movzx eax, byte [eax + str.cw]
or ecx, eax
movzx eax, dl
shl ecx, 8
movzx edx, byte [eax + str.cw]
xor edx, ebp
add ebp, ebp
or edx, ecx
test ebp, 0x100
pop eax
cmovne ebp, eax
jmp 0x425a18
cmp ebx, 4
jne 0x425a1c
cmp edi, 6
jbe 0x425a1c
mov eax, edx
shr eax, 0x10
movzx eax, al
movzx ecx, byte [eax + str.cw]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax + str.cw]
shl eax, 8
or ecx, eax
mov eax, edx
shr eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + str.cw]
or ecx, eax
movzx eax, dl
shl ecx, 8
movzx edx, byte [eax + str.cw]
or edx, ecx
mov eax, dword [esp + 0x14]
xor edx, dword [esi]
dec ebx
mov dword [esi + edi*4], edx
add esi, 4
cmp esi, eax
jne 0x425972
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x426828
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jae 0x42683c
xor eax, eax
jmp 0x426859
call fcn.004268d1
push 7
pop edx
cmp eax, edx
jb 0x426838
lea ecx, [ebp - 0x10]
call fcn.004268b9
mov eax, dword [ebp - 0xc]
shr eax, 0x1d
and eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x426869
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jae 0x42687d
xor eax, eax
jmp 0x42688c
lea ecx, [ebp - 0x10]
call fcn.0042689c
neg eax
sbb eax, eax
and eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x426967
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
mov eax, dword [0x45a008]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp ax, 6
je 0x4269b0
push str.SetDefaultDllDirectories
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4269b0
push 0xc00
call eax
test eax, eax
jne 0x426a4b
push 0x106
lea eax, [ebp - 0x2d4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x426a4b
cmp eax, 0x104
ja 0x426a4b
push 0x5c
pop ecx
cmp word [ebp + eax*2 - 0x2d6], cx
je 0x4269e7
mov word [ebp + eax*2 - 0x2d4], cx
inc eax
cmp byte [str.userenv], 0
push esi
mov esi, str.userenv
je 0x426a4a
push ebx
push edi
lea edi, [ebp - 0x2d4]
push 0x6c
lea edi, [edi + eax*2]
pop ebx
mov ecx, edi
jmp 0x426a11
movzx eax, al
mov word [ecx], ax
add ecx, 2
mov al, byte [esi]
inc esi
test al, al
jne 0x426a08
push 0x2e
pop eax
push 0x64
mov word [ecx], ax
pop eax
mov word [ecx + 2], ax
xor eax, eax
push 8
push eax
mov word [ecx + 8], ax
lea eax, [ebp - 0x2d4]
push eax
mov word [ecx + 4], bx
mov word [ecx + 6], bx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
cmp byte [esi], 0
jne 0x426a04
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00416718
mov esp, ebp
pop ebp
ret
Function at 0x42aa33
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push ebp
xor ebp, ebp
xor eax, eax
push esi
mov esi, ecx
inc eax
push edi
push 0x20
pop ebx
or dword [esi + 0x90], 0xffffffff
or dword [esi + 0x94], 0xffffffff
mov dword [esi + 0x30], eax
mov dword [esi + 0x44], eax
mov eax, dword [esi + 4]
cmp eax, ebx
mov dword [esi + 0x78], ebp
cmova eax, ebx
mov dword [esi + 0x7c], ebp
mov dword [esi + 0x54], eax
mov eax, dword [esi]
mov dword [esi + 0x34], ebp
mov dword [esi + 0x38], ebp
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
mov dword [esi + 0x70], ebp
mov dword [esi + 0x88], ebp
mov dword [esi + 0x68], ebp
mov dword [esi + 0x6c], ebp
mov dword [esi + 0x48], ebp
mov dword [esi + 0x4c], ebp
mov dword [esi + 0x50], ebp
mov dword [esi + 0x60], ebp
mov dword [esi + 0x64], ebp
mov dword [esi + 0x80], ebp
mov dword [esi + 0x84], ebp
mov dword [esi + 0x58], ebp
cmp eax, dword [esi + 0x20]
je 0x42aad7
lea edi, [esi + 0xc8]
cmp dword [edi + 8], ebp
je 0x42aab8
mov ecx, edi
call fcn.0042a80c
add edi, 0x28
sub ebx, 1
jne 0x42aaac
cmp dword [esi + 0x5c], ebp
je 0x42aad2
mov eax, dword [esi + 0x14]
push dword [esi + 0x5c]
push eax
call dword [eax + 4]
mov dword [esi + 0x5c], ebp
mov eax, dword [esi]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], ebp
mov dword [esi + 0xa0], ebp
mov dword [esi + 0xa4], ebp
mov dword [esi + 0xa8], ebp
mov dword [esi + 0xac], ebp
mov ecx, dword [esi + 0x58]
mov dword [esi + 0x24], ebp
mov dword [esi + 0x28], ebp
lea eax, [ecx + 5]
imul ebx, eax, 0x28
lea eax, [ecx + 1]
mov dword [esi + 0x58], eax
add ebx, esi
mov ecx, ebx
call fcn.0042a869
mov edi, eax
test edi, edi
jne 0x42ab54
lea ecx, [ebx + 0x20]
call fcn.0042c80b
mov edi, eax
test edi, edi
jne 0x42ab54
lea ecx, [ebx + 0x1c]
call fcn.0042c80b
mov edi, eax
test edi, edi
jne 0x42ab54
push ebx
call fcn.00429b96
mov edi, eax
test edi, edi
je 0x42ab54
mov ecx, esi
mov dword [esi + 0x44], ebp
call fcn.0042a7bb
movzx eax, di
or eax, 0x80070000
test edi, edi
cmovle eax, edi
test eax, eax
je 0x42ab68
mov dword [esi + 0x40], eax
cmp dword [esi + 0x38], ebp
jne 0x42ab7a
cmp dword [esi + 0x40], ebp
jne 0x42ab7a
cmp dword [esi + 0x3c], ebp
jne 0x42ab7a
mov dword [esi + 0x44], ebp
pop edi
xor ecx, ecx
cmp dword [esi + 0x44], ebp
pop esi
pop ebp
cmovne eax, ecx
pop ebx
ret

Function at 0x42ac43
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push edi
mov edi, ecx
push 4
pop ecx
mov esi, dword [edi + 8]
mov eax, dword [edi + 0x24]
movzx edx, byte [esi + 1]
mov dword [edi + 0x20], eax
add edx, ecx
mov eax, dword [edi]
add word [eax + 2], cx
mov byte [esi + 1], dl
cmp edx, 0x7c
jbe 0x42ac6e
mov ecx, edi
call fcn.0042add5
mov ecx, edi
pop edi
pop esi
jmp fcn.0042aff3
Function at 0x42ac77
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebx + 8]
mov esi, dword [ebx]
movzx ecx, byte [edi + 1]
movzx edx, word [esi + 2]
lea eax, [ecx + ecx]
cmp edx, eax
sbb eax, eax
add ecx, 4
neg eax
add dword [ebx + 0x20], eax
mov dword [ebx + 0x14], eax
lea eax, [edx + 4]
mov word [esi + 2], ax
mov byte [edi + 1], cl
cmp ecx, 0x7c
jbe 0x42acb1
mov ecx, ebx
call fcn.0042add5
pop edi
pop esi
mov ecx, ebx
pop ebx
jmp fcn.0042ad1d

Function at 0x42ad1d
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [ecx + 8]
movzx edx, word [eax + 4]
movzx eax, word [eax + 2]
shl edx, 0x10
or edx, eax
cmp dword [ecx + 0xc], 0
jne 0x42ad3e
cmp edx, dword [ecx + 0x40]
jbe 0x42ad3e
mov dword [ecx], edx
mov dword [ecx + 4], edx
ret
jmp fcn.0042aff3