joyce8/EMBER2024-capa huggingface dataset:
Function at 0x481af8
Capabilities:
Get socket status

Disassembly:
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x30]
xor ebx, ebx
push edi
mov edi, ecx
mov dword [esp + 0x10], edx
cmp dword [edi], ebx
cmove ebx, dword [esp + 0x38]
test ebp, ebp
jne 0x481b26
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_SleepEx]
or eax, 0xffffffff
jmp 0x481cf1
push esi
push 1
push ebx
push 0
push dword [esp + 0x40]
push ebp
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjectsEx]
mov esi, eax
cmp esi, 0xc0
jne 0x481b4a
cmp dword [edi + 0x2e0], 0
je 0x481b27
lea ecx, [esp + 0x18]
call fcn.004883c0
cmp esi, 0xc0
je 0x481bd1
test esi, esi
js 0x481bd1
cmp esi, ebp
jge 0x481bd1
mov ecx, dword [esp + 0x34]
mov ebx, dword [ecx + esi*4 + 0x100]
test ebx, ebx
je 0x481bd1
mov eax, dword [ecx + esi*4]
mov dword [edi + 0x4e8], eax
mov dword [edi + 0x4ec], ebx
and dword [ecx + esi*4 + 0x100], 0
and dword [ecx + esi*4], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x481bc3
push dword [ebx + 8]
push 0
push dword [edi + 0x4e8]
push edi
call eax
add esp, 0x10
test eax, eax
jne 0x481bc3
cmp dword [edi + 0x4e8], eax
je 0x481bc3
mov ecx, ebx
call fcn.004813e2
test eax, eax
je 0x481bc3
mov ecx, dword [ebx]
call fcn.0048726a
and dword [edi + 0x4e8], 0
and dword [edi + 0x4ec], 0
cmp esi, 0x102
jne 0x481c66
test ebp, ebp
jle 0x481cc6
mov ebx, dword [esp + 0x34]
mov edx, ebp
mov ebp, dword [esp + 0x1c]
add ebx, 0x100
mov dword [esp + 0x10], edx
mov ecx, dword [ebx]
test ecx, ecx
je 0x481c56
mov eax, dword [ecx + 0xc]
test eax, eax
jne 0x481c0b
cmp dword [ecx + 0x10], eax
je 0x481c56
cmp dword [esp + 0x18], eax
jl 0x481c23
jne 0x481c18
cmp ebp, dword [ecx + 0x10]
jl 0x481c23
cmp eax, dword [esp + 0x18]
jne 0x481c56
cmp dword [ecx + 0x10], ebp
jg 0x481c56
mov eax, dword [ecx + 4]
test eax, eax
je 0x481c41
push dword [ecx + 8]
push 2
push dword [ebx - 0x100]
push edi
call eax
add esp, 0x10
test eax, eax
jne 0x481c48
mov ecx, dword [ebx]
mov ecx, dword [ecx]
call fcn.0048726a
and dword [ebx - 0x100], 0
and dword [ebx], 0
mov edx, dword [esp + 0x10]
add ebx, 4
sub edx, 1
mov dword [esp + 0x10], edx
jne 0x481bf9
mov ebp, dword [esp + 0x38]
cmp esi, 0xffffffff
jne 0x481cc6
test ebp, ebp
jle 0x481cc6
mov esi, dword [esp + 0x34]
add esi, 0x100
cmp dword [esi], 0
je 0x481cbe
push 0
push dword [esi - 0x100]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x481cbe
mov eax, dword [esi]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x481cab
push dword [eax + 8]
push 1
push dword [esi - 0x100]
push edi
call ecx
add esp, 0x10
mov ecx, dword [esi]
mov ecx, dword [ecx]
call fcn.0048726a
and dword [esi - 0x100], 0
and dword [esi], 0
add esi, 4
sub ebp, 1
jne 0x481c79
and dword [esp + 0x20], 0
lea eax, [esp + 0x20]
and dword [esp + 0x24], 0
push eax
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [esp + 0x20]
push 0x40
call dword [sym.imp.WS2_32.dll_select]
and dword [edi + 0x2e0], 0
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x482d45
Capabilities:
Get socket status

Disassembly:
sub esp, 0x420
mov eax, dword [0x6ccd44]
xor eax, esp
mov dword [esp + 0x41c], eax
mov ecx, dword [ecx + 0x500]
push ebp
push esi
push edi
call fcn.0048718e
xor ebp, ebp
mov dword [esp + 0xc], 0x5265c00
mov esi, eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], ebp
mov edi, ebp
mov dword [esp + 0x14], ebp
test esi, esi
je 0x482e96
push ebx
mov ecx, esi
call fcn.004871cd
mov ebx, eax
test ebx, ebx
je 0x482e95
cmp dword [ebx], ebp
je 0x482e84
lea eax, [esp + 0x10]
mov dword [esp + 0x328], ebp
push eax
lea eax, [esp + 0x124]
mov dword [esp + 0x124], ebp
push eax
lea eax, [esp + 0x22c]
mov dword [esp + 0x22c], ebp
push eax
lea eax, [esp + 0x334]
push eax
push ebx
call dword [ebx]
add esp, 0x14
lea edx, [esp + 0x328]
mov ecx, ebp
mov eax, dword [edx + ecx*4]
lea ebp, [esp + 0x1c]
cmp eax, dword [ebp + ecx*4]
push 0
pop ebp
jne 0x482e3a
inc ecx
cmp ecx, 0x41
jne 0x482de4
lea edx, [esp + 0x224]
mov ecx, ebp
mov eax, dword [edx + ecx*4]
lea ebp, [esp + 0x1c]
cmp eax, dword [ebp + ecx*4]
push 0
pop ebp
jne 0x482e3a
inc ecx
cmp ecx, 0x41
jne 0x482e03
lea edx, [esp + 0x120]
mov ecx, ebp
mov eax, dword [edx + ecx*4]
lea ebp, [esp + 0x1c]
cmp eax, dword [ebp + ecx*4]
push 0
pop ebp
jne 0x482e3a
inc ecx
cmp ecx, 0x41
jne 0x482e22
jmp 0x482e84
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x124]
push eax
lea eax, [esp + 0x22c]
push eax
lea eax, [esp + 0x334]
push eax
push 0x40
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x482e84
push dword [ebx + 0x18]
mov eax, 0x1000
sub eax, edi
push 0x7204fc
push eax
lea eax, [edi + 0x72f000]
push eax
call fcn.0040117f
add esp, 0x10
add edi, eax
mov ecx, esi
call fcn.004871b8
mov esi, eax
test esi, esi
jne 0x482d8a
pop ebx
xor eax, eax
mov ecx, 0x72f000
test edi, edi
pop edi
cmovle ecx, eax
mov eax, str.UNKNOWN
test ecx, ecx
pop esi
cmovne eax, ecx
mov ecx, dword [esp + 0x420]
pop ebp
xor ecx, esp
call fcn.005b35b0
add esp, 0x420
ret

Function at 0x4836fd
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x18]
mov ebx, edx
push esi
push edi
mov edi, dword [esp + 0x18]
xor esi, esi
push edi
push esi
push ebp
push dword [esp + 0x28]
mov dword [esp + 0x20], ecx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x48379e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x483799
push esi
push esi
push 0xe05
push 0x7206bc
push 1
push 0x30
call fcn.005e7f10
add esp, 0x10
mov ecx, eax
push 0x20
pop edx
call fcn.004811d1
mov ecx, dword [esp + 0x2c]
mov esi, eax
mov eax, dword [esp + 0x24]
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [esp + 0x34]
push eax
mov dword [esi], ecx
mov ecx, dword [esp + 0x34]
push esi
mov dword [esi + 0x18], ecx
mov ecx, dword [esp + 0x20]
mov dword [esi + 8], ebp
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov dword [esi + 0x1c], eax
mov edx, dword [edi + 0x10]
push fcn.004835a7
push 0xffffffffffffffff
call fcn.00483cc9
add esp, 0x18
xor eax, eax
jmp 0x4837a1
push 0xfffffffffffffffc
pop eax
jmp 0x4837a1
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4837cd
Capabilities:
Read file on windows
Terminate process

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push dword [esp + 0x18]
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x28]
mov esi, edx
xor ebx, ebx
push edi
push esi
mov ebp, ecx
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x483931
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x483984
push ebx
push ebx
push 0xe2c
push 0x7206d8
push 1
push 0x24
call fcn.005e7f10
add esp, 0x10
mov ecx, eax
push 0x14
pop edx
call fcn.004811d1
mov ebx, eax
mov eax, dword [esp + 0x20]
pop ecx
pop ecx
mov ecx, dword [esp + 0x24]
mov dword [ebx], edi
mov edi, dword [esp + 0x2c]
mov dword [ebx + 4], ecx
mov ecx, dword [esp + 0x28]
mov dword [ebx + 8], esi
mov esi, 0x400
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], ecx
test edi, edi
jne 0x48385f
xor eax, eax
jmp 0x483868
push esi
push edi
call fcn.005ea5b0
pop ecx
pop ecx
add eax, 0xa
cmp eax, 0xffffffff
jae 0x4838ce
test edi, edi
jne 0x483878
xor eax, eax
jmp 0x483881
push esi
push edi
call fcn.005ea5b0
pop ecx
pop ecx
push 0xfffffffffffffff5
pop ecx
sub ecx, eax
je 0x4838ce
test edi, edi
jne 0x483890
xor eax, eax
jmp 0x483899
push esi
push edi
call fcn.005ea5b0
pop ecx
pop ecx
add eax, 0xa
cmp eax, 0xffffffef
jae 0x4838ce
test edi, edi
jne 0x4838a9
xor eax, eax
jmp 0x4838b2
push esi
push edi
call fcn.005ea5b0
pop ecx
pop ecx
push 0xe32
push 0x7206f4
add eax, 0x1a
push 1
push eax
call fcn.005e7f10
add esp, 0x10
mov esi, eax
jmp 0x4838d0
xor esi, esi
test edi, edi
jne 0x4838d8
xor eax, eax
jmp 0x4838e5
push 0x400
push edi
call fcn.005ea5b0
pop ecx
pop ecx
push 0
push 0
lea edx, [eax + 0xa]
mov ecx, esi
call fcn.004811d1
test edi, edi
mov ecx, 0x72a2f3
mov esi, eax
cmovne ecx, edi
push ecx
push 0x720710
push dword [esi - 0x10]
push esi
call fcn.0040117f
mov eax, dword [esp + 0x30]
mov ecx, ebp
push esi
push ebx
push 0x483676
mov edx, dword [eax + 0x10]
push 0xffffffffffffffff
call fcn.00483cc9
add esp, 0x28
mov ecx, esi
call fcn.00481286
jmp 0x48399b
cmp dword [esp + 0x10], ebx
jbe 0x483984
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x48399b
push 0xe43
push 0x72071c
push 1
push 0x14
call fcn.005e7f10
mov ecx, eax
add esp, 0x10
test ecx, ecx
je 0x4839a1
mov eax, dword [esp + 0x28]
mov edx, 0x4837a7
mov dword [ecx], edi
mov dword [ecx + 4], ebx
mov dword [ecx + 8], esi
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x10]
push ecx
mov dword [ecx + 0xc], eax
mov ecx, ebp
push 1
call fcn.004816b8
pop ecx
pop ecx
jmp 0x48399b
cmp dword [esp + 0x24], ebx
je 0x48399b
push dword [esp + 0x28]
push ebx
push edi
push 5
push esi
push ebp
call dword [esp + 0x3c]
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0xe43
push esi
push edi
mov edx, 0x720738
xor ecx, ecx
call fcn.00488a50
push edi
push 0x720754
push 0x720770
call fcn.00401109
add esp, 0x18
push esi
call fcn.005c3000
int3
Function at 0x483aad
Capabilities:
Read file on windows

Disassembly:
push ecx
push ecx
push ebx
push ebp
xor ebx, ebx
mov dword [esp + 8], edx
push esi
push edi
cmp dword [esp + 0x30], ebx
jne 0x483ac7
mov eax, ebx
mov dword [esp + 0x14], ebx
jmp 0x483adb
push 0x400
push dword [esp + 0x34]
call fcn.005ea5b0
pop ecx
pop ecx
mov dword [esp + 0x14], eax
lea esi, [eax + 0x1c]
cmp esi, 0xffffffff
jae 0x483b09
push 0xffffffffffffffe3
pop ecx
sub ecx, eax
je 0x483b09
cmp esi, 0xffffffef
jae 0x483b09
push 0xe78
push 0x7207b0
add eax, 0x2c
push 1
push eax
call fcn.005e7f10
add esp, 0x10
jmp 0x483b0b
mov eax, ebx
push ebx
push ebx
mov edx, esi
mov ecx, eax
call fcn.004811d1
pop ecx
pop ecx
push ebx
push ebx
push 0xe79
push 0x7207cc
push 1
push 0x24
mov ebp, eax
call fcn.005e7f10
add esp, 0x10
mov ecx, eax
push 0x14
pop edx
call fcn.004811d1
mov edi, dword [esp + 0x24]
mov ebx, eax
mov esi, dword [esp + 0x28]
pop ecx
pop ecx
push edi
push 0
push dword [esp + 0x2c]
push esi
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_ReadFile]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x30], 0
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x10], eax
mov dword [ebx], esi
mov dword [ebx + 0xc], edi
mov dword [ebx + 4], fcn.00466655
mov eax, dword [edi + 0x10]
mov dword [ebp], eax
mov eax, 0x72a305
cmovne eax, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x18]
add eax, 8
mov dword [ebp + 8], ebx
push str._s__READ_
push eax
lea eax, [ebp + 0x14]
mov dword [ebp + 4], 0x483676
push eax
call fcn.0040117f
add esp, 0x10
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
Function at 0x4844f1
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov ebx, 0x140d
mov edi, edx
push ebx
push 0x720b2c
push 1
push 8
mov esi, ecx
call fcn.005e7f10
mov edx, eax
add esp, 0x10
test edx, edx
je 0x484522
mov eax, dword [esi]
mov dword [edx], edi
pop edi
mov dword [esi], edx
pop esi
mov dword [edx + 4], eax
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edx, 0x720b48
push esi
push ebx
xor ecx, ecx
call fcn.00488a50
push ebx
push 0x720b64
push 0x720b80
call fcn.00401109
add esp, 0x18
push esi
call fcn.005c3000
int3

Function at 0x4845be
Capabilities:
Terminate process

Disassembly:
push esi
push edi
mov edi, 0x147c
mov esi, ecx
push edi
push 0x720ba4
push 1
push 4
call fcn.005e7f10
mov edx, eax
add esp, 0x10
test edx, edx
je 0x4845e8
mov eax, dword [esi]
pop edi
mov dword [edx], eax
mov eax, edx
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edx, 0x720bc0
push esi
push edi
xor ecx, ecx
call fcn.00488a50
push edi
push 0x720bdc
push 0x720bf8
call fcn.00401109
add esp, 0x18
push esi
call fcn.005c3000
int3

Function at 0x484697
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, ecx
push esi
push edi
test ebx, ebx
je 0x4846e8
cmp dword [ebx - 0x10], 0x2c
jbe 0x4846e1
push 0x10
pop edx
call fcn.00481494
push 0x1c
pop edx
mov esi, eax
call fcn.00481494
mov edx, eax
test esi, esi
je 0x484791
test edx, edx
je 0x484791
xor eax, eax
mov edi, edx
push 7
pop ecx
rep stosd dword es:[edi], eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [esi + 8], ebx
jmp 0x484782
xor eax, eax
jmp 0x48478d
mov edi, 0x14e9
push edi
push 0x720c78
push 1
push 0x10
call fcn.005e7f10
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x48472f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edx, 0x720c94
push esi
push edi
xor ecx, ecx
call fcn.00488a50
push edi
push 0x720cb0
push 0x720ccc
jmp 0x4847bb
mov edi, 0x14ea
push edi
push 0x720cf0
push 1
push 0x1c
call fcn.005e7f10
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x484773
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edx, 0x720d0c
push esi
push edi
xor ecx, ecx
call fcn.00488a50
push edi
push 0x720d28
push 0x720d44
jmp 0x4847bb
xor eax, eax
mov edi, edx
push 7
pop ecx
rep stosd dword es:[edi], eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [esi], edx
test ebx, ebx
jne 0x48478b
mov dword [esi + 0xc], ebx
mov eax, esi
pop edi
pop esi
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0x14dd
push esi
push edi
mov edx, 0x720c1c
xor ecx, ecx
call fcn.00488a50
push edi
push 0x720c38
push 0x720c54
call fcn.00401109
add esp, 0x18
push esi
call fcn.005c3000
int3
Function at 0x4848c8
Capabilities:
Terminate process

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, ecx
push esi
push edi
mov edi, edx
mov dword [esp + 0x10], edi
test ebx, ebx
je 0x484a1b
cmp ebx, 0x7fffffff
ja 0x484a1b
push dword [ebp + 4]
mov esi, dword [ebp]
mov edx, ebx
mov ecx, edi
call fcn.004847fd
pop ecx
mov dword [esp + 0x18], eax
cmp dword [esi + 8], eax
jne 0x484933
cmp dword [ebp + 4], 0
jne 0x48491d
cmp dword [esi + 0x10], ebx
jne 0x484933
push ebx
push edi
push dword [esi + 0xc]
call fcn.00642a20
jmp 0x48492c
cmp dword [esi + 0x10], ebx
jne 0x484933
push ebx
push edi
push dword [esi + 0xc]
call fcn.00600990
add esp, 0xc
test eax, eax
je 0x484941
mov eax, dword [esi]
test eax, eax
je 0x484948
mov esi, eax
mov eax, dword [esp + 0x18]
jmp 0x484901
mov eax, esi
jmp 0x484a1d
cmp dword [esp + 0x1c], 0
je 0x484a1b
mov ecx, dword [ebp + 8]
test ecx, ecx
jne 0x484972
push 0x15a9
push 0x720d68
push 1
push 0x1c
call fcn.005e7f10
add esp, 0x10
jmp 0x48497a
push 0x1c
pop edx
call fcn.00481494
mov edi, eax
mov dword [esi], edi
test edi, edi
je 0x484a23
xor eax, eax
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [esi]
lea edi, [ebx + 1]
mov ecx, dword [esp + 0x18]
mov dword [eax + 4], esi
mov eax, dword [esi]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 8]
mov ebp, 0x15ad
test ecx, ecx
jne 0x4849bd
push ebp
push 0x720de0
push 1
push edi
call fcn.005e7f10
add esp, 0x10
jmp 0x4849c4
mov edx, edi
call fcn.00481494
mov ecx, eax
mov eax, dword [esi]
mov dword [eax + 0xc], ecx
test ecx, ecx
jne 0x4849f6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edx, 0x720dfc
push esi
push ebp
xor ecx, ecx
call fcn.00488a50
push ebp
push 0x720e18
push 0x720e34
jmp 0x484a4d
mov ecx, dword [esi]
mov edx, edi
push ebx
push dword [esp + 0x14]
mov ecx, dword [ecx + 0xc]
call section..text
mov eax, dword [esi]
pop ecx
pop ecx
mov eax, dword [eax + 0xc]
mov byte [ebx + eax], 0
mov eax, dword [esi]
mov dword [eax + 0x10], ebx
mov eax, dword [esi]
jmp 0x484a1d
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0x15a9
push esi
push edi
mov edx, 0x720d84
xor ecx, ecx
call fcn.00488a50
push edi
push 0x720da0
push 0x720dbc
call fcn.00401109
add esp, 0x18
push esi
call fcn.005c3000
int3
Function at 0x484b66
Capabilities:
Terminate process

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov ebx, 0x16bd
mov dword [esp + 0x18], ecx
push ebx
push 0x720f4c
xor al, al
xor edi, edi
push 1
push 0xc
xor ebp, ebp
mov byte [esp + 0x23], al
call fcn.005e7f10
mov esi, eax
add esp, 0x10
test esi, esi
je 0x484d0e
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
and dword [esi], edi
and dword [esi + 8], edi
lea eax, [ecx + 7]
push 7
mov dword [esp + 0x18], eax
lea eax, [edx + 7]
pop ebx
cmp eax, ebx
jbe 0x484c9e
mov al, byte [esp + 0x13]
test al, al
jne 0x484be6
mov al, byte [ebx + ecx]
cmp al, 0x22
jne 0x484bd9
xor ebp, ebp
mov byte [esp + 0x13], al
inc ebp
jmp 0x484c5d
cmp al, 0x27
jne 0x484bf4
xor ebp, ebp
mov byte [esp + 0x13], al
inc ebp
jmp 0x484bf4
cmp byte [ebx + ecx], al
jne 0x484bf4
xor eax, eax
test ebp, ebp
sete al
mov ebp, eax
test ebp, ebp
jne 0x484c5d
push 1
push 0x725248
push edx
mov edx, ebx
call fcn.00484b2d
add esp, 0xc
test eax, eax
je 0x484c59
push 0x16f0
push 0x720fc4
push 1
push 0xc
call fcn.005e7f10
mov ecx, eax
add esp, 0x10
test ecx, ecx
je 0x484c6f
mov edx, dword [esp + 0x14]
and dword [ecx + 8], ebp
mov dword [ecx], edx
mov dword [ecx + 4], edi
cmp dword [esi], ebp
je 0x484c42
mov eax, dword [esi + 4]
mov dword [eax + 8], ecx
jmp 0x484c44
mov dword [esi], ecx
inc dword [esi + 8]
inc edx
add edx, edi
mov dword [esi + 4], ecx
mov dword [esp + 0x14], edx
xor edi, edi
mov edx, dword [esp + 0x20]
jmp 0x484c5e
mov edx, dword [esp + 0x20]
inc edi
inc ebx
lea eax, [edx + 7]
cmp ebx, eax
jae 0x484c9e
mov ecx, dword [esp + 0x18]
jmp 0x484bbe
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfd
mov ebx, 0x16f0
push esi
push ebx
mov edx, 0x720fe0
xor ecx, ecx
call fcn.00488a50
push ebx
push 0x720ffc
push 0x721018
jmp 0x484d33
mov ebx, 0x1716
push ebx
push 0x72103c
push 1
push 0xc
call fcn.005e7f10
mov ecx, eax
add esp, 0x10
test ecx, ecx
jne 0x484ce2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edx, 0x721058
push esi
push ebx
xor ecx, ecx
call fcn.00488a50
push ebx
push 0x721074
push 0x721090
jmp 0x484d33
mov eax, dword [esp + 0x14]
and dword [ecx + 8], 0
mov dword [ecx], eax
mov dword [ecx + 4], edi
cmp dword [esi], 0
je 0x484cfc
mov eax, dword [esi + 4]
mov dword [eax + 8], ecx
jmp 0x484cfe
mov dword [esi], ecx
inc dword [esi + 8]
mov eax, esi
pop edi
mov dword [esi + 4], ecx
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edx, 0x720f68
push esi
push ebx
xor ecx, ecx
call fcn.00488a50
push ebx
push 0x720f84
push 0x720fa0
call fcn.00401109
add esp, 0x18
push esi
call fcn.005c3000
int3
Function at 0x484d78
Capabilities:
Terminate process

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
push edi
mov edi, edx
xor ebx, ebx
mov ebp, ecx
test edi, edi
je 0x484d8c
add ebp, edi
xor edi, edi
push 0x174b
push 0x7210b4
push 1
push 0xc
call fcn.005e7f10
mov esi, eax
add esp, 0x10
test esi, esi
je 0x484ee2
mov eax, dword [esp + 0x1c]
lea ecx, [edi + ebp]
and dword [esi], ebx
and dword [esi + 8], ebx
mov dword [esp + 0x10], ecx
cmp byte [ecx + eax - 1], bl
lea edx, [eax - 1]
cmovne edx, eax
mov dword [esp + 0x14], edx
jmp 0x484e40
push dword [esp + 0x24]
mov ecx, ebp
push dword [esp + 0x24]
push edx
mov edx, edi
call fcn.00484b2d
add esp, 0xc
test eax, eax
je 0x484e3a
push 0x175e
push 0x72112c
push 1
push 0xc
call fcn.005e7f10
mov ecx, eax
add esp, 0x10
test ecx, ecx
je 0x484e8b
mov edx, dword [esp + 0x10]
and dword [ecx + 8], 0
mov dword [ecx], edx
mov dword [ecx + 4], ebx
cmp dword [esi], 0
je 0x484e1f
mov eax, dword [esi + 4]
mov dword [eax + 8], ecx
jmp 0x484e21
mov dword [esi], ecx
mov eax, dword [esp + 0x24]
dec edi
inc dword [esi + 8]
add edi, eax
add eax, ebx
mov dword [esi + 4], ecx
add edx, eax
xor ebx, ebx
mov dword [esp + 0x10], edx
jmp 0x484e3b
inc ebx
mov edx, dword [esp + 0x14]
inc edi
cmp edi, edx
jb 0x484dcc
mov edi, 0x1784
push edi
push 0x7211a4
push 1
push 0xc
call fcn.005e7f10
mov ecx, eax
add esp, 0x10
test ecx, ecx
jne 0x484eb7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edx, 0x7211c0
push esi
push edi
xor ecx, ecx
call fcn.00488a50
push edi
push 0x7211dc
push 0x7211f8
jmp 0x484f0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov ebx, 0x175e
push esi
push ebx
mov edx, 0x721148
xor ecx, ecx
call fcn.00488a50
push ebx
push 0x721164
push 0x721180
jmp 0x484f0c
mov eax, dword [esp + 0x10]
and dword [ecx + 8], 0
mov dword [ecx], eax
mov dword [ecx + 4], ebx
cmp dword [esi], 0
je 0x484ed1
mov eax, dword [esi + 4]
mov dword [eax + 8], ecx
jmp 0x484ed3
mov dword [esi], ecx
inc dword [esi + 8]
mov eax, esi
pop edi
mov dword [esi + 4], ecx
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0x174b
push esi
push edi
mov edx, 0x7210d0
xor ecx, ecx
call fcn.00488a50
push edi
push 0x7210ec
push 0x721108
call fcn.00401109
add esp, 0x18
push esi
call fcn.005c3000
int3
Function at 0x4855a9
Capabilities:
Terminate process

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
sub esp, 0xc
mov dword [esp + 0x24], ecx
xor edi, edi
mov ebx, edx
mov ebp, edi
call fcn.00485586
push 0x195b
push 0x721518
push 1
push eax
mov dword [esp + 0x2c], eax
call fcn.005e7f10
mov esi, eax
add esp, 0x1c
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], esi
mov dword [eax], esi
test esi, esi
je 0x485670
mov ecx, ebx
mov dword [esp + 0x2c], ecx
test ebx, ebx
je 0x485666
mov eax, 0x320
cmp ecx, ebx
je 0x485628
mov edx, dword [esp + 0x10]
lea ecx, [esi + edi]
push 3
push 0x721638
sub edx, edi
call section..text
pop ecx
pop ecx
mov ecx, dword [esp + 0x2c]
add edi, 3
add ebp, 3
mov eax, 0x320
mov edx, dword [esp + 0x10]
cmp ecx, eax
mov esi, ecx
cmova esi, eax
mov eax, dword [esp + 0x18]
sub eax, ecx
sub edx, edi
mov ecx, dword [esp + 0x14]
add eax, ebx
push esi
push eax
lea ecx, [ecx + edi]
call section..text
pop ecx
pop ecx
mov ecx, dword [esp + 0x2c]
add edi, esi
add ebp, esi
mov eax, 0x320
sub ecx, esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x2c], ecx
jne 0x4855fe
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0x195b
push esi
push edi
mov edx, 0x721534
xor ecx, ecx
call fcn.00488a50
push edi
push 0x721550
push 0x72156c
call fcn.00401109
add esp, 0x18
push esi
call fcn.005c3000
int3
Function at 0x4859bb
Capabilities:
Set socket configuration
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push edi
mov edi, ecx
push 0x17
pop ebx
movzx eax, word [edi]
cmp ax, bx
jne 0x4859ff
cmp dword [0x7229fc], 0
jne 0x4859ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 0x1a17
mov edx, 0x721644
xor ecx, ecx
call fcn.00488a50
add esp, 0xc
xor eax, eax
jmp 0x485a8f
push esi
push dword [ebp + 8]
push edx
push eax
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x485a31
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 2
push 0x1a18
mov edx, 0x721660
xor ecx, ecx
call fcn.00488a50
add esp, 0xc
jmp 0x485a88
cmp word [edi], bx
jne 0x485a4b
push 4
lea eax, [ebp - 4]
push eax
push 0x1b
push 0x29
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x485a95
cmp word [edi], bx
push 0x10
pop eax
push 0x1c
pop ecx
cmove eax, ecx
push eax
push edi
push esi
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x485a8c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 3
push 0x1a25
mov edx, 0x721698
xor ecx, ecx
call fcn.00488a50
add esp, 0xc
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
jmp 0x485a8e
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1a1c
mov edx, 0x72167c
xor ecx, ecx
call fcn.00488a50
add esp, 0xc
push 0xfd
call fcn.005c3000
int3