joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49d9f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x5f000]
push edi
or ebp, 0xffffffff
jmp 0x49da12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x49da19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49da08
mov eax, 1
add ebx, ebx
jne 0x49da2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x49da3c
jne 0x49da5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49da5b
dec eax
add ebx, ebx
jne 0x49da48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x49da20
add ebx, ebx
jne 0x49da57
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x49daad
xor ecx, ecx
sub eax, 3
jb 0x49da73
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x49dae2
sar eax, 1
mov ebp, eax
jmp 0x49da7e
add ebx, ebx
jne 0x49da7e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49da4c
inc ecx
add ebx, ebx
jne 0x49da8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49da4c
add ebx, ebx
jne 0x49da99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x49da8e
jne 0x49daaa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x49da8e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x49dacc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x49dabe
jmp 0x49da0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x49dacc
add edi, ecx
jmp 0x49da0e
pop esi
mov edi, esi
mov ecx, 0x25c7
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x49daea
cmp byte [edi], 0x13
jne 0x49daea
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x49daef
lea edi, [esi + 0x9a000]
mov eax, dword [edi]
or eax, eax
je 0x49db67
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9ef14]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x9f018]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x49db1c
mov ecx, edi
jns 0x49db4b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x9f01c]
or eax, eax
je 0x49db61
mov dword [ebx], eax
add ebx, 4
jmp 0x49db39
call dword [esi + 0x9f02c]
mov ebp, dword [esi + 0x9f020]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x49db9b
sub esp, 0xffffff80
jmp 0x44708d
Function at 0x401400
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x210
lea eax, [esp + 0x80]
push esi
push eax
push 0x101
call sub.WSOCK32.dll_WSAStartup
mov esi, eax
test esi, esi
je 0x40148f
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
mov eax, esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
sub eax, 0x2726
je 0x401456
sub eax, 0x45
je 0x40144a
dec eax
jne 0x401462
lea ecx, [esp + 4]
push str.Version_of_Windows_Sockets_API_support_requested_is_not_provided_by_this_particular_implementation.
push ecx
jmp 0x401460
lea edx, [esp + 4]
push str.Underlying_network_subsystem_is_not_ready_for_network_communication.
push edx
jmp 0x401460
lea eax, [esp + 4]
push str.Windows_Sockets_version_specified_by_application_is_not_supported_by_this_DLL.
push eax
call esi
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp dword [esp + 0x21c], eax
jle 0x401485
mov eax, dword [esp + 0x218]
lea edx, [esp + 4]
push edx
push eax
call esi
xor eax, eax
pop esi
add esp, 0x210
ret
mov eax, 1
pop esi
add esp, 0x210
ret
Function at 0x4014b0
Capabilities:
Create tcp socket
Set socket configuration

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
push 0
mov word [edi], 2
call sub.WSOCK32.dll_htonl
mov esi, dword [esp + 0x10]
mov dword [edi + 4], eax
test esi, esi
je 0x401558
push 0x4092c8
push esi
call sub.WSOCK32.dll_getservbyname
test eax, eax
jne 0x401512
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0x24]
add eax, 0x20
cmp ecx, eax
jle 0x4016a2
mov eax, dword [esp + 0x20]
push esi
push str.tcp_init:_unknown_service:__s_tcp
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
or eax, 0xffffffff
pop edi
pop esi
pop ebx
ret
mov ebx, dword [esp + 0x1c]
mov ecx, eax
mov edx, ebx
mov esi, dword [ecx]
mov dword [edx], esi
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov esi, dword [ecx + 8]
mov dword [edx + 8], esi
mov esi, dword [esp + 0x14]
mov ecx, dword [ecx + 0xc]
test esi, esi
mov dword [edx + 0xc], ecx
jle 0x40154e
push esi
call sub.WSOCK32.dll_htons
push esi
mov word [ebx + 8], ax
call sub.WSOCK32.dll_htons
mov word [edi + 2], ax
jmp 0x401586
mov dx, word [eax + 8]
mov word [edi + 2], dx
jmp 0x401586
mov eax, dword [esp + 0x14]
test eax, eax
jg 0x401572
cmp dword [esp + 0x24], 0x2e
jle 0x4016a2
push str.tcp_init:_must_specify_either_service_or_port
jmp 0x4015d4
push eax
call sub.WSOCK32.dll_htons
mov ecx, dword [esp + 0x1c]
mov word [edi + 2], ax
mov dword [ecx], 0
mov ebx, 1
push 6
push ebx
push 2
call sub.WSOCK32.dll_socket
mov esi, eax
cmp esi, 0xffffffff
jne 0x4015b1
cmp dword [esp + 0x24], 0x29
jle 0x4016a2
push str.tcp_init:_cant_create_TCP_stream_socket
jmp 0x401694
push 0x10
push edi
push esi
call sub.WSOCK32.dll_bind
test eax, eax
je 0x4015e9
push esi
call sub.WSOCK32.dll_closesocket
cmp dword [esp + 0x24], 0x23
jle 0x4016a2
push str.tcp_init:_cant_bind_local_address
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 8
or eax, 0xffffffff
pop edi
pop esi
pop ebx
ret
lea ecx, [esp + 0x18]
push 4
push ecx
push 0xffffff7f
push 0xffff
push esi
mov word [esp + 0x2c], bx
mov word [esp + 0x2e], 0
call sub.WSOCK32.dll_setsockopt
test eax, eax
je 0x401628
push esi
call sub.WSOCK32.dll_closesocket
cmp dword [esp + 0x24], 0x33
jle 0x4016a2
push str.tcp_init:_cant_set_the_Linger_time_out__parameter
jmp 0x401694
lea eax, [esp + 0x18]
push 4
push eax
push pe_nt_image_headers32
push 0xffff
push esi
mov word [esp + 0x2c], bx
mov word [esp + 0x2e], 0
call sub.WSOCK32.dll_setsockopt
test eax, eax
je 0x401676
push esi
call sub.WSOCK32.dll_closesocket
cmp dword [esp + 0x24], 0x33
jle 0x4016a2
mov ecx, dword [esp + 0x20]
push str.tcp_init:_cant_set_the_Linger_time_out__parameter
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 8
or eax, 0xffffffff
pop edi
pop esi
pop ebx
ret
push 5
push esi
call sub.WSOCK32.dll_listen
test eax, eax
je 0x4016a9
push esi
call sub.WSOCK32.dll_closesocket
cmp dword [esp + 0x24], 0x29
jle 0x4016a2
push str.tcp_init:_cant_set_the_listen_parameter
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 8
or eax, 0xffffffff
pop edi
pop esi
pop ebx
ret
mov eax, esi
pop edi
pop esi
pop ebx
ret
Function at 0x402ca0
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x34
push ebx
push ebp
push esi
lea eax, [esp + 0x28]
push edi
push eax
call dword [sym.imp.MSVCRT.dll__ftime]
mov eax, dword [esp + 0x50]
xor ebx, ebx
add esp, 4
xor ebp, ebp
cmp eax, ebx
mov dword [esp + 0x10], ebx
mov edi, eax
jle 0x402e7d
mov ecx, dword [0x40a428]
mov edx, dword fs:[0x2c]
mov eax, dword [edx + ecx*4]
mov dword [esp + 0x1c], eax
mov esi, dword [esp + 0x1c]
cmp dword [esi + 0xf8c0], ebx
je 0x402d19
push 2
push ebx
lea esi, [esi + 0xf8c8]
push ebx
push ebx
push esi
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x402d19
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.USER32.dll_GetMessageA]
push esi
call dword [sym.imp.USER32.dll_TranslateMessage]
push esi
call dword [sym.imp.USER32.dll_DispatchMessageA]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x1c]
push ebx
push edi
lea edx, [ebp + ecx]
mov ecx, dword [eax + 0xf8e4]
push edx
push ecx
call sub.WSOCK32.dll_recv
mov esi, eax
cmp esi, 0xffffffff
jne 0x402dab
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x402e59
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.MSVCRT.dll__ftime]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
add esp, 4
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_difftime]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x38]
and edx, 0xffff
and eax, 0xffff
sub edx, eax
add esp, 8
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fmul qword [0x4080c8]
fsubp st(1)
fild dword [0x409020]
fxch st(1)
fcompp
fnstsw ax
test ah, 1
je 0x402e59
jmp 0x402e41
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.MSVCRT.dll__ftime]
sub edi, esi
add ebp, esi
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x18], ebp
add ebp, 0xfffffff8
mov eax, edi
add esp, 4
cmp eax, ebp
jg 0x402e26
mov edx, dword [esp + 0x48]
mov byte [esp + 0x28], bl
mov esi, str.AUTEKEND
lea eax, [edi + edx]
mov ecx, dword [edi + edx]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 4]
lea eax, [esp + 0x20]
mov dword [esp + 0x24], edx
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x402e18
cmp cl, bl
je 0x402e14
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x402e18
add eax, 2
add esi, 2
cmp cl, bl
jne 0x402df4
xor eax, eax
jmp 0x402e1d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x402e66
inc edi
cmp edi, ebp
jle 0x402dd2
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
sub eax, edx
cmp eax, 8
jle 0x402e39
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
cmp edi, ebx
jg 0x402cdf
mov eax, dword [esp + 0x4c]
sub eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 8
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 8
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x18]
sub eax, edx
sub eax, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 8
sub eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 8
Function at 0x4033c0
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x1c
lea eax, [esp + 4]
push ebx
push ebp
push esi
push edi
push eax
call dword [sym.imp.MSVCRT.dll__ftime]
mov eax, dword [esp + 0x38]
add esp, 4
xor ebp, ebp
mov ebx, eax
test eax, eax
jle 0x4034f2
mov ecx, dword [0x40a428]
mov edx, dword fs:[0x2c]
mov edi, dword [edx + ecx*4]
mov eax, dword [edi + 0xf8c0]
test eax, eax
je 0x403433
push 2
push 0
lea esi, [edi + 0xf8c8]
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x403433
push 0
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_GetMessageA]
push esi
call dword [sym.imp.USER32.dll_TranslateMessage]
push esi
call dword [sym.imp.USER32.dll_DispatchMessageA]
mov eax, dword [esp + 0x30]
mov edx, dword [edi + 0xf8e4]
push 0
push ebx
lea ecx, [ebp + eax]
push ecx
push edx
call sub.WSOCK32.dll_send
mov esi, eax
cmp esi, 0xffffffff
jne 0x4034bb
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x4034e5
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.MSVCRT.dll__ftime]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
add esp, 4
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_difftime]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
and eax, 0xffff
and ecx, 0xffff
sub eax, ecx
add esp, 8
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul dword [0x4080d0]
fsubp st(1)
fild dword [0x409020]
fxch st(1)
fcompp
fnstsw ax
test ah, 1
je 0x4034e5
jmp 0x4034cd
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.MSVCRT.dll__ftime]
add esp, 4
sub ebx, esi
add ebp, esi
test ebx, ebx
jg 0x4033f5
mov eax, dword [esp + 0x34]
sub eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 8
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 8
pop edi
pop esi
sub eax, ebx
pop ebp
pop ebx
add esp, 0x1c
ret 8
Function at 0x406e40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4082d8
push 0x407040
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffff98
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 2
call dword [sym.imp.MSVCRT.dll___set_app_type]
add esp, 4
mov dword [0x40a444], 0xffffffff
mov dword [0x40a448], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x40a438]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov edx, dword [0x40a434]
mov dword [eax], edx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov ecx, dword [eax]
mov dword [0x40a440], ecx
call fcn.004047e0
mov eax, dword [0x409740]
test eax, eax
jne 0x406ed1
push 0x407030
call dword [sym.imp.MSVCRT.dll___setusermatherr]
add esp, 4
call fcn.00407010
push 0x409014
push 0x409010
call sub.MSVCRT.dll__initterm
add esp, 8
mov edx, dword [0x40a430]
mov dword [ebp - 0x6c], edx
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [0x40a42c]
push ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVCRT.dll___getmainargs]
add esp, 0x14
push 0x40900c
push section..data
call sub.MSVCRT.dll__initterm
add esp, 8
call dword [sym.imp.MSVCRT.dll___p__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x74], esi
cmp byte [esi], 0x22
jne 0x406fdf
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x406f45
cmp al, 0x22
jne 0x406f37
cmp byte [esi], 0x22
jne 0x406f4e
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x406f5e
cmp al, 0x20
ja 0x406f5e
inc esi
mov dword [ebp - 0x74], esi
jmp 0x406f4e
mov dword [ebp - 0x30], 0
lea edx, [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x406f7f
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x406f84
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x68], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
jmp 0x406fc4
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0x20
jbe 0x406f4e
inc esi
mov dword [ebp - 0x74], esi
jmp 0x406fdf
Function at 0x402f3d
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
mov ecx, dword fs:[0x30]
mov al, byte [ecx + 2]
leave
ret
Function at 0x408c41
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
jge 0x408c63
mov eax, 0xfffffffd
jmp 0x408cdb
mov ebx, dword [0x70467c]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x408ca9
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x70467c]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x408cd1
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x408cdb
mov esp, ebp
pop ebp
ret 4

Function at 0x40ba6f
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
mov ecx, dword fs:[0x30]
mov al, byte [ecx + 2]
leave
ret
Function at 0x4116fe
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
jge 0x411720
mov eax, 0xfffffffd
jmp 0x411798
mov ebx, dword [0x7046f8]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x411766
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x7046f8]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x41178e
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x411798
mov esp, ebp
pop ebp
ret 4
Function at 0x419462
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.0042c98b
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.0042c98b
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x18], 0
push 0x10
call fcn.0042c98b
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x20], esp
mov eax, 0x5f
call fcn.0042c99d
cmp dword [ebp - 0x20], esp
je 0x41951f
push 6
call fcn.0042c997
add esp, 4
mov dword [ebp - 4], eax
mov eax, 0x6dcfd1
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x419538
push ebx
call fcn.0042c991
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0xc]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 0x60
call fcn.0042c99d
cmp dword [ebp - 0x20], esp
je 0x419567
push 6
call fcn.0042c997
add esp, 4
mov dword [ebp - 0x20], esp
push dword [ebp - 0x10]
push dword [ebp - 8]
push 0x4a39ef
mov eax, 0x61
call fcn.0042c99d
cmp dword [ebp - 0x20], esp
je 0x419591
push 6
call fcn.0042c997
add esp, 4
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x14]
add ebx, 8
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 0xc
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 2
mov dword [ebp - 0x20], esp
mov eax, 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x1c]
push 0x1c
push dword [ebp - 0x14]
push 0
push dword [ebp - 0xc]
mov eax, 0x62
call fcn.0042c99d
cmp dword [ebp - 0x20], esp
je 0x419625
push 6
call fcn.0042c997
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
mov eax, 0x63
call fcn.0042c99d
cmp dword [ebp - 0x20], esp
je 0x41964a
push 6
call fcn.0042c997
add esp, 4
mov eax, dword [ebp - 0x18]
jmp 0x419652
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x419663
push ebx
call fcn.0042c991
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0042c991
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.0042c991
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
call fcn.0042c991
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x438ec0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49c79b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004910a6
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x438f42
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048efbd
mov eax, dword [eax]
push 0x6f4270
push eax
call fcn.00481a74
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00491331
test bl, bl
je 0x438f42
push 0x6f4270
lea ecx, [esp + 0xc]
call fcn.004916c1
push 0x6f7de4
lea ecx, [esp + 0xc]
call fcn.004916c1
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x438f7e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00491331
jmp 0x439049
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x439002
lea edx, [esp + 0x7c]
push 0x6f7de0
push edx
call fcn.00481a74
add esp, 8
test eax, eax
je 0x439002
lea eax, [esp + 0x7c]
push 0x6f7ddc
push eax
call fcn.00481a74
add esp, 8
test eax, eax
je 0x439002
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x438f92
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00491331
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x439840
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4398a2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x4398b0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49c81b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x7006d4]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x4399e8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x439916
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00491331
xor eax, eax
jmp 0x439a5f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0049146e
push esi
lea ecx, [esp + 0xc]
call fcn.004916fd
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x439a3d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00439840
test eax, eax
jne 0x439a3d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00439840
test eax, eax
jne 0x439a3d
lea eax, [esp + 0x14]
push 0x6f7df8
push eax
call fcn.00482bc0
mov esi, eax
add esp, 8
test esi, esi
jne 0x439a1c
lea ecx, [esp + 0x14]
push 0x6f7df4
push ecx
call fcn.00482b40
mov esi, eax
add esp, 8
test esi, esi
jne 0x439a1c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x439a1f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0049141e
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x43992e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00491331
xor eax, eax
jmp 0x439a5f
mov byte [esi], 0
push 0x6f7df0
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00491331
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4