joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432560
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x24]
mov eax, 0x180
mov edx, 0x140
push esi
push edi
cmp dword [ebp], 0x75a0d0
mov ecx, dword [ebp + 8]
cmovne eax, edx
mov dword [esp + 0x20], ecx
add eax, dword [ebp + 0xc]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x432598
mov byte [eax], 0
mov ebx, dword [esp + 0x30]
mov esi, dword [ebx + 0x8d8]
test esi, esi
je 0x43274c
push dword [ecx + 8]
mov edi, dword [esi + 0x14]
call dword [0x75a08c]
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
je 0x4325f1
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x1c9], 0
je 0x4325fe
push dword [eax + 0x64]
call dword [0x75a08c]
mov ecx, eax
add esp, 4
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x432606
mov edi, dword [esp + 0x30]
push edi
call dword [0x75a084]
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x18
ret
mov dword [esp + 0x10], 0
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x1ca], 0
je 0x43261e
mov ecx, dword [eax + 0x43c]
mov dword [esp + 0x14], ecx
jmp 0x432626
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x43263c
test byte [eax + 4], 0x10
je 0x43263c
lea edx, [eax + 0x78]
mov dword [esp + 0x2c], edx
jmp 0x432646
lea eax, [ebx + 0x8dc]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x4a4]
mov ecx, 1
cmp eax, ecx
jbe 0x432693
mov eax, dword [ebx + 0x8d8]
add eax, 0x74
nop
cmp dword [eax - 8], 0
mov edx, edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edi
je 0x43268d
mov edi, dword [eax]
lea esi, [eax - 0x14]
cmp edi, edx
cmovge esi, dword [esp + 0x1c]
inc ecx
add eax, 0x60
cmp edi, edx
cmovge edi, edx
cmp ecx, dword [ebx + 0x4a4]
jb 0x432660
mov eax, dword [ebx + 0x4a4]
cmp ecx, eax
jne 0x4326a2
push esi
call fcn.00432f70
add esp, 4
jmp 0x4326ae
lea esi, [ecx + ecx*2]
shl esi, 5
add esi, dword [ebx + 0x8d8]
mov eax, dword [esp + 0x34]
push dword [esi]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
mov dword [esi + 0x14], eax
call dword [0x75a084]
push dword [esi + 4]
call dword [0x75a084]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x18]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x28]
mov dword [esi], edi
mov dword [esi + 4], ebx
mov eax, dword [eax + 0x10]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0xc]
lea ebp, [esi + 0x20]
push ebp
push dword [esp + 0x30]
mov eax, dword [eax + 0x1e0]
mov eax, dword [eax]
mov dword [esi + 8], eax
call fcn.00431da0
add esp, 0x10
test al, al
jne 0x432741
push ebp
call fcn.00432020
push edi
mov dword [esi + 0xc], 0
call dword [0x75a084]
push ebx
call dword [0x75a084]
add esp, 0xc
mov eax, 0x1b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x43274c
mov byte [eax], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x436b10
Capabilities:
Get common file path

Disassembly:
push ecx
push ebx
push edi
push 0x7436fc
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
jne 0x436b2a
pop edi
pop ebx
pop ecx
ret
push ebp
push esi
push str.LoadLibraryExA
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [esp + 0x18]
mov ebp, eax
push 0x743718
push esi
call fcn.0047ed90
add esp, 8
test eax, eax
je 0x436b72
test ebp, ebp
je 0x436b63
push 8
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
test ebp, ebp
je 0x436b98
push str.AddDllDirectory
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x436b98
push 0x800
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, eax
mov dword [esp + 0x10], edx
test edx, edx
je 0x436c4f
mov ecx, esi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x436bb5
sub ecx, ebx
lea eax, [edx + 1]
add eax, ecx
push eax
call dword [0x75a080]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x436c45
push dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x436c45
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x436be7
sub ecx, edx
mov eax, 0x5c
mov word [ecx + ebx], ax
mov ecx, ebx
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x436c00
sub ecx, edx
sub ecx, esi
add ecx, ebx
nop dword [eax]
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x436c10
test ebp, ebp
je 0x436c3c
push 8
push 0
push ebx
call ebp
push ebx
mov edi, eax
call dword [0x75a084]
add esp, 4
mov eax, edi
pop esi
pop ebp
pop edi
pop ebx
pop ecx
ret
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
push ebx
call dword [0x75a084]
add esp, 4
pop esi
pop ebp
mov eax, edi
pop edi
pop ebx
pop ecx
ret
Function at 0x43f4c0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get local ipv4 addresses
Get socket information
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration
Start tcp server

Disassembly:
sub esp, 0x54
mov eax, dword [0x75a440]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
mov ebx, dword [esp + 0x68]
push esi
push edi
mov edi, dword [sym.imp.WS2_32.dll_socket]
push 6
push 1
push 2
mov dword [esp + 0x18], 0x10
mov dword [esp + 0x1c], 1
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x43f69e
xorps xmm0, xmm0
mov eax, 2
push 0x7f000001
movlpd qword [esp + 0x38], xmm0
mov word [esp + 0x30], ax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esp + 0x30], eax
xor eax, eax
push 4
mov word [esp + 0x32], ax
lea eax, [esp + 0x14]
push eax
push 4
push 0xffff
push esi
mov dword [ebx + 4], 0xffffffff
mov dword [ebx], 0xffffffff
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x43f68c
push 0x10
lea eax, [esp + 0x30]
push eax
push esi
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x43f68c
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x30]
push eax
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x43f68c
cmp dword [esp + 0xc], 0x10
jl 0x43f68c
push 1
push esi
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x43f68c
push 0
push 1
push 2
call edi
mov dword [ebx], eax
cmp eax, 0xffffffff
je 0x43f68c
push 0x10
lea ecx, [esp + 0x30]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x43f68c
push 1
push esi
call fcn.004616c0
add esp, 8
test eax, eax
js 0x43f68c
push 0
push 0x3e8
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], esi
push 1
push eax
mov dword [esp + 0x28], 0x300
call fcn.0043e250
add esp, 0x10
push 0
push 0
push esi
call dword [sym.imp.WS2_32.dll_accept]
mov dword [ebx + 4], eax
cmp eax, 0xffffffff
je 0x43f68c
lea eax, [esp + 0x1c]
push eax
call fcn.0042e110
add esp, 4
movups xmm0, xmmword [eax]
push 0
push 0x10
lea eax, [esp + 0x44]
push eax
push dword [ebx]
movups xmmword [esp + 0x4c], xmm0
call dword [sym.imp.WS2_32.dll_send]
push 0
push 0x10
lea eax, [esp + 0x54]
push eax
push dword [ebx + 4]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0x10
jne 0x43f68c
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x4c]
lea edi, [eax - 4]
nop word [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x43f68c
add ecx, 4
add edx, 4
sub edi, 4
jae 0x43f660
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0046c358
add esp, 0x54
ret
push esi
mov esi, dword [sym.imp.WS2_32.dll_closesocket]
call esi
push dword [ebx]
call esi
push dword [ebx + 4]
call esi
mov ecx, dword [esp + 0x5c]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0046c358
add esp, 0x54
ret
Function at 0x43f6f0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x20]
push edi
xor edi, edi
mov dword [esp + 0xc], edi
mov dword [eax], edi
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [esp + 4], eax
test eax, eax
jne 0x43f87f
push esi
mov esi, dword [esp + 0x14]
test esi, esi
je 0x43f86a
push ebx
push ebp
mov eax, dword [esi + 0x14]
test eax, eax
je 0x43f74c
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43f740
sub eax, edx
inc eax
jmp 0x43f74e
xor eax, eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x14], eax
cmp ecx, 2
jne 0x43f75f
lea ebp, [ecx + 0xe]
jmp 0x43f76b
cmp ecx, 0x17
jne 0x43f80c
lea ebp, [ecx + 5]
cmp dword [esi + 0x18], 0
je 0x43f80c
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x43f80c
cmp ecx, ebp
jb 0x43f80c
add eax, 0x20
add eax, ebp
push eax
call dword [0x75a080]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x43f85b
mov ecx, dword [esi]
mov dword [ebx], ecx
mov ecx, dword [esi + 4]
mov dword [ebx + 4], ecx
mov ecx, dword [esi + 8]
mov dword [ebx + 8], ecx
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
lea eax, [ebx + 0x20]
push ebp
mov dword [ebx + 0x10], ebp
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x18], eax
push dword [esi + 0x18]
push eax
call fcn.0046d330
mov ecx, dword [esp + 0x20]
add esp, 0xc
test ecx, ecx
je 0x43f7f8
mov eax, dword [ebx + 0x18]
add eax, ebp
push ecx
mov dword [ebx + 0x14], eax
push dword [esi + 0x14]
push eax
call fcn.0046d330
add esp, 0xc
mov eax, dword [esp + 0x18]
test edi, edi
cmove edi, ebx
test eax, eax
je 0x43f808
mov dword [eax + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x43f732
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
pop ebp
pop ebx
test eax, eax
je 0x43f82c
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
test esi, esi
je 0x43f866
test edi, edi
je 0x43f84b
mov esi, dword [edi + 0x1c]
push edi
call dword [0x75a084]
add esp, 4
mov edi, esi
test esi, esi
jne 0x43f834
mov esi, dword [esp + 8]
mov eax, dword [esp + 0x28]
xor edi, edi
mov dword [eax], edi
mov eax, esi
pop esi
pop edi
add esp, 0x10
ret
mov esi, 8
mov dword [esp + 0x10], esi
jmp 0x43f81b
test edi, edi
jne 0x43f876
mov esi, 0x2af9
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [esp + 0x28]
mov dword [eax], edi
mov eax, esi
pop esi
pop edi
add esp, 0x10
ret

Function at 0x43fb30
Capabilities:
Create thread

Disassembly:
push 0
push 0
push dword [esp + 0x10]
push dword [esp + 0x10]
push 0
push 0
call fcn.00478425
mov ecx, eax
add esp, 0x18
xor eax, eax
test ecx, ecx
je 0x43fb56
cmp ecx, 0xffffffff
cmovne eax, ecx
ret
Function at 0x44d880
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x8c
mov eax, dword [0x75a440]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov edi, dword [esp + 0x9c]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
mov ebx, dword [edi + 0xc]
mov esi, dword [ebx + 0x124]
push esi
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x1c], 0x80
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x44d8eb
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x80
push eax
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.WS2_32.dll_accept]
mov dword [esp + 0xc], eax
jmp 0x44d8ef
mov eax, dword [esp + 0xc]
cmp eax, 0xffffffff
jne 0x44d91f
push str.Error_accept__ing_server_connect
push edi
call fcn.00434ec0
add esp, 8
mov eax, 0x1e
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.0046c358
add esp, 0x8c
ret
push str.Connection_accepted_from_server
push edi
call fcn.00434f90
mov byte [ebx + 0x1cd], 0
push 1
push dword [esp + 0x18]
call fcn.004616c0
lea eax, [esp + 0x1c]
push eax
push 1
push ebx
push edi
call fcn.00458b40
add esp, 0x20
test eax, eax
jne 0x44d9b9
cmp dword [edi + 0x1ac], eax
je 0x44d9b7
push 1
push edi
call fcn.0042afc0
mov eax, dword [edi + 0x1ac]
push 1
push dword [esp + 0x18]
push dword [edi + 0x1b0]
call eax
push 0
push edi
mov esi, eax
call fcn.0042afc0
add esp, 0x1c
test esi, esi
je 0x44d9b7
push 1
push edi
call fcn.00434870
push 1
push ebx
push edi
call fcn.004346e0
add esp, 0x14
mov eax, 0x2a
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.0046c358
add esp, 0x8c
ret
xor eax, eax
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0046c358
add esp, 0x8c
ret
Function at 0x44f860
Capabilities:
Check http status code

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
lea eax, [ecx - 0xc8]
xor edi, edi
mov ebx, dword [esi + 0xc]
cmp eax, 0x64
jb 0x44f890
push str.Couldnt_set_desired_mode
push esi
call fcn.00434ec0
add esp, 8
lea eax, [edi + 0x11]
pop edi
pop esi
pop ebx
ret
cmp ecx, 0xc8
je 0x44f8a7
push ecx
push str.Got_a__03d_response_code_instead_of_the_assumed_200
push esi
call fcn.00434f90
add esp, 0xc
mov al, byte [esp + 0x18]
push ebp
cmp al, 0x13
jne 0x44f8c1
push ebx
push esi
call fcn.0044f760
add esp, 8
mov edi, eax
pop ebp
pop edi
pop esi
pop ebx
ret
cmp al, 0x14
jne 0x44f9cd
mov edi, dword [esi + 0xc]
xor ebx, ebx
cmp byte [esi + 0x4d0], 2
mov dword [esp + 0x18], edi
jne 0x44f93e
mov eax, dword [esi + 0x134]
mov eax, dword [eax]
test eax, eax
je 0x44f93e
push 3
push ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
push ecx
push ebx
push eax
call fcn.00457110
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x44f9f8
push 0x2f
push dword [esp + 0x18]
call fcn.0046fb20
add esp, 8
test eax, eax
je 0x44f92d
mov ebx, dword [esp + 0x14]
mov ecx, 1
sub eax, ebx
cmovne ecx, eax
mov byte [ecx + ebx], 0
jmp 0x44f93a
push dword [esp + 0x14]
call dword [0x75a084]
add esp, 4
mov edi, dword [esp + 0x18]
mov ecx, dword [esi + 0x508]
test ecx, ecx
jne 0x44f95c
cmp byte [esi + 0xd2f], 0
mov ecx, str.NLST
mov eax, str.LIST
cmove ecx, eax
mov edx, 0x497f80
test ebx, ebx
mov eax, edx
cmovne eax, ebx
push eax
mov eax, 0x7432fc
cmove eax, edx
push eax
push ecx
push 0x7434b8
call fcn.00429640
push ebx
mov ebp, eax
call dword [0x75a084]
add esp, 0x14
test ebp, ebp
jne 0x44f999
mov edi, 0x1b
pop ebp
mov eax, edi
pop edi
pop esi
pop ebx
ret
push ebp
push 0x742888
lea eax, [edi + 0x378]
push eax
push esi
call fcn.00465ca0
push ebp
mov edi, eax
call dword [0x75a084]
add esp, 0x14
test edi, edi
jne 0x44f9f8
mov eax, dword [esi + 0xc]
pop ebp
mov byte [eax + 0x40e], 0x1f
mov eax, edi
pop edi
pop esi
pop ebx
ret
cmp al, 0x15
jne 0x44f9e5
push 0xd
push 1
push esi
call fcn.0044f2d0
add esp, 0xc
mov edi, eax
pop ebp
pop edi
pop esi
pop ebx
ret
cmp al, 0x16
jne 0x44f9f8
push 0xe
push 1
push esi
call fcn.0044f2d0
add esp, 0xc
mov edi, eax
pop ebp
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x458d20
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0xc
mov eax, dword [0x77d6fc]
mov dword [esp + 4], 0x4020
mov dword [esp], 0
mov dword [esp + 8], 4
test eax, eax
jne 0x458d71
push 3
push 2
push eax
push eax
push 6
call fcn.0045dbc0
add esp, 0x14
test al, al
je 0x458d65
mov dword [0x77d6fc], 2
add esp, 0xc
ret
mov dword [0x77d6fc], 1
jmp 0x458d76
cmp eax, 2
je 0x458dbc
lea eax, [esp + 8]
push eax
lea eax, [esp + 4]
push eax
push 0x1001
push 0xffff
push dword [esp + 0x20]
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x458da1
mov eax, dword [esp]
cmp eax, dword [esp + 4]
jg 0x458dbc
push 4
lea eax, [esp + 8]
push eax
push 0x1001
push 0xffff
push dword [esp + 0x20]
call dword [sym.imp.WS2_32.dll_setsockopt]
add esp, 0xc
ret
Function at 0x45b170
Capabilities:
Check http status code

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [esp + 0x1c]
push 0x11
push str.WWW_Authenticate:
push esi
mov dword [esp + 0x1c], 0
lea ebx, [edi + 0xf0]
call fcn.00437770
add esp, 0xc
test eax, eax
je 0x45b1a9
mov ebp, dword [ebx]
cmp ebp, 0x191
je 0x45b1c7
push 0x13
push str.Proxy_authenticate:
push esi
call fcn.00437770
add esp, 0xc
test eax, eax
je 0x45b20f
mov ebp, dword [ebx]
cmp ebp, 0x197
jne 0x45b20f
push esi
call fcn.0043ad70
mov esi, eax
add esp, 4
test esi, esi
jne 0x45b1df
pop edi
lea eax, [esi + 0x1b]
pop esi
pop ebp
pop ebx
pop ecx
ret
cmp ebp, 0x197
push esi
sete al
movzx eax, al
push eax
push edi
call fcn.0043bf10
push esi
mov edi, eax
call dword [0x75a084]
add esp, 0x10
test edi, edi
je 0x45b351
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0xf
push str.Content_Length:
push esi
call fcn.00437770
add esp, 0xc
test eax, eax
je 0x45b269
mov ecx, dword [ebx]
lea eax, [ecx - 0xc8]
cmp eax, 0x64
jae 0x45b247
push ecx
push str.Ignoring_Content_Length_in_CONNECT__03d_response
push edi
call fcn.00434f90
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x20]
add eax, 0x200
push eax
push 0xa
lea eax, [esi + 0xf]
push 0
push eax
call fcn.0043ea60
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 5
push str.close
push 0xb
push str.Connection:
push esi
call fcn.0043acc0
add esp, 0x14
test al, al
jne 0x45b346
push 0x12
push str.Transfer_Encoding:
push esi
call fcn.00437770
add esp, 0xc
test eax, eax
je 0x45b302
mov ecx, dword [ebx]
lea eax, [ecx - 0xc8]
cmp eax, 0x64
jae 0x45b2c0
push ecx
push str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response
push edi
call fcn.00434f90
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 7
push str.chunked
push 0x12
push str.Transfer_Encoding:
push esi
call fcn.0043acc0
add esp, 0x14
test al, al
je 0x45b351
push str.CONNECT_responded_chunked
push edi
call fcn.00434f90
mov eax, dword [esp + 0x28]
push edi
mov byte [eax + 0x20c], 1
call fcn.0045e010
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 5
push str.close
push 0x11
push str.Proxy_Connection:
push esi
call fcn.0043acc0
add esp, 0x14
test al, al
jne 0x45b346
push ebx
lea eax, [esp + 0x14]
push eax
push str.HTTP_1._d__d
push esi
call fcn.0042e080
add esp, 0x10
cmp eax, 2
jne 0x45b351
mov eax, dword [ebx]
mov dword [edi + 0xd64], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x20]
mov byte [eax + 0x20d], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x4695a0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0xc
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0x75a080]
mov esi, eax
add esp, 4
test esi, esi
jne 0x4695cb
pop esi
pop ebp
add esp, 0xc
ret
lea ecx, [esi + 0xc]
mov dword [esi], ebp
mov dword [esi + 4], ecx
mov eax, dword [ebp + 0xc]
add eax, ecx
push ebx
mov ebx, dword [esp + 0x24]
mov dword [esi + 8], eax
push edi
lea edi, [ebp + 4]
cmp ebx, dword [ebp + 0x10]
jbe 0x46961a
mov eax, dword [ebp]
push ecx
call eax
mov eax, dword [edi]
push ebx
push dword [esp + 0x2c]
push dword [esi + 4]
call eax
mov eax, dword [esi + 8]
add eax, dword [ebp + 0xc]
push dword [esi + 4]
mov dword [esp + 0x28], eax
push eax
mov eax, dword [ebp + 8]
call eax
mov ebx, dword [ebp + 0x14]
add esp, 0x18
mov dword [esp + 0x28], ebx
jmp 0x469622
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
push dword [esi + 4]
mov eax, dword [ebp]
call eax
push dword [esi + 8]
mov eax, dword [ebp]
call eax
mov eax, dword [esp + 0x30]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x469693
mov ebp, dword [esp + 0x14]
mov ebx, eax
mov dword [esp + 0x18], eax
nop dword [eax]
movzx eax, byte [ebp]
xor al, 0x36
mov byte [esp + 0x13], al
lea eax, [esp + 0x13]
push 1
push eax
push dword [esi + 4]
mov eax, dword [edi]
call eax
movzx eax, byte [ebp]
lea ebp, [ebp + 1]
xor al, 0x5c
mov byte [esp + 0x1f], al
lea eax, [esp + 0x1f]
push 1
push eax
push dword [esi + 8]
mov eax, dword [edi]
call eax
add esp, 0x18
sub ebx, 1
jne 0x469650
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
cmp ebx, dword [ebp + 0x10]
jae 0x4696c5
nop dword [eax + eax]
mov eax, dword [edi]
push 1
push 0x74bfe5
push dword [esi + 4]
call eax
mov eax, dword [edi]
push 1
push 0x74bfe6
push dword [esi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [ebp + 0x10]
jb 0x4696a0
pop edi
pop ebx
mov eax, esi
pop esi
pop ebp
add esp, 0xc
ret
Function at 0x4696d0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push dword [esp + 0x24]
call fcn.004368e0
mov edx, dword [ebp + 0xc]
mov ebx, eax
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x14], ebx
lea ecx, [ecx + edx*2]
add ecx, 0xc
push ecx
call dword [0x75a080]
mov esi, eax
add esp, 8
test esi, esi
je 0x469852
lea ecx, [esi + 0xc]
mov dword [esi], ebp
mov dword [esi + 4], ecx
mov eax, dword [ebp + 0xc]
add eax, ecx
mov dword [esi + 8], eax
push edi
lea edi, [ebp + 4]
cmp ebx, dword [ebp + 0x10]
jbe 0x469752
mov eax, dword [ebp]
push ecx
call eax
mov eax, dword [esp + 0x28]
push ebx
push eax
push dword [esi + 4]
mov eax, dword [edi]
call eax
mov eax, dword [esi + 8]
add eax, dword [ebp + 0xc]
push dword [esi + 4]
mov dword [esp + 0x38], eax
push eax
mov eax, dword [ebp + 8]
call eax
mov eax, dword [ebp + 0x14]
add esp, 0x18
mov dword [esp + 0x14], eax
push dword [esi + 4]
mov eax, dword [ebp]
call eax
push dword [esi + 8]
mov eax, dword [ebp]
call eax
mov eax, dword [esp + 0x1c]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x4697c3
mov ebp, dword [esp + 0x24]
mov ebx, eax
mov dword [esp + 0x18], eax
nop dword [eax]
movzx eax, byte [ebp]
xor al, 0x36
mov byte [esp + 0x13], al
lea eax, [esp + 0x13]
push 1
push eax
push dword [esi + 4]
mov eax, dword [edi]
call eax
movzx eax, byte [ebp]
lea ebp, [ebp + 1]
xor al, 0x5c
mov byte [esp + 0x1f], al
lea eax, [esp + 0x1f]
push 1
push eax
push dword [esi + 8]
mov eax, dword [edi]
call eax
add esp, 0x18
sub ebx, 1
jne 0x469780
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
cmp ebx, dword [ebp + 0x10]
jae 0x4697f5
nop dword [eax + eax]
mov eax, dword [edi]
push 1
push 0x74bfe5
push dword [esi + 4]
call eax
mov eax, dword [edi]
push 1
push 0x74bfe6
push dword [esi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [ebp + 0x10]
jb 0x4697d0
push dword [esp + 0x30]
call fcn.004368e0
mov ecx, dword [esi]
push eax
push dword [esp + 0x34]
push dword [esi + 4]
mov eax, dword [ecx + 4]
call eax
mov edi, dword [esp + 0x44]
add esp, 0x10
mov ebx, dword [esi]
test edi, edi
jne 0x469820
mov edi, dword [ebx + 0xc]
add edi, dword [esi + 8]
push dword [esi + 4]
mov eax, dword [ebx + 8]
push edi
call eax
push dword [ebx + 0x14]
mov eax, dword [ebx + 4]
push edi
push dword [esi + 8]
call eax
push dword [esi + 8]
mov eax, dword [ebx + 8]
push edi
call eax
push esi
call dword [0x75a084]
add esp, 0x20
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0xc
ret