joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4063d0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x22c
mov eax, dword [0x43c64c]
test eax, eax
mov dword [esp], str.getaddrinfo
mov dword [esp + 4], 0x405ea0
mov dword [esp + 8], str.getnameinfo
mov dword [esp + 0xc], 0x406190
mov dword [esp + 0x10], str.freeaddrinfo
mov dword [esp + 0x14], fcn.00405e50
jne 0x406522
push 0x104
lea ecx, [esp + 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x406518
xor eax, eax
nop
mov cl, byte [esp + eax + 0x124]
mov byte [esp + eax + 0x18], cl
inc eax
test cl, cl
jne 0x406430
push edi
lea edi, [esp + 0x1c]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x406446
mov edx, dword [str.ws2_32]
mov eax, dword [0x432a48]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
lea ecx, [esp + 0x28]
mov dword [edi], edx
push ecx
mov dword [edi + 4], eax
call ebp
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x40648d
push str.getaddrinfo
push esi
call ebx
test eax, eax
jne 0x4064df
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
nop
mov cl, byte [esp + eax + 0x134]
mov byte [esp + eax + 0x28], cl
inc eax
test cl, cl
jne 0x406490
lea edi, [esp + 0x28]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4064a5
mov edx, dword [str.wship6]
mov eax, dword [0x432a40]
lea ecx, [esp + 0x28]
mov dword [edi], edx
push ecx
mov dword [edi + 4], eax
call ebp
mov esi, eax
test esi, esi
je 0x406514
push str.getaddrinfo
push esi
call ebx
test eax, eax
jne 0x4064df
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x406514
xor edi, edi
mov edx, dword [esp + edi*8 + 0x10]
push edx
push esi
call ebx
test eax, eax
mov dword [esp + edi*8 + 0x14], eax
je 0x4064d6
inc edi
cmp edi, 3
jl 0x4064e1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov dword [0x43b050], eax
mov dword [0x43b058], ecx
mov dword [fcn.00405e50], edx
pop esi
pop ebp
pop ebx
pop edi
mov dword [0x43c64c], 1
movzx eax, word [esp + 0x230]
mov eax, dword [eax*8 + 0x43b050]
add esp, 0x22c
ret 4
Function at 0x406930
Capabilities:
Create udp socket

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push 0x48
push 1
mov esi, eax
mov ebx, ecx
call dword [0x43b048]
mov edi, eax
xor eax, eax
add esp, 8
cmp edi, eax
mov dword [esp + 0x10], 0xc
mov dword [ebx + 0x3b0], edi
je 0x4069ef
mov dword [ebx + 0x3a0], esi
mov dword [ebx + 0x3a8], eax
mov dword [ebx + 0x3ac], eax
mov dword [ebx + 0x3a4], eax
mov dword [edi], eax
mov eax, dword [esp + 0x18]
push esi
lea ebp, [edi + 0x10]
push eax
mov esi, ebp
mov dword [edi + 4], 0xffffffff
call fcn.004067c0
add esp, 8
test eax, eax
je 0x4069ef
mov ecx, dword [ebx + 0x39c]
push ecx
call fcn.00402490
mov edx, dword [esp + 0x1c]
push edx
call dword [0x43b044]
add esp, 8
test eax, eax
mov dword [ebx + 0x39c], eax
je 0x4069ef
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [edi + 4], eax
je 0x4069ef
push ebp
push 0x406860
call fcn.00419490
add esp, 8
test eax, eax
mov dword [edi], eax
jne 0x406a11
call fcn.00421397
mov eax, dword [eax]
mov dword [esp + 0x10], eax
add ebx, 0x39c
push ebx
call fcn.004068d0
mov ecx, dword [esp + 0x14]
add esp, 4
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
Function at 0x40aec0
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
push str.Connected_for_receive
push 0x43269c
push ecx
call fcn.004033d0
add esp, 0xc
mov eax, esi
mov dword [esi], 1
call fcn.0040a070
test eax, eax
jne 0x40aef0
mov eax, esi
jmp fcn.0040a4c0
ret
Function at 0x40b2b0
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x84
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x98]
mov ebx, dword [edi + 0x3c8]
mov ebp, dword [edi]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0x80
mov edx, dword [ebx + 0x144]
mov eax, dword [ebx + 0x14c]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [ebx + 0x14]
push 0
add edx, 4
push edx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recvfrom]
mov dword [ebx + 0x13c], eax
mov eax, dword [ebx + 0x138]
test eax, eax
jne 0x40b335
mov ecx, dword [esp + 0x10]
mov edx, ecx
shr ecx, 2
lea esi, [esp + 0x14]
lea edi, [ebx + 0xb8]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x98]
mov dword [ebx + 0x138], eax
mov esi, dword [ebx + 0x13c]
cmp esi, 4
jge 0x40b362
push str.Received_too_short_packet
push ebp
call fcn.00403490
add esp, 8
mov dword [ebx + 0xc], 7
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x84
ret
mov ecx, dword [ebx + 0x14c]
xor edx, edx
mov dh, byte [ecx]
movzx ecx, byte [ecx + 1]
movzx eax, dx
or eax, ecx
mov dword [ebx + 0xc], eax
add eax, 0xfffffffd
cmp eax, 3
ja case.default.0x40b384
jmp dword [eax*4 + 0x40b4a4]
cmp esi, 4
jle case.0x40b384.4
mov eax, dword [ebx + 0x14c]
xor edx, edx
mov dh, byte [eax + 2]
mov dl, byte [eax + 3]
xor eax, eax
mov ax, word [ebx + 0x30]
inc eax
and eax, 0xffff
cmp eax, edx
jne case.0x40b384.4
mov ecx, dword [ebx + 0x14c]
add esi, 0xfffffffc
push esi
add ecx, 4
push ecx
push 1
push edi
call fcn.00403800
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40b3ee
mov eax, 5
mov ecx, ebx
call fcn.0040b230
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret
mov eax, dword [ebx + 0x13c]
mov ecx, dword [ebp + 0x38]
sub eax, 4
cdq
add ecx, eax
mov eax, dword [ebp + 0x3c]
adc eax, edx
mov edx, eax
mov dword [ebp + 0x3c], eax
push edx
mov eax, ecx
push eax
push ebp
mov dword [ebp + 0x38], ecx
call fcn.00416e00
jmp 0x40b474
mov eax, dword [ebx + 0x14c]
mov edx, dword [ebx + 0x14c]
xor ecx, ecx
mov ch, byte [eax + 2]
add edx, 4
push edx
push 0x43269c
push ebp
mov cl, byte [eax + 3]
mov dword [ebx + 8], ecx
call fcn.004033d0
jmp 0x40b474
mov eax, dword [ebx + 0x14c]
add esi, 0xfffffffe
push esi
add eax, 2
push eax
push ebx
call fcn.0040a250
add esp, 0xc
test eax, eax
je case.0x40b384.4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret
push str.Internal_error:_Unexpected_packet
push 0x432684
push ebp
call fcn.00403490
add esp, 0xc
push edi
call fcn.00416ec0
add esp, 4
test eax, eax
je 0x40b355
mov eax, 5
mov ecx, ebx
call fcn.0040b230
pop edi
pop esi
pop ebp
mov eax, 0x2a
pop ebx
add esp, 0x84
ret
Function at 0x40cfe0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
lea eax, [esp]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x40d011
push eax
push str.WSAStartup_failed___d_
push esi
call fcn.00403490
add esp, 0xc
mov eax, 2
add esp, 0x190
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ax, word [esp]
cmp al, 2
jne 0x40d02c
test ah, ah
jne 0x40d02c
xor eax, eax
add esp, 0x190
ret
push str.insufficient_winsock_version_to_support_telnet
push esi
call fcn.00403490
add esp, 8
mov eax, 2
add esp, 0x190
ret

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

Disassembly:
push ecx
mov edx, dword [edi + 0x128]
mov al, byte [esp + 8]
push esi
mov esi, dword [edi]
push 0
push 3
lea ecx, [esp + 0xc]
push ecx
push edx
mov byte [esp + 0x14], 0xff
mov byte [esp + 0x15], al
mov byte [esp + 0x16], bl
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jge 0x40d204
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push esi
call fcn.00403490
add esp, 0xc
mov esi, dword [esp + 0xc]
mov ecx, dword [edi]
push str.SENT
mov eax, ebx
call fcn.0040d0b0
add esp, 4
pop esi
pop ecx
ret
Function at 0x40e880
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov esi, dword [ebp]
push edi
mov edi, dword [ebp + 0x12c]
push 1
push 0
push esi
or ebx, 0xffffffff
mov dword [esp + 0x30], 0x10
call fcn.00403960
add esp, 0xc
test eax, eax
jl 0x40e8e4
mov ecx, 0x3e8
cmp eax, ecx
jge 0x40e8bb
mov ecx, eax
push ecx
push 0xffffffffffffffff
push edi
call fcn.00415520
add esp, 0xc
cmp eax, 0xffffffff
je 0x40e968
test eax, eax
jne 0x40e8ff
push 1
push eax
push esi
call fcn.00403960
add esp, 0xc
test eax, eax
jge 0x40e8b0
push str.Timeout_while_waiting_for_server_connect
push esi
call fcn.00403490
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x1c
pop ebx
add esp, 0x10
ret
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x14]
push ecx
push edi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x40e92f
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x14]
push eax
push edi
mov dword [esp + 0x30], 0x10
call dword [sym.imp.WS2_32.dll_accept]
mov ebx, eax
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
cmp ebx, 0xffffffff
jne 0x40e942
push str.Error_accept__ing_server_connect
jmp 0x40e96d
push str.Connection_accepted_from_server_n
push esi
call fcn.004033d0
push 1
push ebx
mov dword [ebp + 0x12c], ebx
call fcn.00419470
add esp, 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
push str.Error_while_waiting_for_server_connect
push esi
call fcn.00403490
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x1e
pop ebx
add esp, 0x10
ret
Function at 0x40f8a0
Capabilities:
Check http status code

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, eax
mov ebx, dword [esi]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
push edi
add eax, edx
xor edi, edi
cmp eax, 2
je 0x40f8dc
push str.Couldnt_set_desired_mode
push ebx
call fcn.00403490
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x11
pop ebx
ret
cmp ecx, 0xc8
je 0x40f8f3
push ecx
push str.Got_a__03d_response_code_instead_of_the_assumed_200_n
push ebx
call fcn.004033d0
add esp, 0xc
cmp ebp, 0x13
jne 0x40f904
call fcn.0040f460
mov edi, eax
pop edi
pop esi
pop ebp
pop ebx
ret
cmp ebp, 0x14
jne 0x40f917
mov ebx, esi
call fcn.0040f4d0
mov edi, eax
pop edi
pop esi
pop ebp
pop ebx
ret
cmp ebp, 0x15
jne 0x40f930
push 0xd
push 1
push esi
call fcn.00411a00
add esp, 0xc
mov edi, eax
pop edi
pop esi
pop ebp
pop ebx
ret
cmp ebp, 0x16
jne 0x40f944
push 0xe
push 1
push esi
call fcn.00411a00
add esp, 0xc
mov edi, eax
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x415520
Capabilities:
Check for time delay via gettickcount
Get socket status

Disassembly:
sub esp, 0x320
push ebp
mov ebp, dword [esp + 0x328]
push esi
xor esi, esi
cmp ebp, 0xffffffff
push edi
mov edi, dword [esp + 0x334]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
jne 0x415582
cmp edi, ebp
jne 0x415582
mov eax, dword [esp + 0x338]
cmp eax, esi
je 0x415576
jge 0x41556f
push 0x2726
call dword [sym.imp.WS2_32.dll_WSASetLastError]
pop edi
pop esi
or eax, 0xffffffff
pop ebp
add esp, 0x320
ret
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x320
ret
push ebx
mov ebx, dword [esp + 0x33c]
cmp ebx, esi
jle 0x41559d
mov esi, ebx
call fcn.004168e0
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
xor ecx, ecx
xor eax, eax
or edx, 0xffffffff
cmp ebp, 0xffffffff
mov dword [esp + 0x24], ecx
mov dword [esp + 0x128], eax
je 0x4155d1
mov ecx, 1
mov dword [esp + 0x12c], ebp
mov dword [esp + 0x128], ecx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ecx
mov edx, ebp
cmp edi, 0xffffffff
mov dword [esp + 0x22c], eax
je 0x415617
test ecx, ecx
mov dword [esp + 0x230], edi
mov dword [esp + 0x22c], 1
jbe 0x4155fe
cmp dword [esp + eax*4 + 0x28], edi
je 0x4155fe
inc eax
cmp eax, ecx
jb 0x4155f3
cmp eax, ecx
jne 0x41560f
cmp ecx, 0x40
jae 0x41560f
mov dword [esp + eax*4 + 0x28], edi
inc dword [esp + 0x24]
xor eax, eax
cmp edi, edx
jbe 0x415617
mov edx, edi
xor ecx, ecx
cmp ebx, eax
setl cl
lea edi, [esp + 0x18]
dec ecx
and ecx, edi
inc edx
mov ebp, ecx
mov dword [esp + 0x20], edx
jmp 0x415630
xor eax, eax
cmp ebx, eax
jle 0x41564a
mov eax, esi
cdq
mov ecx, 0x3e8
idiv ecx
imul edx, edx, 0x3e8
mov dword [esp + 0x1c], edx
jmp 0x415650
jne 0x415654
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
push ebp
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x234]
push eax
lea ecx, [esp + 0x134]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_select]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4156b6
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x41568d
cmp eax, 0x2714
jne 0x4156b6
test ebx, ebx
jle 0x41562e
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call fcn.004168e0
push edx
push eax
call fcn.00416900
mov esi, ebx
sub esi, eax
add esp, 0x10
test esi, esi
jg 0x41562e
test edi, edi
pop ebx
jl 0x415562
je 0x415576
mov edi, dword [esp + 0x330]
xor esi, esi
cmp edi, 0xffffffff
je 0x4156fc
lea edx, [esp + 0x124]
push edx
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x4156ea
mov esi, 1
lea eax, [esp + 0x20]
push eax
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x4156fc
or esi, 4
mov edi, dword [esp + 0x334]
cmp edi, 0xffffffff
je 0x41572f
lea ecx, [esp + 0x228]
push ecx
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x41571d
or esi, 2
lea edx, [esp + 0x20]
push edx
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x41572f
or esi, 4
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 0x320
ret
Function at 0x415c80
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov dword [eax], 0
call fcn.004168e0
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + 0x124]
push ecx
mov ecx, dword [esi + 0x120]
push ecx
push edx
push eax
call fcn.00416900
mov ebx, dword [esp + 0x40]
add esp, 0x10
cmp eax, ebx
jg 0x415d40
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
lea ebx, [ebx]
mov edx, ebx
sub edx, eax
mov eax, dword [esp + 0x20]
push edx
push 0xffffffffffffffff
push eax
call fcn.00415520
add esp, 0xc
test eax, eax
jle 0x415d63
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x14]
push ecx
push edi
push ebp
push edx
call fcn.004030c0
add esp, 0x10
cmp eax, 0x51
je 0x415d1f
test eax, eax
jne 0x415d66
mov eax, dword [esp + 0x14]
cmp edi, eax
je 0x415d4d
test eax, eax
je 0x415d63
mov ecx, dword [esp + 0x10]
sub edi, eax
add ebp, eax
add ecx, eax
mov dword [esp + 0x10], ecx
call fcn.004168e0
mov ecx, dword [esi + 0x124]
push ecx
mov ecx, dword [esi + 0x120]
push ecx
push edx
push eax
call fcn.00416900
add esp, 0x10
cmp eax, ebx
jle 0x415cd0
pop edi
pop esi
pop ebp
mov eax, 0x1c
pop ebx
add esp, 8
ret
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
add eax, edx
pop ebp
mov dword [ecx], eax
xor eax, eax
pop ebx
add esp, 8
ret
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret

Function at 0x417600
Capabilities:
Parse pe header

Disassembly:
mov al, byte [esp + 4]
movsx ecx, al
add ecx, 0xffffff9f
cmp ecx, 0x19
ja case.default.0x41760f
jmp dword [ecx*4 + 0x417664]
mov al, 0x41
ret
mov al, 0x42
ret
mov al, 0x43
ret
mov al, 0x44
ret
mov al, 0x45
ret
mov al, 0x46
ret
mov al, 0x47
ret
mov al, 0x48
ret
mov al, 0x49
ret
mov al, 0x4a
ret
mov al, 0x4b
ret
mov al, 0x4c
ret
mov al, 0x4d
ret
mov al, 0x4e
ret
mov al, 0x4f
ret
mov al, 0x50
ret
mov al, 0x51
ret
mov al, 0x52
ret
mov al, 0x53
ret
mov al, 0x54
ret
mov al, 0x55
ret
mov al, 0x56
ret
mov al, 0x57
ret
mov al, 0x58
ret
mov al, 0x59
ret
mov al, 0x5a
ret

Function at 0x419490
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push 0
push 0
push eax
push ecx
push 0
push 0
call fcn.00421995
add esp, 0x18
test eax, eax
je 0x4194b3
cmp eax, 0xffffffff
jne 0x4194b5
xor eax, eax
ret

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

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [eax + 0x2c]
push esi
push edi
mov edi, dword [ebx]
mov esi, dword [edi + 0x194]
test esi, esi
jne 0x419509
mov esi, dword [eax + 0x28]
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x20]
push ecx
push edx
call fcn.004168e0
push edx
push eax
call fcn.00416900
sub esi, eax
mov eax, dword [edi + 0x18c]
add esp, 0x10
test eax, eax
je 0x419557
mov eax, dword [ebx + 0x11c]
mov ecx, dword [ebx + 0x118]
push eax
push ecx
call fcn.004168e0
push edx
push eax
call fcn.00416900
mov ecx, dword [edi + 0x18c]
sub ecx, eax
add esp, 0x10
cmp esi, ecx
mov eax, ecx
jge 0x419559
mov eax, esi
pop edi
pop esi
pop ebx
ret
Function at 0x419f00
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
lea eax, [ecx + eax*2 + 0xc]
push edi
push eax
call dword [0x43b038]
mov edi, eax
add esp, 4
test edi, edi
jne 0x419f25
pop edi
pop esi
pop ecx
ret
lea eax, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], eax
mov edx, dword [esi + 0xc]
add edx, eax
push ebx
push ebp
mov ebp, dword [esp + 0x20]
mov dword [edi + 8], edx
cmp ebp, dword [esi + 0x10]
jbe 0x419f68
push eax
call dword [esi]
mov eax, dword [esp + 0x20]
mov ecx, dword [edi + 4]
push ebp
push eax
push ecx
call dword [esi + 4]
mov ebx, dword [edi + 8]
mov eax, dword [esi + 0xc]
mov edx, dword [edi + 4]
add ebx, eax
push edx
push ebx
call dword [esi + 8]
mov ebp, dword [esi + 0x14]
add esp, 0x18
jmp 0x419f6c
mov ebx, dword [esp + 0x1c]
mov eax, dword [edi + 4]
push eax
call dword [esi]
mov ecx, dword [edi + 8]
push ecx
call dword [esi]
add esp, 8
test ebp, ebp
mov dword [esp + 0x10], 0
jbe 0x419fc5
mov dword [esp + 0x10], ebp
jmp 0x419f90
mov dl, byte [ebx]
xor dl, 0x36
push 1
lea eax, [esp + 0x1c]
mov byte [esp + 0x1c], dl
mov ecx, dword [edi + 4]
push eax
push ecx
call dword [esi + 4]
mov dl, byte [ebx]
xor dl, 0x5c
push 1
lea eax, [esp + 0x28]
mov byte [esp + 0x28], dl
mov ecx, dword [edi + 8]
push eax
push ecx
inc ebx
call dword [esi + 4]
add esp, 0x18
dec ebp
jne 0x419f90
mov edx, dword [esp + 0x10]
cmp edx, dword [esi + 0x10]
pop ebp
pop ebx
jae 0x419fff
mov eax, dword [edi + 4]
push 1
push 0x436a34
push eax
call dword [esi + 4]
mov ecx, dword [edi + 8]
push 1
push 0x436a35
push ecx
call dword [esi + 4]
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x10]
add esp, 0x18
inc eax
cmp eax, ecx
mov dword [esp + 8], eax
jb 0x419fd0
mov eax, edi
pop edi
pop esi
pop ecx
ret

Function at 0x41ab00
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x58
mov edx, dword [esp + 0x60]
mov eax, edx
push esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 4], 0x67452301
mov dword [esp + 8], 0xefcdab89
mov dword [esp + 0xc], 0x98badcfe
mov dword [esp + 0x10], 0x10325476
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41ab40
sub eax, esi
push eax
push edx
lea eax, [esp + 0xc]
push eax
call fcn.0041a990
mov edx, dword [esp + 0x6c]
lea ecx, [esp + 0x10]
push ecx
push edx
call fcn.0041aa50
add esp, 0x14
pop esi
add esp, 0x58
ret
Function at 0x41c540
Capabilities:
Read file on windows

Disassembly:
push ebp
push edi
mov edi, eax
mov eax, dword [esi]
mov edx, dword [eax + 4]
xor ecx, ecx
cmp edx, 2
sete cl
mov ebp, ecx
test ebp, ebp
je 0x41c564
mov edx, dword [eax + 8]
push edx
push ebx
push 1
push edi
call dword [esi + 0xc]
jmp 0x41c596
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x41c589
mov eax, dword [eax + 8]
push 0x436d64
push eax
call fcn.0041fbab
add esp, 8
test eax, eax
mov dword [esi + 8], eax
jne 0x41c589
pop edi
or eax, 0xffffffff
pop ebp
ret
mov ecx, dword [esi + 8]
push ecx
push ebx
push 1
push edi
call fcn.00420068
mov edi, eax
add esp, 0x10
test edi, edi
je 0x41c5a3
cmp edi, ebx
jbe 0x41c5bc
test ebp, ebp
jne 0x41c5b6
mov edx, dword [esi + 8]
push edx
call fcn.0041fa7b
add esp, 4
mov dword [esi + 8], ebp
mov eax, dword [esi]
mov ecx, dword [eax]
mov dword [esi], ecx
mov eax, edi
pop edi
pop ebp
ret
Function at 0x41ead1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43b230]
jne 0x41eadb
repz ret
jmp fcn.0042361c

Function at 0x42bb4c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43b230]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0042301a
and dword [ebp - 0x14], 0
cmp dword [0x43d430], 0
mov dword [ebp - 0x18], eax
jne 0x42bbff
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x42bca7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x42bca7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x43d430], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x43d434], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x43d438], eax
call edi
push eax
call esi
mov dword [0x43d440], eax
test eax, eax
je 0x42bbff
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x43d43c], eax
mov eax, dword [0x43d43c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x42bc58
cmp dword [0x43d440], ecx
je 0x42bc58
push eax
call esi
push dword [0x43d440]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x42bc58
test ebx, ebx
je 0x42bc58
call edi
test eax, eax
je 0x42bc4f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x42bc4f
test byte [ebp - 8], 1
jne 0x42bc58
or dword [ebp + 0x10], 0x200000
jmp 0x42bc8b
mov eax, dword [0x43d434]
cmp eax, dword [ebp - 0x18]
je 0x42bc8b
push eax
call esi
test eax, eax
je 0x42bc8b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x42bc8b
mov eax, dword [0x43d438]
cmp eax, dword [ebp - 0x18]
je 0x42bc8b
push eax
call esi
test eax, eax
je 0x42bc8b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43d430]
call esi
test eax, eax
je 0x42bca7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x42bca9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041ead1
leave
ret