joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4152f1
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x520]
cmp eax, 0xffffffff
push esi
je 0x415344
mov ecx, dword [ecx + 0x514]
mov ecx, dword [ecx]
lea eax, [ecx + eax*4]
cmp dword [eax], 0
je 0x415344
mov ecx, dword [ebp + 0xc]
test ecx, ecx
mov eax, dword [eax]
je 0x41531e
mov dword [ecx], eax
cmp dword [eax + 0x140], 0
mov esi, dword [eax + 0x128]
jne 0x415344
push 2
push 1
lea eax, [ebp + 0xb]
push eax
push esi
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x415344
mov eax, esi
jmp 0x415347
or eax, 0xffffffff
pop esi
pop ebp
ret

Function at 0x415892
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x48
push 1
mov ebx, eax
mov edi, ecx
call dword [0x441010]
mov esi, eax
xor eax, eax
cmp esi, eax
pop ecx
pop ecx
mov dword [ebp - 4], 0xc
mov dword [edi + 0x3ac], esi
je 0x415945
mov dword [edi + 0x3a4], eax
mov dword [edi + 0x3a8], eax
mov dword [edi + 0x3a0], eax
mov dword [edi + 0x39c], ebx
or dword [esi + 4], 0xffffffff
push ebx
push dword [ebp + 8]
mov dword [esi], eax
lea eax, [esi + 0x10]
call fcn.0041574f
test eax, eax
pop ecx
pop ecx
je 0x415945
lea ebx, [edi + 0x398]
push dword [ebx]
call fcn.0040cde3
push dword [ebp + 8]
call dword [0x44100c]
test eax, eax
pop ecx
pop ecx
mov dword [ebx], eax
je 0x415945
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi + 4], eax
je 0x415945
lea eax, [esi + 0x10]
push eax
push 0x4157be
call fcn.00427cdf
test eax, eax
pop ecx
pop ecx
mov dword [esi], eax
jne 0x41595f
call dword [sym.imp.MSVCR80.dll__errno]
mov eax, dword [eax]
mov dword [ebp - 4], eax
add edi, 0x398
push edi
call fcn.0041583c
pop ecx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x415962
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41ac3c
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x14]
push ebx
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
mov dword [ebp - 4], ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x10], ebx
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x41ad9b
push edi
mov edi, dword [ebp - 0xc]
cmp edi, ebx
je 0x41ad80
push esi
cmp dword [edi + 4], 2
jne 0x41ad1a
cmp dword [edi + 0x18], ebx
je 0x41ad1a
mov eax, dword [edi + 0x10]
cmp eax, ebx
jbe 0x41ad1a
cmp eax, 0x10
jb 0x41ad1a
push 0x20
call dword [section..data]
mov esi, eax
cmp esi, ebx
pop ecx
je 0x41ad27
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
push 0x10
mov dword [esi + 0xc], eax
pop eax
push eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x1c], ebx
call dword [section..data]
cmp eax, ebx
pop ecx
mov dword [esi + 0x18], eax
je 0x41ad30
push 0x10
push dword [edi + 0x18]
push eax
call sub.MSVCR80.dll_memcpy
mov eax, dword [edi + 0x14]
add esp, 0xc
cmp eax, ebx
je 0x41ad05
push eax
call dword [0x44100c]
cmp eax, ebx
pop ecx
mov dword [esi + 0x14], eax
je 0x41ad40
cmp dword [ebp - 4], ebx
jne 0x41ad0d
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x41ad17
mov dword [eax + 0x1c], esi
mov dword [ebp - 0x10], esi
mov edi, dword [edi + 0x1c]
cmp edi, ebx
jne 0x41ac7b
jmp 0x41ad59
mov dword [ebp - 8], 8
jmp 0x41ad59
push esi
mov dword [ebp - 8], 8
call dword [0x441004]
jmp 0x41ad58
push dword [esi + 0x18]
mov dword [ebp - 8], 8
call dword [0x441004]
push esi
call dword [0x441004]
pop ecx
pop ecx
cmp dword [ebp - 0xc], ebx
pop esi
je 0x41ad68
push dword [ebp - 0xc]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp dword [ebp - 8], ebx
je 0x41ad7b
push dword [ebp - 4]
call fcn.0041ac00
pop ecx
mov dword [ebp - 4], ebx
jmp 0x41ad8f
cmp dword [ebp - 4], ebx
jne 0x41ad8f
mov eax, 0x2af9
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
pop edi
pop ebx
leave
ret
Function at 0x41e8a8
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esi + 0x10]
push str.Connected_for_receive
push 0x4375d0
push dword [eax]
call fcn.0041446d
add esp, 0xc
mov eax, esi
mov dword [esi], 1
call fcn.0041dd28
test eax, eax
jne 0x41e8d7
mov eax, esi
jmp fcn.0041e0ab
ret
Function at 0x41ebf9
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x8c
mov eax, dword [0x441040]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, dword [ebx + 0x3c8]
push edi
mov edi, dword [ebx]
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], 0x80
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esi + 0x154]
push 0
add eax, 4
push eax
push dword [esi + 0x15c]
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [esi + 0x148], 0
mov dword [esi + 0x14c], eax
jne 0x41ec70
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
push eax
lea eax, [esi + 0xc8]
push eax
call sub.MSVCR80.dll_memcpy
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov dword [esi + 0x148], eax
mov ecx, dword [esi + 0x14c]
cmp ecx, 4
jge 0x41eca2
push str.Received_too_short_packet
push edi
call fcn.004144d7
pop ecx
pop ecx
mov dword [esi + 0xc], 7
xor eax, eax
mov ecx, dword [ebp + 0x74]
pop edi
xor ecx, ebp
pop esi
call fcn.0042b108
add ebp, 0x78
leave
ret
mov eax, dword [esi + 0x15c]
xor edx, edx
mov dh, byte [eax]
movzx eax, byte [eax + 1]
movzx edx, dx
or edx, eax
mov dword [esi + 0xc], edx
sub edx, 3
je 0x41ed27
dec edx
je 0x41ed99
dec edx
je 0x41ecff
dec edx
je 0x41ecdf
push str.Internal_error:_Unexpected_packet
push 0x437440
push edi
call fcn.004144d7
jmp 0x41ed96
mov eax, dword [esi + 0x15c]
add ecx, 0xfffffffe
inc eax
push ecx
inc eax
push eax
push esi
call fcn.0041dea2
add esp, 0xc
test eax, eax
je 0x41ed99
jmp 0x41ec91
mov eax, dword [esi + 0x15c]
xor ecx, ecx
mov ch, byte [eax + 2]
mov cl, byte [eax + 3]
mov eax, dword [esi + 0x15c]
add eax, 4
push eax
push 0x4375d0
push edi
mov dword [esi + 8], ecx
call fcn.0041446d
jmp 0x41ed96
cmp ecx, 4
jle 0x41ed99
mov eax, dword [esi + 0x15c]
xor edx, edx
mov dh, byte [eax + 2]
mov dl, byte [eax + 3]
movzx eax, word [esi + 0x40]
inc eax
and eax, 0xffff
cmp eax, edx
jne 0x41ed99
mov eax, dword [esi + 0x15c]
add ecx, 0xfffffffc
push ecx
add eax, 4
push eax
push 1
push ebx
call fcn.0041472a
add esp, 0x10
test eax, eax
mov dword [ebp - 0x14], eax
je 0x41ed7a
push 5
mov eax, esi
call fcn.0041eb8b
mov eax, dword [ebp - 0x14]
pop ecx
jmp 0x41ec91
mov eax, dword [esi + 0x14c]
sub eax, 4
cdq
add dword [edi + 0x38], eax
adc dword [edi + 0x3c], edx
push dword [edi + 0x3c]
push dword [edi + 0x38]
push edi
call fcn.004163c1
add esp, 0xc
push ebx
call fcn.00416457
test eax, eax
pop ecx
je 0x41ec8f
push 5
mov eax, esi
call fcn.0041eb8b
pop ecx
push 0x2a
pop eax
jmp 0x41ec91
Function at 0x420526
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x441040]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x194]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x42055d
push eax
push str.WSAStartup_failed___d_
push esi
call fcn.004144d7
add esp, 0xc
jmp 0x420586
call dword [sym.imp.WS2_32.dll_WSACleanup]
cmp byte [ebp - 0x194], 2
jne 0x420579
cmp byte [ebp - 0x193], 0
jne 0x420579
xor eax, eax
jmp 0x420589
push str.insufficient_winsock_version_to_support_telnet
push esi
call fcn.004144d7
pop ecx
pop ecx
push 2
pop eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042b108
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, eax
mov al, byte [ebp + 8]
push 0
mov byte [ebp - 3], al
push 3
lea eax, [ebp - 4]
mov esi, ecx
mov edi, dword [esi]
push eax
push dword [esi + 0x128]
mov byte [ebp - 4], 0xff
mov byte [ebp - 2], bl
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jge 0x4206a6
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push edi
call fcn.004144d7
add esp, 0xc
mov edx, dword [ebp + 8]
mov esi, dword [esi]
mov ecx, ebx
mov ebx, str.SENT
call fcn.00420595
pop edi
pop esi
pop ebx
leave
ret
Function at 0x420cac
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
lea ebp, [esp - 0x890]
sub esp, 0x910
mov eax, dword [0x441040]
xor eax, ebp
mov dword [ebp + 0x88c], eax
push ebx
mov ebx, ecx
mov ecx, dword [ebx]
push esi
mov esi, dword [ecx + 0x864c]
mov eax, dword [esi + 0x1ab0]
sub eax, dword [esi + 0x1aac]
push edi
inc eax
inc eax
push eax
push 0x3c
lea eax, [esi + 0x18ac]
push ecx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ecx
call fcn.00420897
mov eax, dword [esi + 0x1aac]
movzx ecx, byte [eax]
add esp, 0xc
inc eax
cmp ecx, 0x18
mov dword [esi + 0x1aac], eax
je 0x420e36
cmp ecx, 0x23
je 0x420e15
cmp ecx, 0x27
jne 0x420eb8
push 0
push ecx
push 0xfa
mov edi, 0xff
push edi
push str._c_c_c_c
lea eax, [ebp - 0x74]
push 0x800
push eax
call fcn.0041a145
mov esi, dword [esi + 0x18a8]
add esp, 0x1c
push 4
pop ebx
jmp 0x420db6
push dword [esi]
call sub.MSVCR80.dll_strlen
inc eax
add eax, ebx
cmp eax, 0x7fa
pop ecx
mov dword [ebp - 0x80], eax
jae 0x420db3
lea eax, [ebp + 0x80c]
push eax
lea eax, [ebp + 0x78c]
push eax
push str._127_____127s
push dword [esi]
call dword [sym.imp.MSVCR80.dll_sscanf]
lea eax, [ebp + 0x80c]
push eax
push 1
lea eax, [ebp + 0x78c]
push eax
push 0
mov eax, 0x800
sub eax, ebx
push str._c_s_c_s
push eax
lea eax, [ebp + ebx - 0x74]
push eax
call fcn.0041a145
mov ebx, dword [ebp - 0x80]
add esp, 0x2c
mov esi, dword [esi + 4]
test esi, esi
jne 0x420d54
push 0xf0
push edi
mov eax, 0x800
sub eax, ebx
push 0x439c94
push eax
lea eax, [ebp + ebx - 0x74]
push eax
call fcn.0041a145
add esp, 0x14
push esi
inc ebx
inc ebx
push ebx
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x7c]
push dword [eax + 0x128]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jge 0x420e0c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push dword [ebp - 0x78]
call fcn.004144d7
add esp, 0xc
add ebx, 0xfffffffe
push ebx
jmp 0x420ea8
add esi, 0x1828
push esi
mov dword [ebp - 0x7c], esi
call sub.MSVCR80.dll_strlen
push 0xf0
mov edi, 0xff
push edi
push esi
push 0
push 0x23
jmp 0x420e55
add esi, 0x1808
push esi
mov dword [ebp - 0x7c], esi
call sub.MSVCR80.dll_strlen
push 0xf0
mov edi, 0xff
push edi
push esi
push 0
push 0x18
push 0xfa
push edi
push str._c_c_c_c_s_c_c
mov esi, eax
lea eax, [ebp - 0x74]
push 0x800
push eax
add esi, 6
call fcn.0041a145
add esp, 0x2c
push 0
push esi
lea eax, [ebp - 0x74]
push eax
push dword [ebx + 0x128]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jge 0x420ea4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push dword [ebp - 0x78]
call fcn.004144d7
add esp, 0xc
add esi, 0xfffffffe
push esi
push 0x3e
push dword [ebp - 0x78]
lea eax, [ebp - 0x72]
call fcn.00420897
add esp, 0xc
mov ecx, dword [ebp + 0x88c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042b108
add ebp, 0x890
leave
ret
Function at 0x42183b
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x441040]
xor eax, ebp
mov dword [ebp - 4], eax
or dword [ebp - 0x1c], 0xffffffff
push ebx
mov ebx, dword [esi + 0x12c]
push edi
mov edi, dword [esi]
mov dword [ebp - 0x18], 0x10
jmp 0x421886
mov ecx, 0x3e8
cmp eax, ecx
jge 0x42186d
mov ecx, eax
push ecx
push 0xffffffffffffffff
push ebx
call fcn.00425144
add esp, 0xc
cmp eax, 0xffffffff
je 0x42190a
test eax, eax
jne 0x4218a8
push 1
push 0
push edi
call fcn.00414859
add esp, 0xc
test eax, eax
jge 0x421862
push str.Timeout_while_waiting_for_server_connect
push edi
call fcn.004144d7
pop ecx
pop ecx
push 0x1c
jmp 0x421919
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x4218d4
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
mov dword [ebp - 0x18], 0x10
call dword [sym.imp.WS2_32.dll_accept]
mov dword [ebp - 0x1c], eax
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
mov ebx, dword [ebp - 0x1c]
cmp ebx, 0xffffffff
jne 0x4218ea
push str.Error_accept__ing_server_connect
jmp 0x42190f
push str.Connection_accepted_from_server_n
push edi
call fcn.0041446d
push 1
push ebx
mov dword [esi + 0x12c], ebx
call fcn.00427cc2
add esp, 0x10
xor eax, eax
jmp 0x42191a
push str.Error_while_waiting_for_server_connect
push edi
call fcn.004144d7
pop ecx
pop ecx
push 0x1e
pop eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0042b108
leave
ret
Function at 0x4225b5
Capabilities:
Check http status code

Disassembly:
mov eax, dword [esp + 4]
push ebx
push edi
push 0x64
cdq
pop ebx
idiv ebx
mov ecx, dword [esi]
xor edi, edi
cmp eax, 2
je 0x4225dc
push str.Couldnt_set_desired_mode
push ecx
call fcn.004144d7
pop ecx
pop ecx
push 0x11
pop eax
jmp 0x422637
cmp dword [esp + 0xc], 0xc8
je 0x4225f8
push dword [esp + 0xc]
push str.Got_a__03d_response_code_instead_of_the_assumed_200_n
push ecx
call fcn.0041446d
add esp, 0xc
mov eax, dword [esp + 0x10]
cmp eax, 0x13
jne 0x42260a
mov eax, esi
call fcn.00422202
jmp 0x422633
cmp eax, 0x14
jne 0x422618
push esi
call fcn.00422246
pop ecx
jmp 0x422633
cmp eax, 0x15
jne 0x422621
push 0xd
jmp 0x422628
cmp eax, 0x16
jne 0x422635
push 0xe
push 1
push esi
call fcn.0042420b
add esp, 0xc
mov edi, eax
mov eax, edi
pop edi
pop ebx
ret
Function at 0x425144
Capabilities:
Check for time delay via gettickcount
Get socket status

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x31c
push ebx
mov ebx, dword [ebp + 0x78]
push esi
mov esi, dword [ebp + 0x74]
xor edx, edx
push edi
xor edi, edi
cmp esi, 0xffffffff
mov dword [ebp + 0x64], edx
mov dword [ebp + 0x68], edx
jne 0x425178
cmp ebx, esi
jne 0x425178
mov eax, dword [ebp + 0x7c]
call fcn.00425125
jmp 0x425315
cmp dword [ebp + 0x7c], edx
jle 0x42518d
mov edi, dword [ebp + 0x7c]
call fcn.00415f6c
mov dword [ebp + 0x68], edx
mov dword [ebp + 0x64], eax
xor edx, edx
xor eax, eax
or ecx, 0xffffffff
inc eax
cmp esi, ecx
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0x1ac], edx
je 0x4251bd
mov dword [ebp - 0x1a8], esi
mov dword [ebp - 0x1ac], eax
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xa8], eax
mov ecx, esi
cmp ebx, 0xffffffff
mov dword [ebp - 0x2b0], edx
je 0x425214
mov dword [ebp - 0x2b0], eax
xor eax, eax
cmp dword [ebp - 0xa8], edx
mov dword [ebp - 0x2ac], ebx
jbe 0x4251f0
cmp dword [ebp + eax*4 - 0xa4], ebx
je 0x4251f0
inc eax
cmp eax, dword [ebp - 0xa8]
jb 0x4251de
cmp eax, dword [ebp - 0xa8]
jne 0x42520e
cmp dword [ebp - 0xa8], 0x40
jae 0x42520e
mov dword [ebp + eax*4 - 0xa4], ebx
inc dword [ebp - 0xa8]
cmp ebx, ecx
jbe 0x425214
mov ecx, ebx
cmp dword [ebp + 0x7c], edx
jge 0x42521d
xor ebx, ebx
jmp 0x425220
lea ebx, [ebp + 0x5c]
lea esi, [ecx + 1]
xor eax, eax
cmp dword [ebp + 0x7c], eax
jle 0x42523f
mov eax, edi
cdq
mov ecx, 0x3e8
idiv ecx
imul edx, edx, 0x3e8
mov dword [ebp + 0x60], edx
jmp 0x425244
jne 0x425247
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x5c], eax
push ebx
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x2b0]
push eax
lea eax, [ebp - 0x1ac]
push eax
push esi
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
jne 0x4252a0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x42527a
cmp eax, 0x2714
jne 0x4252a4
cmp dword [ebp + 0x7c], 0
jle 0x425223
push dword [ebp + 0x68]
push dword [ebp + 0x64]
call fcn.00415f6c
push edx
push eax
call fcn.00415f82
mov edi, dword [ebp + 0x7c]
sub edi, eax
add esp, 0x10
test edi, edi
jg 0x425223
jmp 0x4252a4
test eax, eax
jge 0x4252a9
or eax, 0xffffffff
jmp 0x425315
jne 0x4252af
xor eax, eax
jmp 0x425315
xor esi, esi
cmp dword [ebp + 0x74], 0xffffffff
je 0x4252e1
lea eax, [ebp - 0x1ac]
push eax
push dword [ebp + 0x74]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x4252cb
inc esi
lea eax, [ebp - 0xa8]
push eax
push dword [ebp + 0x74]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x4252e1
or esi, 4
cmp dword [ebp + 0x78], 0xffffffff
je 0x425313
lea eax, [ebp - 0x2b0]
push eax
push dword [ebp + 0x78]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x4252fd
or esi, 2
lea eax, [ebp - 0xa8]
push eax
push dword [ebp + 0x78]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x425313
or esi, 4
mov eax, esi
pop edi
pop esi
pop ebx
add ebp, 0x6c
leave
ret
Function at 0x425f56
Capabilities:
Parse pe header

Disassembly:
movsx eax, byte [esp + 4]
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x425f63
jmp dword [eax*4 + 0x425fbe]
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
mov al, byte [esp + 4]
ret

Function at 0x427cdf
Capabilities:
Create thread

Disassembly:
push 0
push 0
push dword [esp + 0x10]
push dword [esp + 0x10]
push 0
push 0
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x427d01
cmp eax, 0xffffffff
jne 0x427d03
xor eax, eax
ret
Function at 0x42880c
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 + 0x19c]
test esi, esi
jne 0x428825
mov esi, dword [eax + 0x28]
push dword [eax + 0x24]
push dword [eax + 0x20]
call fcn.00415f6c
push edx
push eax
call fcn.00415f82
add edi, 0x194
add esp, 0x10
sub esi, eax
cmp dword [edi], 0
je 0x42886c
push dword [ebx + 0x11c]
push dword [ebx + 0x118]
call fcn.00415f6c
push edx
push eax
call fcn.00415f82
mov edi, dword [edi]
sub edi, eax
add esp, 0x10
cmp esi, edi
jl 0x42886c
mov esi, edi
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x428dca
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
lea eax, [ecx + eax*2 + 0xc]
push edi
push eax
call dword [section..data]
mov edi, eax
test edi, edi
pop ecx
je 0x428ea8
lea eax, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], eax
mov ecx, dword [esi + 0xc]
add ecx, eax
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 8], ecx
cmp ebx, dword [esi + 0x10]
jbe 0x428e2c
push eax
call dword [esi]
push ebx
push dword [ebp + 0xc]
push dword [edi + 4]
call dword [esi + 4]
mov ebx, dword [edi + 8]
add ebx, dword [esi + 0xc]
push dword [edi + 4]
push ebx
call dword [esi + 8]
mov dword [ebp + 0xc], ebx
mov ebx, dword [esi + 0x14]
add esp, 0x18
push dword [edi + 4]
call dword [esi]
push dword [edi + 8]
call dword [esi]
and dword [ebp - 4], 0
test ebx, ebx
pop ecx
pop ecx
jbe 0x428e7b
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 0xc]
mov al, byte [ebx]
xor al, 0x36
mov byte [ebp + 0xb], al
push 1
lea eax, [ebp + 0xb]
push eax
push dword [edi + 4]
call dword [esi + 4]
mov al, byte [ebx]
xor al, 0x5c
mov byte [ebp + 0xb], al
push 1
lea eax, [ebp + 0xb]
push eax
push dword [edi + 8]
inc ebx
mov dword [ebp + 0xc], ebx
call dword [esi + 4]
add esp, 0x18
dec dword [ebp - 8]
jne 0x428e46
pop ebx
jmp 0x428e9e
push 1
push 0x43bf00
push dword [edi + 4]
call dword [esi + 4]
push 1
push 0x43bf01
push dword [edi + 8]
call dword [esi + 4]
add esp, 0x18
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0x10]
jb 0x428e7e
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x428f05
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x42b04f
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x441040]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0042af8e
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x42b09e
cmp dword [ebp - 0x1c], 5
jb 0x42b0b6
jmp 0x42b0b2
cmp dword [ebp - 0x10], 1
jne 0x42b0b6
cmp dword [ebp - 0x1c], 4
ja 0x42b0b2
jne 0x42b0b6
cmp dword [ebp - 0x18], 0
jbe 0x42b0b6
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x43c02c
call fcn.0042ae41
test eax, eax
jge 0x42b0d7
mov byte [0x44194c], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042b108
add ebp, 0x78
leave
ret

Function at 0x42b108
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x441040]
jne 0x42b112
repz ret
jmp fcn.0042b984
Function at 0x42c090
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43422b
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x441040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24c], ecx
mov eax, dword [ebp - 0x24c]
cmp dword [eax + 8], 1
jne 0x42c0e0
mov ecx, dword [ebp - 0x24c]
xor eax, eax
cmp dword [ecx], 0
setne al
jmp 0x42c224
mov edx, dword [ebp - 0x24c]
mov dword [edx + 8], 1
lea ecx, [ebp - 0x30]
call fcn.004095e0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov word [ebp - 0x23c], 0
push 0x206
push 0
lea eax, [ebp - 0x23a]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp dword [ebp + 8], 0
jne 0x42c141
push 0x104
lea ecx, [ebp - 0x23c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0x10], eax
jmp 0x42c161
push 0x104
lea edx, [ebp - 0x23c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x42c17e
lea ecx, [ebp - 0x23c]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00409620
lea ecx, [ebp - 0x30]
call fcn.004096d0
push str.kispublic.dll
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::append_wchar_t_const__]
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42c1c1
mov dword [ebp - 0x240], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00409600
mov eax, dword [ebp - 0x240]
jmp 0x42c224
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, dword [ebp - 0x24c]
mov dword [edx], eax
mov eax, dword [ebp - 0x24c]
cmp dword [eax], 0
jne 0x42c205
mov dword [ebp - 0x244], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00409600
mov eax, dword [ebp - 0x244]
jmp 0x42c224
mov dword [ebp - 0x248], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00409600
mov eax, dword [ebp - 0x248]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042b108
mov esp, ebp
pop ebp
ret 4