joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4af6d0
Capabilities:
Create thread
Resume thread

Disassembly:
sub esp, 0x48
push ebx
push ebp
push esi
mov esi, dword [esp + 0x58]
lea eax, [esp + 0xc]
push edi
push eax
xor edi, edi
push 0x8004667e
push esi
mov dword [esp + 0x1c], edi
call sub.WSOCK32.dll_ioctlsocket
mov dword [esp + 0x18], edi
call fcn.004f7db8
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov eax, dword [eax + 0x938]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x68]
push eax
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x50], eax
call fcn.004dd75a
add esp, 4
lea edx, [esp + 0x18]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x38]
push edx
push 4
push eax
push 0x4af630
push 0x400
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
mov dword [esp + 0x14], eax
jne 0x4af768
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x48
ret
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x4af77e
pop edi
pop esi
pop ebp
or eax, eax
pop ebx
add esp, 0x48
ret
mov ebx, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
push 0xff
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
push edi
push ecx
push 1
call ebx
test eax, eax
je 0x4af818
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebp, dword [sym.imp.USER32.dll_TranslateMessage]
push 1
push edi
push edi
lea edx, [esp + 0x28]
push edi
push edx
call esi
test eax, eax
je 0x4af7ff
call fcn.004f7db8
mov eax, dword [eax + 4]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x58]
test eax, eax
jne 0x4af7df
lea edx, [esp + 0x1c]
push edx
call ebp
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
call fcn.004f7db8
mov eax, dword [eax + 4]
cmp dword [eax + 0x9f4], edi
jne 0x4af843
push 1
push edi
push edi
lea ecx, [esp + 0x28]
push edi
push ecx
call esi
test eax, eax
jne 0x4af7b5
push 0xff
push 0xffffffffffffffff
lea edx, [esp + 0x1c]
push edi
push edx
push 1
call ebx
test eax, eax
jne 0x4af7a5
mov esi, dword [esp + 0x5c]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 1
push edx
push 0x8004667e
push esi
call sub.WSOCK32.dll_ioctlsocket
mov eax, dword [esp + 0x50]
pop edi
neg eax
sbb eax, eax
pop esi
and al, 0xfe
pop ebp
inc eax
pop ebx
add esp, 0x48
ret
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [esp + 0x38]
push ecx
call sub.WSOCK32.dll_closesocket
cmp dword [esp + 0x54], edi
je 0x4af86e
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x14
call esi
cmp dword [esp + 0x54], edi
jne 0x4af864
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
add esp, 0x48
ret
Function at 0x4b07c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5180ae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
xor edi, edi
lea ecx, [esi + 0x10]
mov dword [esp + 0x14], edi
call fcn.004d6e47
mov eax, dword [0x5580a0]
mov dword [esi + 0x28], eax
lea ecx, [esi + 0x38]
mov byte [esp + 0x14], 2
call fcn.004d79dd
mov ecx, dword [esp + 0xc]
mov eax, 1
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], eax
mov dword [esi + 0x4c], eax
mov dword [esi], 0x529e54
mov dword [esi + 0x34], 0xffffffff
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4b0860
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5180e9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
xor ebx, ebx
lea ecx, [esi + 0x10]
mov dword [esp + 0x18], ebx
call fcn.004d6e47
mov eax, dword [0x5580a0]
lea edi, [esi + 0x28]
mov dword [edi], eax
lea ecx, [esi + 0x38]
mov byte [esp + 0x18], 2
call fcn.004d79dd
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x18], 3
push ecx
mov ecx, edi
mov dword [esi], 0x529e54
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], edx
mov dword [esi + 0x30], 1
mov dword [esi + 0x34], eax
call fcn.004dd29a
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
Function at 0x4b24d0
Capabilities:
Delete registry key

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, ecx
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea eax, [esp + 0x14]
push 0
push eax
push 0
push 0x20006
push 0
push 0
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4b2541
lea ebx, [esi + 4]
xor edi, edi
mov ecx, ebx
call fcn.00411d60
mov esi, dword [eax + edi]
test esi, esi
je 0x4b252b
mov eax, dword [esp + 0x14]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x18]
mov esi, dword [esi + 0x24]
test esi, esi
jne 0x4b2518
add edi, 4
cmp edi, 0x400
jl 0x4b250a
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
ret 8

Function at 0x4b3e90
Capabilities:
Delete file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x518717
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x204
push esi
push 0
push str.CuteFTP_5.0__SM.dat_SM.dat
push 4
mov esi, ecx
push 0x557e04
push 0x557e00
push 0
lea ecx, [esp + 0x28]
call fcn.004d43c0
lea ecx, [esp + 0x10]
mov dword [esp + 0x210], 0
call fcn.004d4522
cmp eax, 1
jne 0x4b3fbc
lea eax, [esp + 0xc]
push 5
push eax
mov ecx, esi
call fcn.004b4090
push str.SM.dat
lea ecx, [esp + 0xc]
push eax
push ecx
mov byte [esp + 0x21c], 1
call fcn.004dd3a6
lea ecx, [esp + 0xc]
mov byte [esp + 0x210], 3
call fcn.004dd111
lea edx, [esp + 4]
lea ecx, [esp + 0x10]
push edx
call fcn.004d45fd
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 4]
call fcn.004dd111
lea eax, [esp + 4]
lea ecx, [esp + 0x10]
push eax
call fcn.004d45fd
mov eax, dword [eax]
mov ecx, dword [esp + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea ecx, [esp + 4]
call fcn.004dd111
lea ecx, [esp + 8]
mov byte [esp + 0x210], 0
call fcn.004dd111
lea ecx, [esp + 0xbc]
mov dword [esp + 0x210], 4
call fcn.004dd111
lea ecx, [esp + 0x10]
mov dword [esp + 0x210], 0xffffffff
call fcn.004d8dd9
mov eax, 1
pop esi
mov ecx, dword [esp + 0x204]
mov dword fs:[0], ecx
add esp, 0x210
ret
lea ecx, [esp + 0xbc]
mov dword [esp + 0x210], 5
call fcn.004dd111
lea ecx, [esp + 0x10]
mov dword [esp + 0x210], 0xffffffff
call fcn.004d8dd9
mov ecx, dword [esp + 0x208]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x210
ret
Function at 0x4b5fd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x518a4f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x5580a0]
push ebp
push esi
xor esi, esi
push edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0xc], eax
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x28], 1
mov ecx, dword [ebp]
mov edi, dword [ecx - 8]
cmp edi, esi
jle 0x4b6085
push ebx
mov eax, dword [ebp]
mov cl, byte [eax + esi]
cmp cl, 0x25
jne 0x4b606d
inc esi
xor bl, bl
cmp esi, edi
mov byte [esp + 0x38], bl
jge 0x4b6044
mov dl, byte [eax + esi]
mov byte [esp + 0x14], dl
mov eax, dword [esp + 0x14]
push eax
call fcn.004b60c0
mov bl, al
add esp, 4
shl bl, 4
mov byte [esp + 0x38], bl
inc esi
cmp esi, edi
jge 0x4b6066
mov ecx, dword [ebp]
mov dl, byte [ecx + esi]
mov byte [esp + 0x18], dl
mov eax, dword [esp + 0x18]
push eax
call fcn.004b60c0
add esp, 4
or bl, al
mov byte [esp + 0x38], bl
mov ecx, dword [esp + 0x38]
push ecx
jmp 0x4b6076
mov byte [esp + 0x1c], cl
mov edx, dword [esp + 0x1c]
push edx
lea ecx, [esp + 0x14]
call fcn.004dd514
inc esi
cmp esi, edi
jl 0x4b6011
pop ebx
mov esi, dword [esp + 0x30]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.004dce86
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call fcn.004dd111
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret

Function at 0x4b60f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x518a7f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x5580a0]
push ebp
push esi
xor esi, esi
push edi
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], eax
mov edi, dword [esp + 0x30]
mov dword [esp + 0x24], 1
mov ecx, dword [edi]
mov ebp, dword [ecx - 8]
cmp ebp, esi
jle 0x4b614b
mov edx, dword [edi]
movsx eax, byte [edx + esi]
push eax
call fcn.004c210a
add esp, 4
test eax, eax
je 0x4b61cc
inc esi
cmp esi, ebp
jl 0x4b612f
mov edi, dword [edi]
push edi
call fcn.004c28bf
add esp, 4
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x15]
mov ecx, dword [esp + 0x17]
and eax, 0xff
and edx, 0xff
push eax
mov eax, dword [esp + 0x1a]
and eax, 0xff
push edx
and ecx, 0xff
push eax
push ecx
lea edx, [esp + 0x1c]
push str._u._u._u._u
push edx
call fcn.004d3e8c
mov esi, dword [esp + 0x44]
add esp, 0x18
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call fcn.004dce86
mov dword [esp + 0x10], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 0
call fcn.004dd111
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.004dce86
mov dword [esp + 0x10], 1
jmp 0x4b61aa
Function at 0x4b7840
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x1c]
test ebx, ebx
push esi
je 0x4b7857
lea eax, [ebx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edi
mov edi, dword [esp + 0x20]
push 0
push edi
call fcn.004b78f0
add esp, 8
push 0
push 1
push 2
call sub.WSOCK32.dll_socket
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov esi, ecx
mov dword [edi], eax
test esi, esi
je 0x4b78c9
xor edx, edx
mov dword [esp + 0xc], edx
mov word [esp + 0xc], 2
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edx
push edx
mov dword [esp + 0x1c], edx
call sub.WSOCK32.dll_htonl
mov ecx, dword [edi]
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push 0x10
push eax
push ecx
mov word [esp + 0x1a], 0
call sub.WSOCK32.dll_bind
xor edx, edx
cmp eax, 0xffffffff
setne dl
mov esi, edx
test esi, esi
jne 0x4b78d4
push 0
push edi
call fcn.004b78f0
add esp, 8
test ebx, ebx
pop edi
je 0x4b78e0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov eax, esi
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x4b7940
Capabilities:
Connect socket

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x20]
push esi
push edi
test ebx, ebx
mov esi, ecx
je 0x4b7956
mov dword [ebx], 0xffffffff
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4b7964
mov dword [eax], 0xffffffff
mov ecx, esi
call fcn.004b7810
test eax, eax
jne 0x4b7978
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x10
push ebp
call fcn.004c5507
mov ecx, dword [esp + 0x24]
mov ebp, eax
lea eax, [esi + 0x10]
push eax
push ecx
call fcn.004b7fe0
add esp, 8
mov edi, eax
test ebx, ebx
je 0x4b79a0
call fcn.004c5507
sub eax, ebp
mov dword [ebx], eax
test edi, edi
pop ebp
jne 0x4b79b0
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret 0x10
cmp dword [esi], 0xffffffff
jne 0x4b79c0
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret 0x10
mov eax, dword [esp + 0x24]
xor edx, edx
mov dword [esp + 0xc], edx
push eax
mov dword [esp + 0x14], edx
mov word [esp + 0x10], 2
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], edx
call sub.WSOCK32.dll_htons
mov word [esp + 0xe], ax
call fcn.004c5507
mov edx, dword [esi]
lea ecx, [esp + 0xc]
push 0x10
push ecx
push edx
mov edi, eax
call sub.WSOCK32.dll_connect
mov ebx, dword [esp + 0x2c]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
test ebx, ebx
mov esi, ecx
je 0x4b7a1d
call fcn.004c5507
sub eax, edi
mov dword [ebx], eax
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x10
Function at 0x4b7e20
Capabilities:
Create thread
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x518d28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push 0x55f768
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x55f74c]
test eax, eax
jne 0x4b7e70
mov eax, dword [0x55f760]
mov ecx, 0x55f760
mov dword [esp + 0x10], 0xffffffff
call dword [eax + 0x14]
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov eax, dword [0x55f780]
test eax, eax
je 0x4b7e83
mov dword [esp + 0x10], 0xffffffff
jmp 0x4b7f02
push 0
push 0x557f20
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push 4
push 0
push 0x4b7c40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
jne 0x4b7ec0
mov dword [esp + 0x10], 0xffffffff
jmp 0x4b7f02
push 0xfffffffffffffffe
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
or ecx, 0xffffffff
cmp eax, ecx
jne 0x4b7ef8
mov eax, dword [0x55f760]
mov dword [esp + 0x10], ecx
mov ecx, 0x55f760
call dword [eax + 0x14]
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov dword [0x55f780], esi
mov dword [esp + 0x10], ecx
mov edx, dword [0x55f760]
mov ecx, 0x55f760
call dword [edx + 0x14]
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4b7f20
Capabilities:
Receive data
Receive data on socket

Disassembly:
push esi
mov esi, ecx
push edi
push 0x4e20
mov eax, dword [esi]
push 1
push eax
call fcn.004b7a30
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [esi]
add esp, 0xc
push 0
push ecx
push edx
push eax
call sub.WSOCK32.dll_recv
mov ecx, dword [esi]
push 0x4e20
push 0
push ecx
mov edi, eax
call fcn.004b7a30
add esp, 0xc
test eax, eax
jne 0x4b7f6a
pop edi
or eax, 0xffffffff
pop esi
ret 8
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x4b7f80
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
mov esi, ecx
push edi
push 0x4e20
mov eax, dword [esi]
push 1
push eax
call fcn.004b7a30
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [esi]
add esp, 0xc
push 0
push ecx
push edx
push eax
call sub.WSOCK32.dll_send
mov ecx, dword [esi]
push 0x4e20
push 0
push ecx
mov edi, eax
call fcn.004b7a30
add esp, 0xc
test eax, eax
jne 0x4b7fca
pop edi
or eax, 0xffffffff
pop esi
ret 8
mov eax, edi
pop edi
pop esi
ret 8
Function at 0x4b7fe0
Capabilities:
Create thread
Resume thread
Set socket configuration
Terminate thread

Disassembly:
sub esp, 0xc
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x4b80bc
cmp byte [edi], 0
je 0x4b80bc
push edi
call sub.WSOCK32.dll_inet_addr
cmp eax, 0xffffffff
je 0x4b800e
test eax, eax
jne 0x4b80be
mov esi, dword [esp + 0x20]
mov eax, dword [esi]
test eax, eax
jne 0x4b8027
push eax
push eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi], eax
jmp 0x4b802e
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0xc]
push eax
push 4
push ecx
push 0x4b80e0
push 0
push 0
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x34], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
je 0x4b80ad
push 0xfffffffffffffffe
push edi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x4b8085
mov eax, dword [esi]
push eax
jmp 0x4b80b0
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi]
push 0x64
push ecx
call ebp
test eax, eax
mov eax, dword [esp + 0x14]
je 0x4b80a0
test eax, eax
jne 0x4b80c5
jmp 0x4b808b
test eax, eax
jne 0x4b80ad
push 1
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [esi]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0xc
ret
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
mov dword [esi], 0
pop edi
pop esi
pop ebp
add esp, 0xc
ret

Function at 0x4b8857
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4b88af
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push dword [ebp + 8]
push esi
push esi
push 0x55cdc0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4b88a2
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x4b88b1
xor eax, eax
pop esi
leave
ret 4

Function at 0x4cd0f9
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4cd119
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004c4d14
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x4cd13c
test byte [esp + 8], 2
je 0x4cd13c
call fcn.004c4d87
mov dword [eax], 0xd
call fcn.004c4d90
mov dword [eax], 5
jmp 0x4cd115
xor eax, eax
ret
Function at 0x4d8e17
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x4d8e39
cmp dword [edi + 0x3c], 0
jne 0x4d8e39
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.004f7db8
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.004d8e66
pop edi
pop esi
pop ebx
ret 8

Function at 0x4d8eb4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.004f7db8
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4d8ee5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.004d8ef8
pop edi
pop esi
pop ebx
ret 8

Function at 0x4da4ed
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4da525
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.004dd5b8
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004dd590
jmp 0x4da531
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4da535
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x561190
mov ecx, edi
call fcn.004dd29a
cmp dword [esi + 0x34], 0
push dword [esp + 0xc]
jne 0x4da588
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x4da59b
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.004dd5b8
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.004dd590
jmp 0x4da59b
mov ecx, esi
call fcn.004dca21
test eax, eax
je 0x4da59b
push edi
mov ecx, eax
call fcn.004da4ed
mov eax, dword [edi]
pop edi
pop esi
mov eax, dword [eax - 8]
ret 8

Function at 0x4dc1e5
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 0x4dc227
call fcn.004f7db8
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4dc227
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4dc21e
xor eax, eax
jmp 0x4dc22f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004dc235
pop edi
pop esi
pop ebx
ret 4
Function at 0x4f63c6
Capabilities:
Create http request

Disassembly:
mov eax, 0x519048
call fcn.004c6968
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x4f63fe
call fcn.004f7db8
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x4f6423
push eax
push dword [esi + 4]
call fcn.004f71f2
jmp 0x4f642f
push esi
push eax
mov ecx, 0x5611b0
call fcn.004f6440
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18

Function at 0x4f65eb
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x519097
call fcn.004c6968
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004df35e
mov eax, dword [0x5580a0]
lea ebx, [esi + 0x24]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebx], eax
mov eax, dword [ebp + 0x10]
mov dword [esi], vtable.CInternetFile.0
mov ecx, 0x5611b0
mov byte [ebp - 4], 1
push dword [eax + 0xc]
push dword [ebp + 8]
call fcn.004f6440
push dword [ebp + 0xc]
lea ecx, [esi + 0xc]
call fcn.004dd29a
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
mov dword [esi + 0x1c], eax
lea eax, [ebp + 0x10]
push eax
call fcn.004b8b18
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.004dd24a
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call fcn.004dd111
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x4f8658
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 8], ecx
call fcn.004f7db8
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4f8695
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4f8695
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x4f8699
xor eax, eax
jmp 0x4f8717
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.004dd75a
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x4f86d1
mov ecx, ebx
lea eax, [esi + 8]
movzx edx, word [eax]
inc dword [ebp - 4]
mov dword [ecx], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 4
inc eax
cmp dword [ebp - 4], edx
jl 0x4f86bb
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.004f8808
push ebx
mov edi, eax
call fcn.004dd783
test edi, edi
pop ecx
je 0x4f8713
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
lea esi, [ecx + 7]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [eax + 7]
push eax
push esi
push edx
call fcn.004f85d1
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.004f871c
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4