joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b0f0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library
Resolve dns

Disassembly:
sub esp, 0x1a4
mov eax, dword [0x49c220]
mov dword [esp + 0x1a0], eax
lea eax, [esp + 0x10]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x42b14e
mov eax, dword [esp + 0x1a8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b137
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov ecx, dword [esp + 0x1a0]
call fcn.0045086e
add esp, 0x1a4
ret 8
push ebx
push ebp
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ebx, dword [esp + 0x1b0]
push ebx
mov ebp, eax
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
jne 0x42b1be
push ebx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x42b1a6
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
push esi
mov esi, dword [edx]
mov edx, ecx
push edi
shr ecx, 2
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ax, word [eax + 8]
pop edi
mov word [esp + 0xc], ax
pop esi
jmp 0x42b1c9
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x42b1ff
mov word [esp + 8], 2
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x1b4]
push eax
call dword [sym.imp.WS2_32.dll_htons]
push 0x10
lea ecx, [esp + 0xc]
push ecx
push ebp
mov word [esp + 0x16], ax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
lea eax, [ebx - 0x10]
jne 0x42b222
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42b209
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1a0]
call fcn.0045086e
add esp, 0x1a4
ret 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b239
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x1a8]
mov eax, ebp
pop ebp
pop ebx
call fcn.0045086e
add esp, 0x1a4
ret 8
Function at 0x42cd00
Capabilities:
Delete file
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x479c20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
mov esi, ecx
push str..chr
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x18]
xor ebx, ebx
push ecx
mov dword [esp + 0x28], ebx
call fcn.00403630
add esp, 0xc
cmp byte [esi + 0x7c], bl
mov byte [esp + 0x1c], 1
je 0x42cd59
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
lea esp, [esp]
push 0x32
call edi
cmp byte [esi + 0x7c], bl
jne 0x42cd50
mov ebp, dword [esp + 0x10]
push 0x483164
push ebp
mov byte [esi + 0x7c], 1
call fcn.00451c9c
mov edi, eax
add esp, 8
cmp edi, ebx
jne 0x42cdcf
push str..adam
lea edx, [esi + 0xd0]
push edx
lea eax, [esp + 0x30]
push eax
call fcn.00403630
mov ecx, dword [esi + 0x94]
push ecx
call fcn.00451974
mov edi, dword [esp + 0x38]
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x483188
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [edi - 0x10]
mov byte [esi + 0x7c], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42cdf9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x42cdf9
mov eax, dword [esp + 0x28]
push ebx
push eax
push edi
call fcn.00451bf7
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push edi
push ecx
push 1
push edx
call fcn.00451db6
push edi
call fcn.00451974
add esp, 0x20
mov byte [esi + 0x7c], bl
lea eax, [ebp - 0x10]
mov byte [esp + 0x1c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ce17
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ce3d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
Function at 0x42da50
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
push 0x479d18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
push str.REST_100_r_n
lea ecx, [esp + 0x10]
call fcn.004025d0
push 0x64
mov dword [esp + 0x20], 0
call fcn.00460104
mov ebx, dword [esp + 0x28]
add esp, 4
mov esi, eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 0xc]
push 0
push ecx
push eax
push ebx
call dword [sym.imp.WS2_32.dll_send]
push 0
push 0x64
push esi
push ebx
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x42dab7
xor eax, eax
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push esi
mov byte [eax + esi], 0
call fcn.004025d0
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call fcn.0042c180
mov eax, dword [eax]
push 0x483214
push eax
call fcn.00451467
add esp, 8
test eax, eax
mov eax, dword [esp + 0x24]
setne bl
add eax, 0xfffffff0
or edi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42db09
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x42db4f
test esi, esi
je 0x42db1a
push esi
call fcn.00460109
add esp, 4
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x1c], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x42db39
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor al, al
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 4
test esi, esi
je 0x42db5c
push esi
call fcn.00460109
add esp, 4
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x1c], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x42db7b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret 4
Function at 0x42dba0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors
Print debug messages
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
push 0x479d48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov ebx, ecx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
push str.CWD
push ecx
mov dword [esp + 0x30], 0
call fcn.0040eaf0
push 0x483178
push eax
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x3c], 1
call fcn.00403630
add esp, 0x18
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 2
call fcn.00402260
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x24], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42dc24
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x24], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42dc47
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x64
call fcn.00460104
mov ebp, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
add esp, 4
push 0
mov esi, eax
mov eax, dword [ebp - 0xc]
push eax
push ebp
push edi
call dword [sym.imp.WS2_32.dll_send]
push 0
push 0x64
push esi
push edi
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x42dc7b
xor eax, eax
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push esi
mov byte [eax + esi], 0
call fcn.004025d0
lea eax, [esp + 0x30]
push eax
mov ecx, ebx
call fcn.0042c180
mov eax, dword [eax]
push 0x483234
push eax
call fcn.00451467
add esp, 8
test eax, eax
mov eax, dword [esp + 0x2c]
setne bl
add eax, 0xfffffff0
or edi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42dccd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x42dd08
test esi, esi
je 0x42dcde
push esi
call fcn.00460109
add esp, 4
push 0x483224
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebp - 0x10]
mov dword [esp + 0x24], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x42dd04
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor al, al
jmp 0x42dd32
test esi, esi
je 0x42dd15
push esi
call fcn.00460109
add esp, 4
lea eax, [ebp - 0x10]
mov dword [esp + 0x24], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x42dd30
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, 1
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 8
Function at 0x42ec00
Capabilities:
Access peb ldr_data
Get number of processors
Print debug messages
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
push 0x479e78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
push 0x64
mov edi, ecx
call fcn.00460104
add esp, 4
mov esi, eax
call fcn.004601e6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x14]
push 0x47da0c
push ecx
mov dword [esp + 0x30], 0
call fcn.00402460
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x24]
push str.REST
push eax
call fcn.0040eaf0
push 0x483178
push eax
lea ecx, [esp + 0x50]
push ecx
mov byte [esp + 0x48], 1
call fcn.00403630
add esp, 0x24
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x24], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42eca8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx - 0xc]
mov ebp, dword [esp + 0x2c]
push 0
push eax
push ecx
push ebp
call dword [sym.imp.WS2_32.dll_send]
push 0
push 0x64
push esi
push ebp
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x42ecd0
xor eax, eax
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push esi
mov byte [eax + esi], 0
call fcn.004025d0
lea eax, [esp + 0x30]
push eax
mov ecx, edi
call fcn.0042c180
mov eax, dword [eax]
push 0x483214
push eax
call fcn.00451467
add esp, 8
test eax, eax
mov eax, dword [esp + 0x2c]
setne bl
add eax, 0xfffffff0
or edi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ed22
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x42ed8b
push 0x483298
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test esi, esi
je 0x42ed46
push esi
call fcn.00460109
add esp, 4
mov dword [esp + 0x24], 3
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x24], 0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ed68
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x24], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x42ed87
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor al, al
jmp 0x42ede3
test esi, esi
je 0x42eda0
push esi
call fcn.00460109
add esp, 4
mov dword [esp + 0x24], 3
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x24], 0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42edc2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x24], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x42ede1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, 1
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 8
Function at 0x42ee00
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x479ea3
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
push 0x64
mov ebx, ecx
call fcn.00460104
mov esi, eax
mov eax, str.PASV__r_n
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42ee31
mov edi, dword [esp + 0x28]
push 0
sub eax, edx
push eax
push str.PASV__r_n
push edi
call dword [sym.imp.WS2_32.dll_send]
push 0
push 0x64
push esi
push edi
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x42ee5f
xor eax, eax
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push esi
mov byte [eax + esi], 0
call fcn.004025d0
lea eax, [esp + 0x2c]
push eax
mov ecx, ebx
call fcn.0042c180
mov eax, dword [eax]
push 0x4832b0
push eax
call fcn.00451467
add esp, 8
test eax, eax
mov eax, dword [esp + 0x28]
setne bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42eeaf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x42eed6
test esi, esi
je 0x42eec0
push esi
call fcn.00460109
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 4
push 4
call fcn.004600d9
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x20], 2
je 0x42eefb
mov ecx, eax
call fcn.0042b0c0
mov edi, eax
jmp 0x42eefd
xor edi, edi
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push esi
mov dword [esp + 0x28], 0xffffffff
call fcn.004025d0
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call fcn.0042b650
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push esi
mov dword [esp + 0x28], 3
call fcn.004025d0
mov ecx, edi
call fcn.0042b260
test esi, esi
mov ebx, eax
je 0x42ef51
push esi
call fcn.00460109
add esp, 4
mov dword [esp + 0x20], 3
mov eax, dword [esp + 0xc]
push ebx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov esi, esp
push eax
call fcn.00401700
add eax, 0x10
add esp, 4
mov ecx, edi
mov dword [esi], eax
call fcn.0042b0f0
mov esi, eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ef9d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 4
Function at 0x430550
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47a000
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 4]
push esi
xor esi, esi
cmp ecx, esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ebx
je 0x430585
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebx + 8]
cmp eax, esi
mov dword [ebx + 4], esi
je 0x4305a3
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebx + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebx + 8], esi
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x4306e5
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x4306e5
mov ecx, dword [ebp + 0x10]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x4306e5
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [ebx + 8], eax
je 0x4306e5
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4306d4
mov ecx, esi
mov edx, ecx
shr ecx, 2
mov esi, edi
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 8]
lea eax, [ebp + 0x10]
push eax
xor esi, esi
push esi
push ecx
mov dword [ebp + 0x10], esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x4306ca
mov ecx, dword [ebx + 4]
cmp ecx, esi
je 0x430667
mov edx, dword [ecx]
push 1
mov dword [ebp - 4], esi
call dword [edx]
jmp 0x43065d
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 4], esi
mov eax, dword [ebp + 0x10]
push esi
push eax
call fcn.00430420
mov dword [ebx + 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
add esp, 8
push eax
call dword [ecx + 8]
mov eax, dword [ebx + 4]
cmp eax, esi
je 0x4306ca
mov ecx, dword [eax + 8]
cmp ecx, esi
mov dword [eax + 8], esi
jne 0x4306a6
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebx + 4]
cmp ecx, esi
mov dword [ebp - 4], 2
je 0x4306c7
mov edx, dword [ecx]
push 1
call dword [edx]
jmp 0x4306c7
mov dword [ebx + 4], esi
mov eax, dword [ebx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebx + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebx + 8], 0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x430700
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x47a023
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.00468915
xor edi, edi
lea ebp, [esi + 0x10]
mov dword [esi], method.CDC.virtual_0
mov dword [esp + 0x2c], edi
mov dword [ebp + 4], edi
mov dword [ebp], vtable.CBitmap.0
mov ebx, dword [esp + 0x34]
xor eax, eax
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], ebx
cmp dword [ebx + 0xc], edi
sete al
mov byte [esp + 0x2c], 1
cmp eax, edi
mov dword [esi + 0x30], eax
je 0x430848
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.00468dbd
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
lea edi, [esi + 0x20]
je 0x4307a5
mov edx, dword [ebx]
push edi
mov ecx, ebx
call dword [edx + 0x50]
jmp 0x4307c2
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov eax, edi
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x44]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov ecx, dword [edi + 4]
mov eax, dword [edi + 0xc]
mov edx, dword [edi]
sub eax, ecx
mov ecx, dword [edi + 8]
push eax
mov eax, dword [ebx + 4]
sub ecx, edx
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebp
call fcn.004690a4
test ebp, ebp
je 0x4307ec
mov ebp, dword [ebp + 4]
mov ecx, dword [esi + 4]
push ebp
push ecx
call fcn.0046912d
mov edx, dword [esi + 0x24]
mov dword [esi + 0x18], eax
mov eax, dword [edi]
push edx
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.00468a65
mov eax, dword [esp + 0x48]
test eax, eax
je 0x43085a
mov ecx, dword [edi + 4]
mov eax, dword [edi + 0xc]
mov ebx, dword [edi]
mov ebp, dword [esi + 0x1c]
mov edx, dword [esi + 0x24]
sub eax, ecx
mov ecx, dword [edi + 8]
sub ecx, ebx
test ebp, ebp
je 0x430830
mov ebp, dword [ebp + 4]
push 0xcc0020
push edx
push ebx
push ebp
push eax
push ecx
push edx
mov edx, dword [esi + 4]
push ebx
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x43085a
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [ebx + 4]
mov dword [esi + 4], ecx
mov edx, dword [ebx + 8]
mov dword [esi + 8], edx
mov ecx, dword [esp + 0x24]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x18
Function at 0x433bd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47a378
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
xor esi, esi
push edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x14], esi
call fcn.004601e6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ecx, [eax + 0x10]
mov dword [esp + 0x10], ecx
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x20], esi
mov eax, dword [ebp]
cmp eax, 0x401
jge 0x433c7f
mov edx, dword [esp + 0x2c]
mov bl, byte [eax + edx]
cmp bl, 0xa
je 0x433c68
cmp bl, 0xd
je 0x433c70
mov eax, dword [ecx - 4]
mov edi, dword [ecx - 0xc]
mov edx, 1
sub edx, eax
mov eax, dword [ecx - 8]
lea esi, [edi + 1]
sub eax, esi
or eax, edx
jge 0x433c53
push esi
lea ecx, [esp + 0x14]
call fcn.00401a70
mov ecx, dword [esp + 0x10]
test esi, esi
mov byte [edi + ecx], bl
jl 0x433cca
cmp esi, dword [ecx - 8]
jg 0x433cca
mov dword [ecx - 0xc], esi
mov byte [esi + ecx], 0
jmp 0x433c70
mov dword [esp + 0x14], 1
mov edx, dword [ebp]
mov eax, dword [esp + 0x14]
inc edx
test eax, eax
mov dword [ebp], edx
je 0x433c11
lea esi, [ecx - 0x10]
push esi
call fcn.00401700
mov edi, dword [esp + 0x2c]
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov dword [esp + 0x20], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x433cb3
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 0xc
push 0x80070057
call fcn.004015b0
int3
Function at 0x433ce0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x47a3a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
mov esi, ecx
push str..chr
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x18]
xor ebx, ebx
push ecx
mov dword [esp + 0x28], ebx
call fcn.00403630
add esp, 0xc
cmp dword [esi + 0x50], ebx
mov byte [esp + 0x1c], 1
je 0x433d39
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
lea esp, [esp]
push 0x32
call edi
cmp dword [esi + 0x50], ebx
jne 0x433d30
mov ebp, dword [esp + 0x10]
push 0x483164
push ebp
mov dword [esi + 0x50], 1
call fcn.00451c9c
mov edi, eax
add esp, 8
cmp edi, ebx
jne 0x433e01
push str..adam
lea edx, [esi + 0x24]
push edx
lea eax, [esp + 0x30]
push eax
call fcn.00403630
mov ecx, dword [esi + 0x98]
push ecx
call fcn.00451974
mov edi, dword [esp + 0x38]
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [edi - 0x10]
mov dword [esi + 0x50], ebx
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x433da6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov byte [esp + 0x1c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x433dc4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x433dea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
mov eax, dword [esp + 0x28]
push ebx
push eax
push edi
call fcn.00451bf7
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push edi
push ecx
push 1
push edx
call fcn.00451db6
push edi
call fcn.00451974
lea eax, [ebp - 0x10]
add esp, 0x20
mov dword [esi + 0x50], ebx
mov byte [esp + 0x1c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x433e49
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x433e6f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10