joyce8/EMBER2024-capa huggingface dataset:
Function at 0x59a5c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74e69d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x1c], ebx
lea esi, [ebx + 0x50]
push esi
mov dword [ebp - 0x24], esi
call fcn.006eefbe
add esp, 4
test eax, eax
jne 0x59a766
mov edi, dword [ebp + 8]
mov ecx, edi
mov dword [ebp - 4], eax
lea eax, [ebx + 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0059cf20
mov ebx, eax
mov dword [ebp - 0x14], ebx
cmp dword [ebx + 0x14], 0x10
jb 0x59a621
mov eax, dword [ebx]
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov edx, 0x811c9dc5
cmp dword [ebx + 0x10], ecx
jbe 0x59a645
mov edi, dword [ebp - 0x14]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebx + 0x10]
jb 0x59a630
mov edi, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push edx
push ebx
push eax
call fcn.0049b9d0
mov ebx, dword [eax + 4]
test ebx, ebx
jne 0x59a660
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax + 4]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
mov eax, dword [eax + 0x34]
mov dword [ebp + 8], eax
cmp edx, 0x10
jb 0x59a6a0
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x59a693
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x59a76c
push edx
push ecx
call fcn.00516d60
mov eax, dword [ebp + 8]
add esp, 8
cmp ebx, eax
mov ecx, edi
lea eax, [ebp - 0x3c]
push eax
jne 0x59a71d
call fcn.0059cf20
mov ecx, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 1
push eax
call fcn.00595b80
mov ebx, dword [eax]
add ebx, 0x20
cmp ebx, edi
je 0x59a6de
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x59a6d3
mov eax, dword [edi]
push dword [edi + 0x10]
mov ecx, ebx
push eax
call fcn.00486af0
add edi, 0x18
lea ecx, [ebx + 0x18]
cmp ecx, edi
je 0x59a6f5
push dword [ebp + 8]
push dword [edi + 4]
push dword [edi]
call fcn.00595020
mov edx, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x59a74a
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x59a740
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x59a771
jmp 0x59a740
call fcn.0059cf20
mov ecx, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 2
push eax
call fcn.00595b80
push edi
mov ecx, dword [eax]
add ecx, 0x20
call fcn.0059d020
jmp 0x59a6f5
push edx
push ecx
call fcn.00516d60
add esp, 8
push esi
call fcn.006ef019
mov ecx, dword [ebp - 0xc]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push eax
call fcn.006ef37a
call fcn.0070f5b4
call fcn.0070f5b4
int3
Function at 0x59a7e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp byte [0xa968b0], 0
mov eax, ecx
mov dword [ebp - 8], eax
je 0x59a801
cmp byte [0x8f7dc0], 0
jne 0x59a8b2
push ebx
push esi
mov esi, dword [ebp + 8]
add eax, 0x184
add esi, 0x18
mov dword [ebp - 4], eax
push edi
mov edi, esi
cmp dword [esi + 0x14], 0x10
mov ebx, dword [esi + 0x10]
jb 0x59a81f
mov edi, dword [esi]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x59a841
nop word [eax + eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x59a830
mov ebx, dword [ebp - 4]
lea eax, [ebp - 0x10]
push edx
push esi
push eax
mov ecx, ebx
call fcn.0049b9d0
mov eax, dword [eax + 4]
test eax, eax
jne 0x59a85b
mov eax, dword [ebx + 4]
mov edi, dword [ebp - 8]
cmp eax, dword [edi + 0x188]
jne 0x59a88e
push esi
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.00595930
mov ecx, dword [eax]
add ecx, 0x30
cmp ecx, esi
je 0x59a88e
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x59a885
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
call fcn.00486af0
push esi
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.00595930
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [eax]
add eax, 0x20
push eax
push edi
call fcn.00596420
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x59e3c0
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ebx
push esi
lea ebx, [edx + eax]
mov dword [ebp - 4], ebx
cmp eax, 0x10
jl 0x59e466
mov esi, dword [ebp + 0x10]
lea eax, [ebx - 0x10]
push edi
mov dword [ebp + 8], eax
lea edi, [esi + 0x24234428]
lea ebx, [esi - 0x7a143589]
lea eax, [esi + 0x61c8864f]
nop word [eax + eax]
imul ecx, dword [edx], 0x7a143589
sub edi, ecx
imul ecx, dword [edx + 4], 0x7a143589
rol edi, 0xd
imul edi, edi, 0x9e3779b1
sub ebx, ecx
imul ecx, dword [edx + 8], 0x7a143589
rol ebx, 0xd
imul ebx, ebx, 0x9e3779b1
sub esi, ecx
imul ecx, dword [edx + 0xc], 0x7a143589
rol esi, 0xd
add edx, 0x10
imul esi, esi, 0x9e3779b1
sub eax, ecx
rol eax, 0xd
imul eax, eax, 0x9e3779b1
cmp edx, dword [ebp + 8]
jbe 0x59e400
rol eax, 0x12
rol esi, 0xc
rol ebx, 7
add eax, esi
add eax, ebx
rol edi, 1
mov ebx, dword [ebp - 4]
add eax, edi
pop edi
jmp 0x59e46e
mov eax, dword [ebp + 0x10]
add eax, 0x165667b1
add eax, dword [ebp + 0xc]
lea esi, [ebx - 4]
cmp edx, esi
ja 0x59e498
nop dword [eax + eax]
imul ecx, dword [edx], 0x3d4d51c3
add edx, 4
sub eax, ecx
rol eax, 0x11
imul eax, eax, 0x27d4eb2f
cmp edx, esi
jbe 0x59e480
cmp edx, ebx
jae 0x59e4b9
nop dword [eax]
movzx ecx, byte [edx]
inc edx
imul ecx, ecx, 0x165667b1
add ecx, eax
rol ecx, 0xb
imul eax, ecx, 0x9e3779b1
cmp edx, ebx
jb 0x59e4a0
mov ecx, eax
shr ecx, 0xf
xor ecx, eax
imul ecx, ecx, 0x85ebca77
pop esi
pop ebx
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0xc2b2ae3d
mov eax, ecx
shr eax, 0x10
xor eax, ecx
mov esp, ebp
pop ebp
ret

Function at 0x59e6d0
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0x18]
lea esi, [edi + 0x20]
add esi, dword [edi + 0x30]
lea edx, [edi + 0x20]
cmp dword [edi + 0x1c], 0
ja 0x59e6f9
cmp ebx, 0x10
jae 0x59e6f9
mov eax, dword [edi]
add eax, 0x165667b1
jmp 0x59e716
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0xc]
rol ecx, 0xc
rol eax, 0x12
add eax, ecx
mov ecx, dword [edi + 8]
rol ecx, 7
add eax, ecx
mov ecx, dword [edi + 4]
rol ecx, 1
add eax, ecx
add eax, ebx
lea ebx, [esi - 4]
cmp edx, ebx
ja 0x59e738
nop
imul ecx, dword [edx], 0x3d4d51c3
add edx, 4
sub eax, ecx
rol eax, 0x11
imul eax, eax, 0x27d4eb2f
cmp edx, ebx
jbe 0x59e720
cmp edx, esi
jae 0x59e759
nop dword [eax]
movzx ecx, byte [edx]
inc edx
imul ecx, ecx, 0x165667b1
add ecx, eax
rol ecx, 0xb
imul eax, ecx, 0x9e3779b1
cmp edx, esi
jb 0x59e740
mov ecx, eax
shr ecx, 0xf
xor ecx, eax
imul ecx, ecx, 0x85ebca77
push edi
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul esi, eax, 0xc2b2ae3d
call fcn.0071420c
add esp, 4
mov eax, esi
shr eax, 0x10
xor eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x5a4f10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0xc], 0
je 0x5a4f2b
push str.RBX::Runtime___panic__handle__nullptr_
push 0
call fcn.005251f0
add esp, 8
mov eax, dword [ebp + 8]
push 0
push 0x10000
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
push esi
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
push 0x5a4dd0
mov dword [esi + 8], eax
push dword [0x8f7f38]
push 0
call fcn.00715c5f
add esp, 0x18
mov dword [esi + 0xc], eax
pop esi
test eax, eax
jne 0x5a4f6f
push str.RBX::Runtime___panic__handle___nullptr_
push eax
call fcn.005251f0
add esp, 8
pop ebp
ret 0xc

Function at 0x5a4f80
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
sub esp, 0x24
mov ecx, dword [0x1033fe0]
push ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1010ae8]
push esi
mov esi, dword [ebp + 8]
push edi
cmp eax, dword [ecx + 0x64c]
jg 0x5a500e
mov ebx, dword [0x1010ae4]
test esi, esi
je 0x5a4fc2
lea eax, [ebx - 1]
test esi, eax
je 0x5a4fc4
dec esi
not eax
add esi, ebx
and esi, eax
jmp 0x5a4fc4
mov esi, ebx
push 4
push 0x3000
push esi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
test edi, edi
je 0x5a5005
lea eax, [ebp + 8]
push eax
push 0x104
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x5a4ff8
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x8000
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push 0x1010ae8
call fcn.00702d61
add esp, 4
cmp dword [0x1010ae8], 0xffffffff
jne 0x5a4fa8
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x20]
push 0x1010ae8
mov dword [0x1010ae4], eax
call fcn.00702d17
add esp, 4
jmp 0x5a4fa8
Function at 0x5a5060
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
sub esp, 0x24
mov eax, ecx
and eax, 0xf
push ebx
mov ebx, ecx
sub ebx, eax
test eax, eax
push esi
cmove ebx, ecx
push edi
mov edi, dword [ebp + 8]
add ebx, edi
lea esi, [ebx - 0x24]
test esi, esi
je 0x5a510b
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1033fe0]
mov dword [esi], edi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1010af0]
cmp eax, dword [ecx + 0x64c]
jg 0x5a5114
mov eax, dword [0x1010aec]
lea edx, [esi + 0x14]
add eax, edi
mov dword [esi + 8], ebx
mov dword [esi + 4], eax
mov eax, dword fs:[0x18]
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], 0x5a5160
mov ecx, dword [eax]
test ecx, ecx
je 0x5a50dd
nop
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x5a5101
mov ecx, eax
test ecx, ecx
jne 0x5a50d0
xorps xmm0, xmm0
movq qword [edx], xmm0
mov ecx, dword [ebp + 0x14]
lea edx, [esi + 0x1c]
mov dword [esi + 0x20], ecx
mov eax, esi
mov ecx, dword [ebp + 0x10]
pop edi
pop esi
mov dword [edx], 0
mov dword [ecx], edx
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ecx + 4]
mov dword [edx], eax
mov dword [edx + 4], ecx
jmp 0x5a50e4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push 0x1010af0
call fcn.00702d61
add esp, 4
cmp dword [0x1010af0], 0xffffffff
jne 0x5a50a8
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x20]
push 0x1010af0
mov dword [0x1010aec], eax
call fcn.00702d17
add esp, 4
jmp 0x5a50a8
Function at 0x5a52d0
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x73f760
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
call fcn.005a5270
mov edi, eax
mov dword [ebp - 0x10], edi
push edi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebx]
cmp edx, dword [ecx]
jne 0x5a5378
mov eax, ebx
shr eax, 0x10
xor eax, ebx
imul ecx, eax, 0x85ebca6b
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul eax, eax, 0xc2b2ae35
mov ecx, eax
shr ecx, 0x10
xor ecx, eax
xor esi, esi
mov dword [ebp + 8], ecx
nop word [eax + eax]
lea eax, [esi + ecx]
and eax, 0x3fff
lea edi, [edi + eax*8]
add edi, 8
mov edx, dword [edi]
test edx, edx
je 0x5a5359
cmp edx, 0xffffffff
jne 0x5a5368
mov ecx, ebx
mov eax, edx
lock cmpxchg dword [edi], ecx
cmp eax, edx
je 0x5a5390
mov ecx, dword [ebp + 8]
cmp edx, ebx
je 0x5a5390
mov edi, dword [ebp - 0x10]
inc esi
cmp esi, 0x4000
jb 0x5a5340
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
lock inc dword [edi + 4]
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
mov eax, dword [esi + 4]
mov ecx, dword [0x1033fe0]
mov dword [ebp + 8], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1010b00]
cmp eax, dword [ecx + 0x64c]
jg 0x5a53df
push 0
push 0
push ebx
push dword [ebp + 8]
call dword [0x1010afc]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x1010b00
call fcn.00702d61
add esp, 4
cmp dword [0x1010b00], 0xffffffff
jne 0x5a53c0
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
push str.NtWaitForKeyedEvent
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x1010b00
mov dword [0x1010afc], esi
call fcn.00702d17
add esp, 4
jmp 0x5a53c0
Function at 0x5a5440
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x73f760
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
call fcn.005a5270
mov ebx, eax
mov dword [ebp - 0x14], ebx
push ebx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov esi, dword [ebp + 8]
mov ecx, esi
shr ecx, 0x10
xor ecx, esi
imul ecx, ecx, 0x85ebca6b
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul eax, eax, 0xc2b2ae35
mov edi, eax
shr edi, 0x10
xor edi, eax
xor ecx, ecx
nop dword [eax]
lea eax, [ecx + edi]
and eax, 0x3fff
lea edx, [ebx + eax*8]
mov eax, dword [edx + 8]
test eax, eax
je 0x5a54bf
cmp eax, esi
je 0x5a54d7
inc ecx
cmp ecx, 0x4000
jb 0x5a54a0
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0xc], 0
mov edi, 1
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x10], edi
je 0x5a54ed
mov edi, eax
mov dword [ebp - 0x10], edi
sub eax, edi
mov dword [edx + 0xc], eax
jne 0x5a54fb
mov dword [edx + 8], 0xffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test edi, edi
je 0x5a54c6
mov ecx, dword [0x1033fe0]
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0x18], ecx
nop dword [eax + eax]
mov eax, dword [0x1010b08]
mov ebx, dword [ebx + 4]
cmp eax, dword [ecx + 0x64c]
jg 0x5a555d
push 0
push 0
push esi
push ebx
call dword [0x1010b04]
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
test eax, eax
js 0x5a5520
sub dword [ebp - 0x10], 1
jne 0x5a5520
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x1010b08
call fcn.00702d61
add esp, 4
cmp dword [0x1010b08], 0xffffffff
jne 0x5a5530
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
push str.NtReleaseKeyedEvent
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x1010b08
mov dword [0x1010b04], esi
call fcn.00702d17
mov esi, dword [ebp + 8]
add esp, 4
jmp 0x5a5530
Function at 0x5ae900
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x5ae9b5
push esi
call fcn.005bf720
add esp, 4
test al, al
jne 0x5ae9b5
push ebx
push edi
mov edi, esi
xor ebx, ebx
lea ecx, [edi + 1]
nop dword [eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x5ae930
sub edi, ecx
push edi
push 0x2e
push esi
call fcn.005cbca0
add esp, 0xc
test eax, eax
je 0x5ae964
sub eax, esi
push eax
push 0x2e
push esi
call fcn.005cbca0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x5ae966
inc ebx
mov ecx, esi
sub ecx, ebx
add edi, ecx
test ebx, ebx
cmovne esi, ebx
lea ebx, [esi + edi]
mov edi, 0x1505
cmp esi, ebx
jae 0x5ae993
mov al, byte [esi]
push eax
call fcn.005c1d60
movsx ecx, al
inc esi
mov eax, edi
add esp, 4
shl eax, 5
add eax, edi
xor ecx, eax
mov edi, ecx
cmp esi, ebx
jb 0x5ae975
mov eax, 0x4104105
mov esi, edi
mul edi
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 5
mov ecx, esi
shl ecx, 6
sub ecx, esi
sub edi, ecx
mov eax, edi
pop edi
pop ebx
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x5bd590
Capabilities:
Get common file path
Initialize winsock library
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
test byte [ebp + 8], 2
je 0x5bd5d5
lea eax, [ebp - 0x190]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x5bd5cc
mov eax, dword [ebp - 0x190]
cmp al, 2
jne 0x5bd5c6
shr eax, 8
cmp al, 2
je 0x5bd5d5
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov esp, ebp
pop ebp
ret
push esi
push edi
push 0x790030
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp + 8], eax
test eax, eax
jne 0x5bd5fc
mov dword [0x1030c0c], esi
jmp 0x5bd729
push ebx
push str.LoadLibraryExA
push eax
call edi
push 0x7a2e08
push str.iphlpapi.dll
mov ebx, eax
call fcn.00722240
add esp, 8
test eax, eax
je 0x5bd645
test ebx, ebx
je 0x5bd633
push 8
push 0
push str.iphlpapi.dll
call ebx
mov esi, eax
jmp 0x5bd705
push str.iphlpapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
jmp 0x5bd705
test ebx, ebx
je 0x5bd66c
push str.AddDllDirectory
push dword [ebp + 8]
call edi
test eax, eax
je 0x5bd66c
push 0x800
push 0
push str.iphlpapi.dll
call ebx
mov esi, eax
jmp 0x5bd705
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov dword [ebp + 8], eax
test eax, eax
je 0x5bd705
lea ecx, [eax + 0xd]
push ecx
call dword [0x8f7f4c]
mov edi, eax
add esp, 4
test edi, edi
je 0x5bd6f5
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x5bd6f5
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5bd6a7
sub ecx, edx
mov eax, 0x5c
mov edx, edi
mov word [ecx + edi], ax
lea ecx, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x5bd6c0
sub edx, ecx
mov ecx, str.iphlpapi.dll
sub edx, ecx
add edx, edi
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x5bd6d2
test ebx, ebx
je 0x5bd6ec
push 8
push 0
push edi
call ebx
jmp 0x5bd6f3
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
push edi
call dword [0x8f7f50]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
add esp, 4
mov dword [0x1030c0c], esi
pop ebx
test esi, esi
je 0x5bd729
push str.if_nametoindex
push esi
call edi
mov ecx, dword [0x1030bfc]
test eax, eax
cmovne ecx, eax
mov dword [0x1030bfc], ecx
push str.ws2_32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
je 0x5bd761
push str.FreeAddrInfoExW
push esi
call edi
push str.GetAddrInfoExCancel
push esi
mov dword [0x1030c00], eax
call edi
push str.GetAddrInfoExW
push esi
mov dword [0x1030c04], eax
call edi
mov dword [0x1030c08], eax
push 3
push 2
push 0
push 0
push 6
call fcn.005daf70
push 3
push 2
push 0
test al, al
push 2
push 6
setne byte [0x1034df1]
call fcn.005daf70
add esp, 0x28
test al, al
setne byte [0x1034df0]
push 0x1034df8
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5bf720
Capabilities:
Convert ip address from string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jg 0x5bf752
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
push 0x17
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jg 0x5bf752
xor al, al
mov esp, ebp
pop ebp
ret
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x5bf8a0
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x5bf8e1
mov eax, dword [esi + 0x7c]
cmp byte [eax + 0x104], 0
jne 0x5bf8d4
push 0
call fcn.005bf8a0
add esp, 4
test al, al
mov eax, dword [esi + 0x7c]
setne cl
inc cl
mov byte [eax + 0x104], cl
mov eax, dword [esi + 0x7c]
cmp byte [eax + 0x104], 2
pop esi
sete al
pop ebp
ret
push 0
push 2
push 0x17
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
jne 0x5bf8f7
xor al, al
pop esi
pop ebp
ret
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov al, 1
pop esi
pop ebp
ret
Function at 0x5c0610
Capabilities:
Convert ip address from string

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x64
push edi
xor edi, edi
cmp byte [eax + 0x673], 0
je 0x5c07cf
push ebx
mov ebx, dword [ebp + 0xc]
add ebx, 0x18
cmp byte [ebx], 0
je 0x5c07ce
push esi
mov esi, dword [sym.imp.WS2_32.dll_inet_pton]
lea eax, [ebp - 4]
push eax
push ebx
push 2
call esi
test eax, eax
jg 0x5c07cd
lea eax, [ebp - 0x14]
push eax
push ebx
push 0x17
call esi
test eax, eax
jg 0x5c07cd
mov ecx, dword [ebp + 0xc]
mov eax, str._none_
cmp byte [ebx], 0
cmovne eax, ebx
mov ebx, dword [ebp + 8]
push dword [ecx + 0x14]
mov esi, dword [ecx]
push eax
push str.Host__s:_d_was_resolved.
push ebx
call fcn.005bae40
lea eax, [ebp - 0x34]
push 0x400
push eax
call fcn.005aef60
lea eax, [ebp - 0x24]
push 0x400
push eax
call fcn.005aef60
add esp, 0x20
test esi, esi
je 0x5c0744
lea edx, [edi + 0x10]
nop
mov ecx, dword [esi + 4]
cmp ecx, 0x17
je 0x5c06bd
cmp ecx, 2
jne 0x5c0736
xor eax, eax
mov byte [ebp - 0x64], 0
cmp ecx, 2
lea ebx, [ebp - 0x34]
cmovne eax, edx
add ebx, eax
sub ecx, 2
je 0x5c06e9
sub ecx, 0x15
jne 0x5c06fd
push 0x2e
lea eax, [ebp - 0x64]
push eax
mov eax, dword [esi + 0x18]
add eax, 8
push eax
push 0x17
jmp 0x5c06f8
push 0x2e
lea eax, [ebp - 0x64]
push eax
mov eax, dword [esi + 0x18]
add eax, 4
push eax
push 2
call sub.WS2_32.dll_inet_ntop
push ebx
call fcn.005aef90
add esp, 4
test eax, eax
je 0x5c071c
push 2
push 0x7670bc
push ebx
call fcn.005aef20
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x5c0762
lea eax, [ebp - 0x64]
push eax
push ebx
call fcn.005aeec0
mov edi, eax
add esp, 8
test edi, edi
jne 0x5c0762
lea edx, [eax + 0x10]
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x5c06b0
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
call fcn.005aef90
add esp, 4
test eax, eax
je 0x5c0775
lea eax, [ebp - 0x24]
push eax
call fcn.005720e0
add esp, 4
jmp 0x5c077a
mov eax, dword [ebp + 8]
push str.too_many_IP__cant_show
push eax
call fcn.005bae40
add esp, 8
jmp 0x5c07b8
mov eax, str._none_
push eax
push str.IPv6:__s
push ebx
call fcn.005bae40
lea eax, [ebp - 0x34]
push eax
call fcn.005aef90
add esp, 0x10
test eax, eax
je 0x5c07a4
lea eax, [ebp - 0x34]
push eax
call fcn.005720e0
add esp, 4
jmp 0x5c07a9
mov eax, str._none_
push eax
push str.IPv4:__s
push ebx
call fcn.005bae40
add esp, 0xc
lea eax, [ebp - 0x34]
push eax
call fcn.005aef30
lea eax, [ebp - 0x24]
push eax
call fcn.005aef30
add esp, 8
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x5cc3b0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.005aec80
push dword [ebp + 8]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x10], xmm0
call fcn.00725baf
push dword [ebp + 0xc]
mov edi, eax
call fcn.00725baf
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExA]
add esp, 0xc
mov esi, eax
push 1
push esi
push edi
call ebx
test eax, eax
jne 0x5cc437
lea eax, [ebp - 0x20]
push eax
call fcn.005aec80
movups xmm0, xmmword [ebp - 0x10]
sub esp, 0xc
mov ecx, esp
sub esp, 0x10
movups xmmword [ecx], xmm0
mov ecx, esp
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
call fcn.005aed30
add esp, 0x20
test edx, edx
ja 0x5cc45a
jb 0x5cc425
cmp eax, 0x3e8
ja 0x5cc45a
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push esi
push edi
call ebx
test eax, eax
je 0x5cc3f0
test edi, edi
je 0x5cc444
push edi
call fcn.0071420c
add esp, 4
test esi, esi
je 0x5cc451
push esi
call fcn.0071420c
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x5cc467
push edi
call fcn.0071420c
add esp, 4
test esi, esi
je 0x5cc474
push esi
call fcn.0071420c
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret