joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4174d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x201c
call fcn.0046fcb0
mov eax, dword [0x4abd08]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2010], ecx
lea ecx, [ebp - 0x201c]
push ecx
push 0
mov dword [ebp - 0x2014], edx
push eax
lea edx, [ebp - 0x2008]
push edx
push 0
call fcn.00416cd0
add esp, 0x14
test eax, eax
jne 0x4176bf
push ebx
push esi
mov esi, dword [ebp - 0x2008]
push edi
mov ebx, esi
mov dword [ebp - 0x200c], esi
test esi, esi
je 0x4176ba
jmp 0x417540
cmp dword [ebx + 4], 3
jne 0x41760a
xor edi, edi
lea esp, [esp]
xor eax, eax
cmp dword [ebx + 4], 2
sete al
mov dword [ebp - 0x2018], eax
test eax, eax
je 0x41757b
mov eax, dword [ebx + 8]
push eax
push 0x2000
lea ecx, [ebp - 0x2004]
push 1
push ecx
xor edx, edx
call edx
jmp 0x4175ae
test edi, edi
jne 0x41759a
mov eax, dword [ebx + 8]
push 0x493c08
push eax
call fcn.0046e354
mov edi, eax
add esp, 8
test edi, edi
je 0x417645
push edi
push 0x2000
lea ecx, [ebp - 0x2004]
push 1
push ecx
call fcn.0046ff25
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4175bf
cmp esi, 0x2000
jbe 0x4175d5
cmp dword [ebp - 0x2018], 0
jne 0x4175d3
push edi
call fcn.0046e0ec
add esp, 4
xor edi, edi
mov ebx, dword [ebx]
cmp esi, 0xffffffff
je 0x417638
mov eax, dword [ebp - 0x2010]
push esi
lea edx, [ebp - 0x2004]
push edx
push eax
call dword [ebp - 0x2014]
add esp, 0xc
cmp esi, eax
jne 0x417638
cmp esi, 0x2000
je 0x417550
mov ebx, dword [ebp - 0x200c]
jmp 0x417627
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
mov eax, dword [ebp - 0x2010]
push ecx
push edx
push eax
call dword [ebp - 0x2014]
add esp, 0xc
cmp dword [ebx + 0xc], eax
jne 0x417668
mov ebx, dword [ebx]
mov dword [ebp - 0x200c], ebx
test ebx, ebx
je 0x41768b
jmp 0x417540
test edi, edi
je 0x417645
push edi
call fcn.0046e0ec
add esp, 4
lea ecx, [ebp - 0x2008]
push ecx
call fcn.00416970
add esp, 4
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c641
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x2008]
push edx
call fcn.00416970
add esp, 4
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c641
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x2008]
test esi, esi
je 0x4176ba
cmp dword [esi + 4], 1
mov edi, dword [esi]
jg 0x4176aa
mov eax, dword [esi + 8]
push eax
call dword [0x4ab4a8]
add esp, 4
push esi
call dword [0x4ab4a8]
add esp, 4
mov esi, edi
test edi, edi
jne 0x417695
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c641
mov esp, ebp
pop ebp
ret
Function at 0x417770
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4abd08]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [esi]
push ebx
push edi
mov edi, dword [esi + 0x130]
push 1
push 0
push esi
mov dword [ebp - 0x18], eax
or ebx, 0xffffffff
mov dword [ebp - 0x1c], 0x10
call fcn.00410e30
add esp, 0xc
test eax, eax
js 0x4177e4
jmp 0x4177b0
mov ecx, 0x3e8
cmp eax, ecx
jge 0x4177bb
mov ecx, eax
push ecx
push 0xffffffffffffffff
push edi
call fcn.0042c900
add esp, 0xc
cmp eax, 0xffffffff
je 0x41787d
test eax, eax
jne 0x41780a
push 1
push eax
push esi
call fcn.00410e30
add esp, 0xc
test eax, eax
jns 0x4177b0
mov ecx, dword [ebp - 0x18]
push str.Timeout_while_waiting_for_server_connect
push ecx
call fcn.0042d360
add esp, 8
pop edi
mov eax, 0x1c
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c641
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x417835
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x14]
push edx
push edi
mov dword [ebp - 0x1c], 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 0x41784c
mov eax, dword [ebp - 0x18]
push str.Error_accept__ing_server_connect
push eax
jmp 0x417886
mov ecx, dword [ebp - 0x18]
push str.Connection_accepted_from_server_n
push ecx
call fcn.0042d2e0
push 1
push ebx
mov dword [esi + 0x130], ebx
call fcn.00429330
add esp, 0x10
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c641
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x18]
push str.Error_while_waiting_for_server_connect
push edx
call fcn.0042d360
mov ecx, dword [ebp - 4]
add esp, 8
pop edi
xor ecx, ebp
mov eax, 0x1e
pop ebx
call fcn.0046c641
mov esp, ebp
pop ebp
ret
Function at 0x418810
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push ebx
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 0x418848
push str.Couldnt_set_desired_mode
push ebx
call fcn.0042d360
add esp, 8
lea eax, [edi + 0x11]
pop edi
pop esi
pop ebx
pop ebp
ret
cmp ecx, 0xc8
je 0x41885f
push ecx
push str.Got_a__03d_response_code_instead_of_the_assumed_200_n
push ebx
call fcn.0042d2e0
add esp, 0xc
mov eax, dword [ebp + 8]
cmp eax, 0x13
jne 0x418873
call fcn.004183e0
mov edi, eax
pop edi
pop esi
pop ebx
pop ebp
ret
cmp eax, 0x14
jne 0x418886
mov ebx, esi
call fcn.00418450
mov edi, eax
pop edi
pop esi
pop ebx
pop ebp
ret
cmp eax, 0x15
jne 0x41889f
push 0xd
push 1
push esi
call fcn.0041ac90
add esp, 0xc
mov edi, eax
pop edi
pop esi
pop ebx
pop ebp
ret
cmp eax, 0x16
jne 0x4188b3
push 0xe
push 1
push esi
call fcn.0041ac90
add esp, 0xc
mov edi, eax
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x41ccf0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4abd08]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
call fcn.00470218
add esp, 4
mov byte [ebp - 0x108], 0
test eax, eax
je 0x41cd54
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp byte [ebp - 0x108], 0
je 0x41cd54
lea edx, [ebp - 0x108]
push edx
call dword [0x4ab4b0]
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c641
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.0046c641
mov esp, ebp
pop ebp
ret
Function at 0x41d9f0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
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 [0x4ab4a4]
mov edi, eax
add esp, 4
test edi, edi
jne 0x41da1b
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], eax
mov edx, dword [esi + 0xc]
add edx, eax
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 8], edx
cmp ebx, dword [esi + 0x10]
jbe 0x41da62
push eax
mov eax, dword [esi]
call eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [edi + 4]
mov eax, dword [esi + 4]
push ebx
push ecx
push edx
call eax
mov ebx, dword [edi + 8]
mov ecx, dword [edi + 4]
add ebx, dword [esi + 0xc]
mov edx, dword [esi + 8]
push ecx
push ebx
call edx
mov eax, dword [esi + 0x14]
add esp, 0x18
mov dword [ebp + 0x10], eax
jmp 0x41da65
mov ebx, dword [ebp + 0xc]
mov ecx, dword [edi + 4]
mov edx, dword [esi]
push ecx
call edx
mov eax, dword [edi + 8]
mov ecx, dword [esi]
push eax
call ecx
mov eax, dword [ebp + 0x10]
add esp, 8
mov dword [ebp - 4], 0
test eax, eax
je 0x41dac6
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea esp, [esp]
mov dl, byte [ebx]
xor dl, 0x36
mov byte [ebp + 0xb], dl
mov ecx, dword [edi + 4]
mov edx, dword [esi + 4]
push 1
lea eax, [ebp + 0xb]
push eax
push ecx
call edx
mov al, byte [ebx]
xor al, 0x5c
mov byte [ebp + 0xb], al
mov edx, dword [edi + 8]
mov eax, dword [esi + 4]
push 1
lea ecx, [ebp + 0xb]
push ecx
push edx
inc ebx
call eax
add esp, 0x18
dec dword [ebp - 8]
jne 0x41da90
mov ecx, dword [ebp - 4]
pop ebx
cmp ecx, dword [esi + 0x10]
jae 0x41daff
nop
mov edx, dword [edi + 4]
mov eax, dword [esi + 4]
push 1
push str.6_s:_d
push edx
call eax
mov ecx, dword [edi + 8]
mov edx, dword [esi + 4]
push 1
push 0x4949ff
push ecx
call edx
mov eax, dword [ebp - 4]
inc eax
add esp, 0x18
mov dword [ebp - 4], eax
cmp eax, dword [esi + 0x10]
jb 0x41dad0
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41e3c0
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x48
push 1
mov esi, eax
mov ebx, ecx
call dword [0x4ab4b4]
mov edi, eax
xor eax, eax
add esp, 8
mov dword [ebp - 4], 0xc
mov dword [ebx + 0x39c], edi
cmp edi, eax
je 0x41e47e
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x38c], esi
push esi
mov dword [ebx + 0x394], eax
mov dword [ebx + 0x398], eax
mov dword [ebx + 0x390], eax
push ecx
lea esi, [edi + 0x10]
mov dword [edi + 4], 0xffffffff
mov dword [edi], eax
call fcn.0041e1e0
add esp, 8
test eax, eax
je 0x41e47e
mov edx, dword [ebx + 0x388]
push edx
call sym.XiuMaster_v3.exe_curl_free
mov eax, dword [ebp + 8]
push eax
call dword [0x4ab4b0]
add esp, 8
mov dword [ebx + 0x388], eax
test eax, eax
je 0x41e47e
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
je 0x41e47e
lea eax, [edi + 0x10]
push eax
push 0x41e280
call fcn.00414710
add esp, 8
mov dword [edi], eax
test eax, eax
jne 0x41e4a0
call fcn.00470148
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
add ebx, 0x388
push ebx
call fcn.0041e310
mov edx, dword [ebp - 4]
add esp, 4
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x425380
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x4abd08]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov eax, edx
push edi
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x5c], 0x67452301
mov dword [ebp - 0x58], 0xefcdab89
mov dword [ebp - 0x54], 0x98badcfe
mov dword [ebp - 0x50], 0x10325476
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4253c7
sub eax, edi
push eax
push edx
lea eax, [ebp - 0x5c]
push eax
call fcn.00425200
lea ecx, [ebp - 0x5c]
push ecx
push esi
call fcn.004252b0
mov ecx, dword [ebp - 4]
add esp, 0x14
pop edi
xor ecx, ebp
pop esi
call fcn.0046c641
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [eax + 0x2c]
push esi
push edi
mov edi, dword [ebx]
mov esi, dword [edi + 0x19c]
test esi, esi
jne 0x42998b
mov esi, dword [eax + 0x28]
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x20]
push ecx
push edx
call fcn.004346d0
push edx
push eax
call fcn.00434700
add esp, 0x10
sub esi, eax
cmp dword [edi + 0x194], 0
je 0x4299d8
mov eax, dword [ebx + 0x120]
mov ecx, dword [ebx + 0x11c]
push eax
push ecx
call fcn.004346d0
push edx
push eax
call fcn.00434700
mov ecx, dword [edi + 0x194]
sub ecx, eax
add esp, 0x10
mov eax, ecx
cmp esi, ecx
jge 0x4299da
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x42b6d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 8]
movsx ecx, al
add ecx, 0xffffff9f
cmp ecx, 0x19
ja case.default.0x42b6e1
jmp dword [ecx*4 + 0x42b750]
mov al, 0x41
pop ebp
ret
mov al, 0x42
pop ebp
ret
mov al, 0x43
pop ebp
ret
mov al, 0x44
pop ebp
ret
mov al, 0x45
pop ebp
ret
mov al, 0x46
pop ebp
ret
mov al, 0x47
pop ebp
ret
mov al, 0x48
pop ebp
ret
mov al, 0x49
pop ebp
ret
mov al, 0x4a
pop ebp
ret
mov al, 0x4b
pop ebp
ret
mov al, 0x4c
pop ebp
ret
mov al, 0x4d
pop ebp
ret
mov al, 0x4e
pop ebp
ret
mov al, 0x4f
pop ebp
ret
mov al, 0x50
pop ebp
ret
mov al, 0x51
pop ebp
ret
mov al, 0x52
pop ebp
ret
mov al, 0x53
pop ebp
ret
mov al, 0x54
pop ebp
ret
mov al, 0x55
pop ebp
ret
mov al, 0x56
pop ebp
ret
mov al, 0x57
pop ebp
ret
mov al, 0x58
pop ebp
ret
mov al, 0x59
pop ebp
ret
mov al, 0x5a
pop ebp
ret
Function at 0x42b7c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dl, byte [edi]
test dl, dl
je 0x42b871
mov cl, byte [esi]
test cl, cl
je 0x42b871
movsx eax, dl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x42b7ea
jmp dword [eax*4 + 0x42b898]
mov dl, 0x41
jmp case.default.0x42b7ea
mov dl, 0x42
jmp case.default.0x42b7ea
mov dl, 0x43
jmp case.default.0x42b7ea
mov dl, 0x44
jmp case.default.0x42b7ea
mov dl, 0x45
jmp case.default.0x42b7ea
mov dl, 0x46
jmp case.default.0x42b7ea
mov dl, 0x47
jmp case.default.0x42b7ea
mov dl, 0x48
jmp case.default.0x42b7ea
mov dl, 0x49
jmp case.default.0x42b7ea
mov dl, 0x4a
jmp case.default.0x42b7ea
mov dl, 0x4b
jmp case.default.0x42b7ea
mov dl, 0x4c
jmp case.default.0x42b7ea
mov dl, 0x4d
jmp case.default.0x42b7ea
mov dl, 0x4e
jmp case.default.0x42b7ea
mov dl, 0x4f
jmp case.default.0x42b7ea
mov dl, 0x50
jmp case.default.0x42b7ea
mov dl, 0x51
jmp case.default.0x42b7ea
mov dl, 0x52
jmp case.default.0x42b7ea
mov dl, 0x53
jmp case.default.0x42b7ea
mov dl, 0x54
jmp case.default.0x42b7ea
mov dl, 0x55
jmp case.default.0x42b7ea
mov dl, 0x56
jmp case.default.0x42b7ea
mov dl, 0x57
jmp case.default.0x42b7ea
mov dl, 0x58
jmp case.default.0x42b7ea
mov dl, 0x59
jmp case.default.0x42b7ea
mov dl, 0x5a
push ecx
call fcn.0042b6d0
add esp, 4
cmp dl, al
jne 0x42b871
mov dl, byte [edi + 1]
inc edi
inc esi
test dl, dl
jne 0x42b7d5
movzx eax, byte [edi]
push eax
call fcn.0042b6d0
mov dl, al
movzx eax, byte [esi]
push eax
call fcn.0042b6d0
add esp, 8
xor ecx, ecx
cmp dl, al
sete cl
pop edi
pop esi
mov eax, ecx
pop ebp
ret
Function at 0x42b900
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov dl, byte [ebx]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
test dl, dl
je 0x42b9c5
lea esp, [esp]
mov cl, byte [esi]
test cl, cl
je 0x42b9c5
test edi, edi
je 0x42b9c9
movsx eax, dl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x42b93d
jmp dword [eax*4 + 0x42b9f8]
mov dl, 0x41
jmp case.default.0x42b93d
mov dl, 0x42
jmp case.default.0x42b93d
mov dl, 0x43
jmp case.default.0x42b93d
mov dl, 0x44
jmp case.default.0x42b93d
mov dl, 0x45
jmp case.default.0x42b93d
mov dl, 0x46
jmp case.default.0x42b93d
mov dl, 0x47
jmp case.default.0x42b93d
mov dl, 0x48
jmp case.default.0x42b93d
mov dl, 0x49
jmp case.default.0x42b93d
mov dl, 0x4a
jmp case.default.0x42b93d
mov dl, 0x4b
jmp case.default.0x42b93d
mov dl, 0x4c
jmp case.default.0x42b93d
mov dl, 0x4d
jmp case.default.0x42b93d
mov dl, 0x4e
jmp case.default.0x42b93d
mov dl, 0x4f
jmp case.default.0x42b93d
mov dl, 0x50
jmp case.default.0x42b93d
mov dl, 0x51
jmp case.default.0x42b93d
mov dl, 0x52
jmp case.default.0x42b93d
mov dl, 0x53
jmp case.default.0x42b93d
mov dl, 0x54
jmp case.default.0x42b93d
mov dl, 0x55
jmp case.default.0x42b93d
mov dl, 0x56
jmp case.default.0x42b93d
mov dl, 0x57
jmp case.default.0x42b93d
mov dl, 0x58
jmp case.default.0x42b93d
mov dl, 0x59
jmp case.default.0x42b93d
mov dl, 0x5a
push ecx
call fcn.0042b6d0
add esp, 4
cmp dl, al
jne 0x42b9c5
mov dl, byte [ebx + 1]
inc ebx
dec edi
inc esi
test dl, dl
jne 0x42b920
test edi, edi
jne 0x42b9d3
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret
movzx eax, byte [ebx]
push eax
call fcn.0042b6d0
mov dl, al
movzx eax, byte [esi]
push eax
call fcn.0042b6d0
add esp, 8
xor ecx, ecx
cmp dl, al
sete cl
pop edi
pop esi
pop ebx
mov eax, ecx
pop ebp
ret
Function at 0x42ba60
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0x10]
cmp edi, 1
jb 0x42bb0c
mov edx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
sub esi, edx
lea esp, [esp]
mov al, byte [edx]
movsx ecx, al
add ecx, 0xffffff9f
cmp ecx, 0x19
ja case.default.0x42ba8d
jmp dword [ecx*4 + 0x42bb10]
mov al, 0x41
jmp case.default.0x42ba8d
mov al, 0x42
jmp case.default.0x42ba8d
mov al, 0x43
jmp case.default.0x42ba8d
mov al, 0x44
jmp case.default.0x42ba8d
mov al, 0x45
jmp case.default.0x42ba8d
mov al, 0x46
jmp case.default.0x42ba8d
mov al, 0x47
jmp case.default.0x42ba8d
mov al, 0x48
jmp case.default.0x42ba8d
mov al, 0x49
jmp case.default.0x42ba8d
mov al, 0x4a
jmp case.default.0x42ba8d
mov al, 0x4b
jmp case.default.0x42ba8d
mov al, 0x4c
jmp case.default.0x42ba8d
mov al, 0x4d
jmp case.default.0x42ba8d
mov al, 0x4e
jmp case.default.0x42ba8d
mov al, 0x4f
jmp case.default.0x42ba8d
mov al, 0x50
jmp case.default.0x42ba8d
mov al, 0x51
jmp case.default.0x42ba8d
mov al, 0x52
jmp case.default.0x42ba8d
mov al, 0x53
jmp case.default.0x42ba8d
mov al, 0x54
jmp case.default.0x42ba8d
mov al, 0x55
jmp case.default.0x42ba8d
mov al, 0x56
jmp case.default.0x42ba8d
mov al, 0x57
jmp case.default.0x42ba8d
mov al, 0x58
jmp case.default.0x42ba8d
mov al, 0x59
jmp case.default.0x42ba8d
mov al, 0x5a
mov byte [esi + edx], al
mov al, byte [edx]
inc edx
test al, al
je 0x42bb0b
dec edi
jne 0x42ba80
pop esi
pop edi
pop ebp
ret
Function at 0x42cfc0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push 0
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x42cff3
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
sub eax, 0x2733
neg eax
sbb eax, eax
and eax, 0xffffffe7
add eax, 0x51
pop ebp
ret
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
xor eax, eax
pop ebp
ret

Function at 0x42d140
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x4abd08]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x290], 0
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x18]
push edi
je case.default.0x42d198
test eax, eax
je case.default.0x42d198
mov eax, dword [eax + 0x80]
test eax, eax
je case.default.0x42d198
lea edx, [ebx - 1]
mov ecx, str.Data
cmp edx, 3
ja case.default.0x42d198
jmp dword [edx*4 + 0x42d2c8]
mov ecx, str.Header
mov edx, str.from
jmp 0x42d1b5
mov ecx, str.Header
mov edx, 0x4968c8
push eax
push edx
push ecx
push str.__s__s__s_
lea ecx, [ebp - 0xa4]
push 0xa0
push ecx
call dword [0x4a3aa4]
lea eax, [ebp - 0xa4]
add esp, 0x18
lea edx, [eax + 1]
jmp 0x42d1e0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42d1e0
sub eax, edx
mov edi, eax
mov eax, dword [esi + 0x164]
test eax, eax
je 0x42d248
mov edx, dword [esi + 0xf4]
push edx
push edi
lea ecx, [ebp - 0xa4]
push ecx
push 0
push esi
call eax
add esp, 0x14
test eax, eax
jne 0x42d2b7
mov eax, dword [esi + 0x164]
test eax, eax
je 0x42d278
mov edx, dword [esi + 0xf4]
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp - 0xa8]
push ecx
push edx
push ebx
push esi
call eax
add esp, 0x14
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c641
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0xf0]
push edx
push 1
push 2
push 0x4968a4
call fcn.0046f708
mov eax, dword [esi + 0xf0]
push eax
push 1
lea ecx, [ebp - 0xa4]
push edi
push ecx
call fcn.0046f708
add esp, 0x20
jmp case.default.0x42d198
test ebx, ebx
js 0x42d2b5
cmp ebx, 2
jg 0x42d2b5
mov eax, dword [esi + 0xf0]
push eax
push 1
lea ecx, [ebx + ebx*2 + 0x4968a4]
push 2
push ecx
call fcn.0046f708
mov edx, dword [esi + 0xf0]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0xa8]
push edx
push 1
push eax
push ecx
call fcn.0046f708
add esp, 0x20
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046c641
mov esp, ebp
pop ebp
ret
Function at 0x42d400
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov eax, dword [0x4abd08]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, dword [edi]
lea eax, [ebp + 0x14]
push eax
push ecx
mov dword [ebp - 0xb4], edi
call dword [0x4a3acc]
mov ecx, eax
add esp, 8
mov dword [ebp - 0xbc], ecx
test ecx, ecx
jne 0x42d450
pop edi
lea eax, [ecx + 0x1b]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c641
mov esp, ebp
pop ebp
ret
push ebx
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42d454
sub eax, ebx
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xa8], ecx
lea esp, [esp]
mov edx, dword [ebp + 8]
xor eax, eax
cmp edx, dword [edi + 0x130]
mov edx, dword [ebp - 0xb0]
sete al
lea ecx, [ebp - 0xb8]
push ecx
mov ecx, dword [ebp - 0xa8]
push edx
push ecx
mov dword [ebp - 0xb8], 0
mov edx, dword [edi + eax*4 + 0x13c]
push eax
push edi
call edx
mov ebx, eax
xor ecx, ecx
add esp, 0x14
cmp ebx, ecx
jge 0x42d4cc
mov eax, dword [ebp - 0xb8]
cmp eax, ecx
je 0x42d5d0
cmp eax, 0x51
jne 0x42d5c8
xor ebx, ebx
mov dword [ebp - 0xac], ecx
cmp dword [esi + 0x2d8], ecx
je 0x42d5af
cmp dword [esi + 0x290], ecx
je 0x42d556
mov eax, dword [edi + 0x80]
cmp eax, ecx
je 0x42d556
push eax
push 0x4968c8
push str.Data
push str.__s__s__s_
lea eax, [ebp - 0xa4]
push 0xa0
push eax
call dword [0x4a3aa4]
lea eax, [ebp - 0xa4]
add esp, 0x18
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42d520
sub eax, edx
mov edi, eax
mov eax, dword [esi + 0x164]
test eax, eax
je 0x42d579
mov ecx, dword [esi + 0xf4]
push ecx
push edi
lea edx, [ebp - 0xa4]
push edx
push 0
push esi
call eax
add esp, 0x14
test eax, eax
jne 0x42d5a9
mov edi, dword [ebp - 0xb4]
mov eax, dword [esi + 0x164]
test eax, eax
je 0x42d5af
mov ecx, dword [esi + 0xf4]
mov edx, dword [ebp - 0xa8]
push ecx
push ebx
push edx
push 4
push esi
call eax
add esp, 0x14
jmp 0x42d5af
mov eax, dword [esi + 0xf0]
push eax
push 1
push 2
push 0x4968a4
call fcn.0046f708
mov ecx, dword [esi + 0xf0]
push ecx
push 1
lea edx, [ebp - 0xa4]
push edi
push edx
call fcn.0046f708
add esp, 0x20
jmp 0x42d550
mov edi, dword [ebp - 0xb4]
cmp ebx, dword [ebp - 0xb0]
je 0x42d5da
sub dword [ebp - 0xb0], ebx
add dword [ebp - 0xa8], ebx
jmp 0x42d470
mov dword [ebp - 0xac], eax
jmp 0x42d5da
mov dword [ebp - 0xac], 0x37
mov eax, dword [ebp - 0xbc]
push eax
call dword [0x4ab4a8]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xac]
add esp, 4
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.0046c641
mov esp, ebp
pop ebp
ret