joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fe70
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push edi
push 0
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [ebp + eax*4 + 0x130]
call dword [sym.imp.WS2_32.dll_send]
mov ebx, dword [esp + 0x20]
mov edi, eax
mov dword [ebx], 0
cmp edi, 0xffffffff
jne 0x40feeb
push esi
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp esi, 0x2733
jne 0x40fec1
pop esi
pop edi
pop ebp
mov dword [ebx], 0x51
xor eax, eax
pop ebx
ret
push esi
push ebp
call fcn.00413d60
push eax
push str.Send_failure:__s
push dword [ebp]
call fcn.0040fad0
mov eax, dword [ebp]
add esp, 0x14
mov dword [eax + 0x85ac], esi
mov dword [ebx], 0x37
mov eax, edi
pop esi
pop edi
pop ebp
pop ebx
ret

Function at 0x40fff0
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x19c]
test eax, eax
je 0x410019
push dword [esi + 0x12c]
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x18]
push esi
call eax
add esp, 0x14
pop esi
ret
mov eax, dword [esp + 0xc]
cmp eax, 2
ja 0x410052
push dword [esi + 0x128]
lea eax, [eax + eax*2]
push 1
add eax, 0x4da318
push 2
push eax
call fcn.004c609b
push dword [esi + 0x128]
push 1
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.004c609b
add esp, 0x20
xor eax, eax
pop esi
ret

Function at 0x410240
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x570]
cmp ecx, 0xffffffff
je 0x4102a0
mov eax, dword [eax + 0x564]
mov eax, dword [eax]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x4102a0
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x410268
mov dword [ecx], eax
cmp dword [eax + 0x150], 0
push esi
mov esi, dword [eax + 0x130]
je 0x41028a
push eax
call fcn.00408d10
add esp, 4
test eax, eax
jne 0x41029c
or eax, 0xffffffff
pop esi
ret
push 2
push 1
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.WS2_32.dll_recv]
jmp 0x410281
mov eax, esi
pop esi
ret
or eax, 0xffffffff
ret

Function at 0x410550
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0xc
lea eax, [esp + 8]
push eax
lea eax, [esp + 4]
push eax
push 0x1001
push 0xffff
push dword [esp + 0x20]
mov dword [esp + 0x18], 0x4020
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 4
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x410596
mov eax, dword [esp]
cmp eax, dword [esp + 4]
jg 0x4105b1
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 0x410740
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x108
mov eax, dword [0x5279f0]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
mov ebx, dword [esp + 0x110]
push esi
cmp dword [ebx + 0x1c4], 0
push edi
mov edi, dword [ebx]
jne 0x4108ce
mov esi, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
push esi
mov dword [esp + 0x18], 0x80
call dword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x4107c8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
push ebx
call fcn.00413d60
push eax
push esi
push str.getpeername___failed_with_errno__d:__s
push edi
call fcn.0040fad0
add esp, 0x18
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004c22ab
add esp, 0x108
ret
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x94]
push eax
push esi
mov dword [esp + 0x18], 0x80
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x41081f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
push ebx
call fcn.00413d60
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
push edi
call fcn.0040fad0
add esp, 0x18
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004c22ab
add esp, 0x108
ret
lea eax, [ebx + 0xcc]
push eax
lea eax, [ebx + 0x9e]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00410d00
add esp, 0xc
test eax, eax
jne 0x410875
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push ebx
call fcn.00413d60
push eax
push esi
push str.ssrem_inet_ntop___failed_with_errno__d:__s
push edi
call fcn.0040fad0
add esp, 0x18
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004c22ab
add esp, 0x108
ret
lea eax, [ebx + 0x100]
push eax
lea eax, [ebx + 0xd0]
push eax
lea eax, [esp + 0x98]
push eax
call fcn.00410d00
add esp, 0xc
test eax, eax
jne 0x4108ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push ebx
call fcn.00413d60
push eax
push esi
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push edi
call fcn.0040fad0
add esp, 0x18
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004c22ab
add esp, 0x108
ret
mov edi, dword [ebx]
add edi, 0x86fc
lea esi, [ebx + 0x9e]
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, dword [ebx]
add edi, 0x8730
lea esi, [ebx + 0xd0]
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, dword [ebx]
mov eax, dword [ebx + 0xcc]
mov dword [ecx + 0x872c], eax
mov ecx, dword [ebx]
mov eax, dword [ebx + 0x100]
pop edi
mov dword [ecx + 0x8760], eax
mov ecx, dword [esp + 0x10c]
pop esi
pop ebx
xor ecx, esp
call fcn.004c22ab
add esp, 0x108
ret
Function at 0x4110b0
Capabilities:
Set socket configuration

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push 4
mov esi, dword [edi]
mov eax, dword [esi + 0x34c]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push 1
push 6
push dword [esp + 0x20]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x4110fa
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push edi
call fcn.00413d60
push eax
push str.Could_not_set_TCP_NODELAY:__s_n
push esi
call fcn.0040fba0
add esp, 0x14
pop edi
pop esi
ret
push str.TCP_NODELAY_set_n
push esi
call fcn.0040fba0
add esp, 8
pop edi
pop esi
ret

Function at 0x4130f0
Capabilities:
Parse pe header

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

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x14]
mov bl, byte [edi]
test bl, bl
je 0x4132f6
lea ebx, [ebx]
mov cl, byte [ebp]
test cl, cl
je 0x4132f6
test esi, esi
je 0x4132fa
movsx eax, bl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x41326e
jmp dword [eax*4 + 0x41332c]
mov bl, 0x41
jmp case.default.0x41326e
mov bl, 0x42
jmp case.default.0x41326e
mov bl, 0x43
jmp case.default.0x41326e
mov bl, 0x44
jmp case.default.0x41326e
mov bl, 0x45
jmp case.default.0x41326e
mov bl, 0x46
jmp case.default.0x41326e
mov bl, 0x47
jmp case.default.0x41326e
mov bl, 0x48
jmp case.default.0x41326e
mov bl, 0x49
jmp case.default.0x41326e
mov bl, 0x4a
jmp case.default.0x41326e
mov bl, 0x4b
jmp case.default.0x41326e
mov bl, 0x4c
jmp case.default.0x41326e
mov bl, 0x4d
jmp case.default.0x41326e
mov bl, 0x4e
jmp case.default.0x41326e
mov bl, 0x4f
jmp case.default.0x41326e
mov bl, 0x50
jmp case.default.0x41326e
mov bl, 0x51
jmp case.default.0x41326e
mov bl, 0x52
jmp case.default.0x41326e
mov bl, 0x53
jmp case.default.0x41326e
mov bl, 0x54
jmp case.default.0x41326e
mov bl, 0x55
jmp case.default.0x41326e
mov bl, 0x56
jmp case.default.0x41326e
mov bl, 0x57
jmp case.default.0x41326e
mov bl, 0x58
jmp case.default.0x41326e
mov bl, 0x59
jmp case.default.0x41326e
mov bl, 0x5a
push ecx
call fcn.004133a0
add esp, 4
cmp bl, al
jne 0x4132f6
mov bl, byte [edi + 1]
inc edi
dec esi
inc ebp
test bl, bl
jne 0x413250
test esi, esi
jne 0x413304
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
movzx eax, byte [edi]
push eax
call fcn.004133a0
movzx ecx, byte [ebp]
push ecx
mov bl, al
call fcn.004133a0
add esp, 8
xor ecx, ecx
cmp bl, al
sete cl
pop edi
pop esi
pop ebp
pop ebx
mov eax, ecx
ret

Function at 0x4133a0
Capabilities:
Parse pe header

Disassembly:
mov cl, byte [esp + 4]
movsx eax, cl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x4133af
jmp dword [eax*4 + 0x413408]
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, cl
ret
Function at 0x413470
Capabilities:
Parse pe header

Disassembly:
push esi
mov esi, dword [esp + 0x10]
cmp esi, 1
jb 0x41351c
mov edx, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
sub edi, edx
lea esp, [esp]
mov cl, byte [edx]
movsx eax, cl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x41349d
jmp dword [eax*4 + 0x413520]
mov cl, 0x41
jmp case.default.0x41349d
mov cl, 0x42
jmp case.default.0x41349d
mov cl, 0x43
jmp case.default.0x41349d
mov cl, 0x44
jmp case.default.0x41349d
mov cl, 0x45
jmp case.default.0x41349d
mov cl, 0x46
jmp case.default.0x41349d
mov cl, 0x47
jmp case.default.0x41349d
mov cl, 0x48
jmp case.default.0x41349d
mov cl, 0x49
jmp case.default.0x41349d
mov cl, 0x4a
jmp case.default.0x41349d
mov cl, 0x4b
jmp case.default.0x41349d
mov cl, 0x4c
jmp case.default.0x41349d
mov cl, 0x4d
jmp case.default.0x41349d
mov cl, 0x4e
jmp case.default.0x41349d
mov cl, 0x4f
jmp case.default.0x41349d
mov cl, 0x50
jmp case.default.0x41349d
mov cl, 0x51
jmp case.default.0x41349d
mov cl, 0x52
jmp case.default.0x41349d
mov cl, 0x53
jmp case.default.0x41349d
mov cl, 0x54
jmp case.default.0x41349d
mov cl, 0x55
jmp case.default.0x41349d
mov cl, 0x56
jmp case.default.0x41349d
mov cl, 0x57
jmp case.default.0x41349d
mov cl, 0x58
jmp case.default.0x41349d
mov cl, 0x59
jmp case.default.0x41349d
mov cl, 0x5a
mov byte [edi + edx], cl
mov al, byte [edx]
inc edx
test al, al
je 0x41351b
dec esi
jne 0x413490
pop edi
pop esi
ret
Function at 0x4138c0
Capabilities:
Resolve dns

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x18]
push ebx
push ebp
xor ebx, ebx
mov dword [eax], ebx
lea eax, [esp + 8]
push eax
push dword [esp + 0x20]
xor ebp, ebp
push dword [esp + 0x20]
push dword [esp + 0x20]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x413a48
push edi
mov edi, dword [esp + 0xc]
test edi, edi
je 0x413a33
push esi
cmp dword [edi + 4], 2
jne 0x4139c0
cmp dword [edi + 0x18], 0
je 0x4139c0
mov eax, dword [edi + 0x10]
test eax, eax
je 0x4139c0
cmp eax, 0x10
jb 0x4139c0
push 0x20
call dword [0x51f03c]
mov esi, eax
add esp, 4
test esi, esi
je 0x413a28
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
mov dword [esi + 0x10], 0x10
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x1c], 0
call dword [0x51f03c]
add esp, 4
mov dword [esi + 0x18], eax
test eax, eax
je 0x413a17
mov ecx, dword [edi + 0x18]
movq xmm0, qword [ecx]
movq qword [eax], xmm0
movq xmm0, qword [ecx + 8]
movq qword [eax + 8], xmm0
mov eax, dword [edi + 0x14]
test eax, eax
je 0x4139b2
push eax
call dword [0x51f048]
add esp, 4
mov dword [esi + 0x14], eax
test eax, eax
je 0x4139fd
test ebx, ebx
cmove ebx, esi
test ebp, ebp
je 0x4139be
mov dword [ebp + 0x1c], esi
mov ebp, esi
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x413900
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
pop esi
test eax, eax
je 0x4139df
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
test ebp, ebp
je 0x413a2f
push ebx
call fcn.00413870
mov eax, dword [esp + 0x28]
add esp, 4
xor ebx, ebx
mov dword [eax], ebx
pop edi
mov eax, ebp
pop ebp
pop ebx
add esp, 8
ret
push dword [esi + 0x18]
mov ebp, 8
call dword [0x51f040]
push esi
call dword [0x51f040]
add esp, 8
jmp 0x4139cf
push esi
mov ebp, 8
call dword [0x51f040]
add esp, 4
jmp 0x4139cf
mov ebp, 8
jmp 0x4139cf
test ebx, ebx
jne 0x413a3f
mov ebp, 0x2af9
push ebp
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [esp + 0x24]
pop edi
mov dword [eax], ebx
mov eax, ebp
pop ebp
pop ebx
add esp, 8
ret
Function at 0x41e3a0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x18
mov eax, dword [0x5279f0]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
push edi
mov ebp, dword [esi + 0x134]
mov ebx, dword [esi]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
push ebp
or edi, 0xffffffff
mov dword [esp + 0x1c], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x41e3f9
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
push ebp
mov dword [esp + 0x1c], 0x10
call dword [sym.imp.WS2_32.dll_accept]
mov edi, eax
push ebp
push esi
call fcn.00410060
add esp, 8
cmp edi, 0xffffffff
jne 0x41e42e
push str.Error_accept__ing_server_connect
push ebx
call fcn.0040fad0
add esp, 8
mov eax, 0x1e
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.004c22ab
add esp, 0x18
ret
push str.Connection_accepted_from_server_n
push ebx
call fcn.0040fba0
push 1
push edi
mov dword [esi + 0x134], edi
call fcn.00424b90
mov ecx, dword [esp + 0x34]
add esp, 0x10
mov dword [esi + 0x13c], 1
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004c22ab
add esp, 0x18
ret

Function at 0x420cf0
Capabilities:
Check http status code

Disassembly:
mov ecx, dword [esp + 8]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
push ebx
push esi
mov eax, edx
shr eax, 0x1f
push edi
mov edi, dword [esp + 0x10]
add eax, edx
mov ebx, dword [edi]
xor esi, esi
cmp eax, 2
je 0x420d2a
push str.Couldnt_set_desired_mode
push ebx
call fcn.0040fad0
add esp, 8
lea eax, [esi + 0x11]
pop edi
pop esi
pop ebx
ret
cmp ecx, 0xc8
je 0x420d41
push ecx
push str.Got_a__03d_response_code_instead_of_the_assumed_200_n
push ebx
call fcn.0040fba0
add esp, 0xc
mov eax, dword [esp + 0x18]
cmp eax, 0x13
jne 0x420d59
push edi
call fcn.00420660
add esp, 4
mov esi, eax
pop edi
pop esi
pop ebx
ret
cmp eax, 0x14
jne 0x420d6d
push edi
call fcn.004201e0
add esp, 4
mov esi, eax
pop edi
pop esi
pop ebx
ret
cmp eax, 0x15
jne 0x420d85
push 0xd
push 1
push edi
call fcn.00420710
add esp, 0xc
mov esi, eax
pop edi
pop esi
pop ebx
ret
cmp eax, 0x16
jne 0x420d99
push 0xe
push 1
push edi
call fcn.00420710
add esp, 0xc
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x4230f0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x108
mov eax, dword [0x5279f0]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x10c]
push eax
call fcn.004c71d3
add esp, 4
mov byte [esp], 0
test eax, eax
je 0x423155
push 0x104
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [esp], 0
je 0x423155
lea eax, [esp]
push eax
call dword [0x51f048]
add esp, 4
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004c22ab
add esp, 0x108
ret
mov ecx, dword [esp + 0x104]
xor ecx, esp
xor eax, eax
call fcn.004c22ab
add esp, 0x108
ret
Function at 0x4258c0
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov eax, dword [esi]
cmp dword [eax + 4], 2
jne 0x4258eb
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x4258da
pop edi
xor eax, eax
pop esi
ret
push dword [eax + 8]
push dword [esp + 0x18]
push 1
push dword [esp + 0x1c]
call ecx
jmp 0x425920
cmp dword [esi + 8], 0
jne 0x42590e
push 0x4df028
push dword [eax + 8]
call fcn.004c4d0d
add esp, 8
mov dword [esi + 8], eax
test eax, eax
jne 0x42590e
pop edi
or eax, 0xffffffff
pop esi
ret
push dword [esi + 8]
push dword [esp + 0x18]
push 1
push dword [esp + 0x1c]
call fcn.004c5bb6
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x425942
mov eax, dword [esi + 8]
test eax, eax
je 0x42593c
push eax
call fcn.004c4a93
add esp, 4
mov dword [esi + 8], edi
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esi], eax
mov eax, edi
pop edi
pop esi
ret
Function at 0x43a100
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x68
call fcn.004c72a0
mov eax, dword [0x5279f0]
xor eax, esp
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x6c]
push ebx
push ebp
mov ebp, dword [esp + 0x78]
push esi
mov dword [esp + 0x10], eax
lea eax, [esp + 0x34]
push edi
push eax
mov byte [esp + 0x17], 0x41
xor esi, esi
call fcn.0044fd30
lea eax, [esp + 0x3c]
push 8
push eax
call fcn.00453290
lea eax, [esp + 0x2c]
push eax
call fcn.0044fd30
mov edi, dword [esp + 0x94]
xor ebx, ebx
add esp, 0x10
mov dword [esp + 0x18], ebx
test edi, edi
jle 0x43a2c3
mov eax, 0x10
sub eax, ebp
mov dword [esp + 0x1c], eax
nop
inc esi
cmp esi, 0x10
ja 0x43a2fe
test esi, esi
je 0x43a1a8
movzx eax, byte [esp + 0x13]
imul eax, eax, 0x1010101
mov ecx, esi
mov ebx, ecx
shr ecx, 2
lea edi, [esp + 0x64]
rep stosd dword es:[edi], eax
mov ecx, ebx
mov ebx, dword [esp + 0x18]
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x84]
inc byte [esp + 0x13]
push 0
call fcn.00457ac0
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0044f920
push esi
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.0044fac0
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0xc0]
add eax, 0x14
push dword [eax - 4]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.0044fac0
mov eax, dword [esp + 0x38]
push 0x20
mov eax, dword [eax + 0x58]
add eax, 0xa0
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.0044fac0
mov eax, dword [esp + 0x44]
push 0x20
mov eax, dword [eax + 0x58]
add eax, 0xc0
push eax
lea eax, [esp + 0x58]
push eax
call fcn.0044fac0
push 0
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x64]
push eax
call fcn.0044f870
add esp, 0x48
push 0
call fcn.0045a9e0
push eax
lea eax, [esp + 0x40]
push eax
call fcn.0044f920
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0xc0]
add eax, 0x14
push dword [eax - 4]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.0044fac0
push 0x14
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.0044fac0
mov eax, dword [esp + 0x40]
add esp, 0x24
add eax, ebp
push 0
cmp eax, edi
jle 0x43a2a3
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.0044f870
mov eax, edi
sub eax, ebx
push eax
lea eax, [esp + 0x60]
push eax
push ebp
call fcn.004c3f80
add esp, 0x18
jmp 0x43a2b1
lea eax, [esp + 0x3c]
push ebp
push eax
call fcn.0044f870
add esp, 0xc
add ebx, 0x10
add ebp, 0x10
mov dword [esp + 0x18], ebx
cmp ebx, edi
jl 0x43a170
lea eax, [esp + 0x50]
push 0x14
push eax
call fcn.00454a30
lea eax, [esp + 0x40]
push eax
call fcn.0044fad0
lea eax, [esp + 0x2c]
push eax
call fcn.0044fad0
add esp, 0x10
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.004c22ab
add esp, 0x68
ret
push 0xb5
push str.._ssl_s3_enc.c
push 0x44
push 0xee
push 0x14
call fcn.0044b560
mov ecx, dword [esp + 0x88]
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c22ab
add esp, 0x68
ret
Function at 0x43c780
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x9c
call fcn.004c72a0
mov eax, dword [0x5279f0]
xor eax, esp
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0xa0]
push ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xa8]
push ebp
mov eax, dword [eax + 4]
push esi
mov esi, dword [esp + 0xb8]
push edi
mov edi, dword [esp + 0xb8]
mov dword [esp + 0x14], eax
sub eax, edi
xor ebx, ebx
mov dword [esp + 0x1c], eax
cmp esi, edi
jae 0x43c7e6
push str.orig_len___md_size
push 0x113
push str.._ssl_s3_cbc.c
call fcn.00441100
add esp, 0xc
cmp edi, 0x40
jbe 0x43c802
push str.md_size___EVP_MAX_MD_SIZE
push 0x114
push str.._ssl_s3_cbc.c
call fcn.00441100
add esp, 0xc
lea eax, [esp + 0x28]
neg eax
and eax, 0x3f
lea ebp, [esp + 0x28]
add ebp, eax
lea eax, [edi + 0x100]
cmp esi, eax
jbe 0x43c825
mov ebx, esi
sub ebx, edi
sub ebx, 0x100
mov eax, edi
and eax, 0xfffffffe
shl eax, 0x17
sub eax, ebx
add eax, dword [esp + 0x1c]
xor edx, edx
div edi
push edi
push 0
push ebp
mov esi, edx
mov dword [esp + 0x2c], esi
call fcn.004c46b0
mov eax, dword [esp + 0xc8]
add esp, 0xc
cmp ebx, eax
jae 0x43c8d0
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0x14]
mov ecx, dword [ecx + 0xc]
add ecx, ebx
mov dword [esp + 0x10], ecx
mov ecx, ebx
sub ecx, edx
sub edx, dword [esp + 0x1c]
sub eax, ebx
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
xor esi, esi
mov al, byte [eax]
lea ebx, [edx + ecx]
mov edx, ecx
not edx
sar edx, 0x1f
lea ecx, [esi + ebp]
not dl
and dl, al
inc esi
mov eax, esi
sub eax, edi
not ebx
sar ebx, 0x1f
sar eax, 0x1f
and dl, bl
or byte [ecx], dl
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
and esi, eax
mov eax, dword [esp + 0x10]
inc ecx
inc eax
dec dword [esp + 0xbc]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], eax
jne 0x43c887
mov esi, dword [esp + 0x20]
xor ecx, ecx
test edi, edi
je 0x43c8ff
mov edx, dword [esp + 0x24]
lea ebx, [ebx]
mov eax, esi
xor eax, 0x20
inc esi
mov al, byte [eax + ebp]
movzx eax, byte [esi + ebp - 1]
mov byte [edx + ecx], al
mov eax, esi
sub eax, edi
sar eax, 0x1f
inc ecx
and esi, eax
cmp ecx, edi
jb 0x43c8e0
mov ecx, dword [esp + 0xa8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c22ab
add esp, 0x9c
ret