joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100fac7f
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
je 0x100fad72
mov eax, dword [esp + 0xc]
test eax, eax
jle 0x100fad72
cmp eax, 8
push ebx
push esi
mov esi, dword [esp + 0xc]
not esi
mov ecx, 0xff
jl 0x100fad52
push edi
mov edi, eax
shr edi, 3
mov ebx, edi
imul ebx, ebx, 0xfffffff8
add eax, ebx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x10188420]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x10188420]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x10188420]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x10188420]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x10188420]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x10188420]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x10188420]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x10188420]
inc edx
dec edi
jne 0x100facba
pop edi
test eax, eax
je 0x100fad6b
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x10188420]
inc edx
dec eax
jne 0x100fad56
mov eax, esi
pop esi
not eax
pop ebx
ret
mov eax, dword [esp + 4]
ret

Function at 0x100fae55
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [ebp - 8]
push eax
push str.metnsdclsid
push SysReAllocString
mov dword [ebp - 4], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x100faef5
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 4]
push eax
xor ebx, ebx
push ebx
push ebx
push ebx
mov edi, str.SequenceID
push edi
push dword [ebp - 8]
call esi
test eax, eax
jne 0x100faef5
cmp dword [ebp - 4], 0x10
jne 0x100faef5
push 0x10
call fcn.10148dba
pop ecx
lea ecx, [ebp - 4]
push ecx
push eax
push ebx
push ebx
push edi
push dword [ebp - 8]
mov dword [ebp - 0xc], eax
call esi
test eax, eax
jne 0x100faee3
push dword [ebp - 4]
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.1014a220
push dword [ebp - 0xc]
call fcn.10149dfd
add esp, 0x10
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x100faef7
push dword [ebp - 0xc]
call fcn.10149dfd
pop ecx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x100faefe
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
mov edi, str.metnsdclsid
push edi
mov esi, SysReAllocString
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor ebx, ebx
test eax, eax
jne 0x100faf48
push 0x10
push dword [ebp + 8]
push 3
push ebx
push str.SequenceID
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x100faf74
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x100faf7f
lea eax, [ebp - 4]
push eax
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x100faf74
push 0x10
push dword [ebp + 8]
push 3
push ebx
push str.SequenceID
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x100faf74
mov bl, 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x100fb38a
Capabilities:
Write file on windows

Disassembly:
push 0x144
mov eax, 0x1017b6d8
call fcn.1014d21b
mov dword [ebp - 0x18], ecx
xor esi, esi
inc esi
push esi
xor ebx, ebx
push 2
lea ecx, [ebp - 0x150]
mov byte [ebp - 0xd], bl
call fcn.1000ab00
mov ecx, dword [ebp - 0x18]
push ebx
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 4], ebx
call fcn.100faff3
mov edi, str.Global.db
push edi
push eax
lea eax, [ebp - 0x150]
push eax
mov byte [ebp - 4], 1
call fcn.10011f80
pop ecx
pop ecx
push eax
call fcn.10011d70
pop ecx
pop ecx
push ebx
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], bl
call fcn.10001800
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x150]
call fcn.10008180
cmp dword [eax + 0x18], 0x10
jb 0x100fb40a
mov eax, dword [eax + 4]
jmp 0x100fb40d
add eax, 4
push ebx
push ebx
push 2
push ebx
push esi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
push ebx
push esi
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x14], eax
call fcn.10001800
cmp dword [ebp - 0x14], 0xffffffff
jne 0x100fb4cf
push esi
push 2
lea ecx, [ebp - 0xd0]
call fcn.1000ab00
mov ecx, dword [ebp - 0x18]
push esi
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 2
call fcn.100faff3
push edi
push eax
lea eax, [ebp - 0xd0]
push eax
mov byte [ebp - 4], 3
call fcn.10011f80
pop ecx
pop ecx
push eax
call fcn.10011d70
pop ecx
pop ecx
push ebx
push esi
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.10001800
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0xd0]
call fcn.10008180
cmp dword [eax + 0x18], 0x10
jb 0x100fb499
mov eax, dword [eax + 4]
jmp 0x100fb49c
add eax, 4
push ebx
push ebx
push 2
push ebx
push esi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
push ebx
push esi
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x14], eax
call fcn.10001800
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], bl
call fcn.10006f90
cmp dword [ebp - 0x14], 0xffffffff
je 0x100fb4f9
push ebx
lea eax, [ebp + 8]
push eax
push 0x10
push dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x100fb4f0
cmp dword [ebp + 8], 0x10
jne 0x100fb4f0
mov byte [ebp - 0xd], 1
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x150]
call fcn.10006f90
mov al, byte [ebp - 0xd]
call fcn.1014d2f3
ret 4
Function at 0x100fb851
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [sym.imp.WS2_32.dll_ntohl]
push edi
mov edi, eax
push dword [edi]
call esi
push dword [edi + 4]
mov ebx, eax
call esi
and dword [ebp - 4], 0
mov edi, eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
sub eax, ecx
mov dword [ebp - 8], eax
jmp 0x100fb883
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
lea eax, [eax + ecx*4]
push dword [ebp + eax - 0x18]
call esi
mov ecx, dword [ebp - 4]
inc dword [ebp - 4]
cmp dword [ebp - 4], 4
mov dword [ebp + ecx*4 - 0x18], eax
jl 0x100fb880
push 0x10
xor eax, eax
pop ecx
mov edx, edi
shr edx, 5
add edx, dword [ebp - 0x14]
mov esi, edi
shl esi, 4
add esi, dword [ebp - 0x18]
sub eax, 0x61c88647
xor edx, esi
lea esi, [eax + edi]
xor edx, esi
add ebx, edx
mov edx, ebx
shr edx, 5
add edx, dword [ebp - 0xc]
mov esi, ebx
shl esi, 4
add esi, dword [ebp - 0x10]
xor edx, esi
lea esi, [eax + ebx]
xor edx, esi
add edi, edx
dec ecx
jne 0x100fb8a4
mov esi, dword [sym.imp.WS2_32.dll_htonl]
push ebx
call esi
mov ebx, dword [ebp + 0xc]
push edi
mov dword [ebx], eax
call esi
pop edi
pop esi
mov dword [ebx + 4], eax
pop ebx
leave
ret

Function at 0x100fb8f7
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [sym.imp.WS2_32.dll_ntohl]
push edi
mov edi, eax
push dword [edi]
call esi
push dword [edi + 4]
mov ebx, eax
call esi
and dword [ebp - 4], 0
mov edi, eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
sub eax, ecx
mov dword [ebp - 8], eax
jmp 0x100fb929
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
lea eax, [eax + ecx*4]
push dword [ebp + eax - 0x18]
call esi
mov ecx, dword [ebp - 4]
inc dword [ebp - 4]
cmp dword [ebp - 4], 4
mov dword [ebp + ecx*4 - 0x18], eax
jl 0x100fb926
push 0x10
mov eax, 0xe3779b90
pop ecx
mov edx, ebx
shr edx, 5
add edx, dword [ebp - 0xc]
mov esi, ebx
shl esi, 4
add esi, dword [ebp - 0x10]
xor edx, esi
lea esi, [eax + ebx]
xor edx, esi
sub edi, edx
mov edx, edi
shr edx, 5
add edx, dword [ebp - 0x14]
mov esi, edi
shl esi, 4
add esi, dword [ebp - 0x18]
xor edx, esi
lea esi, [eax + edi]
xor edx, esi
sub ebx, edx
add eax, 0x61c88647
dec ecx
jne 0x100fb94d
mov esi, dword [sym.imp.WS2_32.dll_htonl]
push ebx
call esi
mov ebx, dword [ebp + 0xc]
push edi
mov dword [ebx], eax
call esi
pop edi
pop esi
mov dword [ebx + 4], eax
pop ebx
leave
ret
Function at 0x100fc2e9
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x10107f81
Capabilities:
Print debug messages
Resolve dns

Disassembly:
push 0xc0
mov eax, 0x1017c5a0
call fcn.1014d284
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x30], 0
cmp dword [eax + 0x18], 0x10
mov esi, dword [ebp + 8]
jb 0x10107fa5
mov eax, dword [eax + 4]
jmp 0x10107fa8
add eax, 4
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x10108045
push 1
push 2
lea ecx, [ebp - 0xcc]
call fcn.1000ab00
and dword [ebp - 4], 0
push 0x10185ae4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
lea eax, [ebp - 0xcc]
push str.InetAddress::getHostByName_error_code:
push eax
call fcn.10011d70
pop ecx
pop ecx
mov ecx, eax
call fcn.100124b0
push eax
call fcn.10011d70
pop ecx
pop ecx
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0xcc]
call fcn.10008180
cmp dword [eax + 0x18], 0x10
jb 0x10108012
mov eax, dword [eax + 4]
jmp 0x10108015
add eax, 4
push eax
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
push 0
push 1
lea ecx, [ebp - 0x4c]
call fcn.10001800
push 0x10184472
mov ecx, esi
call fcn.100025a0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc]
call fcn.10006f90
jmp 0x10108079
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [ebp - 0x2c]
call fcn.100025a0
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.100021d0
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.10001800
mov eax, esi
call fcn.1014d307
ret

Function at 0x10108081
Capabilities:
Get hostname

Disassembly:
push ebp
sub esp, 0x80
lea ebp, [esp - 4]
mov eax, dword [0x101b01e4]
xor eax, ebp
mov dword [ebp + 0x80], eax
push 0x40
mov eax, 0x1017c5f1
call fcn.1014d21b
mov esi, dword [ebp + 0x8c]
push 0x7b
lea eax, [ebp]
xor ebx, ebx
push eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], ebx
call dword [sym.imp.WS2_32.dll_gethostname]
mov ecx, esi
call fcn.10107ebe
xor edi, edi
lea eax, [ebp]
inc edi
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], edi
call fcn.100025a0
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.10001ec0
push ebx
push edi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.10001800
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [esi + 0x48]
call fcn.10001ec0
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x4c]
call fcn.100025a0
push eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 4], 2
call fcn.10107f81
cmp dword [eax + 0x18], 0x10
pop ecx
pop ecx
jb 0x1010812c
mov eax, dword [eax + 4]
jmp 0x1010812f
add eax, 4
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
push ebx
push edi
lea ecx, [ebp - 0x30]
mov dword [esi + 0x3c], eax
call fcn.10001800
push ebx
push edi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.10001800
push 8
lea eax, [esi + 0x40]
push ebx
push eax
mov word [esi + 0x3a], bx
mov word [esi + 0x38], 2
call fcn.10149460
add esp, 0xc
push dword [esi + 0x3c]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [esi + 0x1c]
call fcn.10002200
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x80]
xor ecx, ebp
call fcn.10149c5e
add ebp, 0x84
leave
ret
Function at 0x1010d8bf
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
xor ebx, ebx
jmp 0x1010d8ff
push 0
push 1
lea eax, [ebp + 0xb]
push eax
push dword [esi + 8]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x1010d8fd
push eax
mov ecx, esi
call fcn.1010d63d
test al, al
je 0x1010d905
test ebx, ebx
jne 0x1010d905
push 1
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x1010d8ff
add ebx, eax
mov al, byte [edi]
test al, al
jne 0x1010d8ce
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x1010db9a
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0x94
mov eax, 0x1017d3f9
call fcn.1014d284
mov eax, dword [ebp + 8]
push 0xf
pop edi
mov esi, ecx
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x14], edi
call fcn.100011d0
push ebx
lea ecx, [ebp - 0x84]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x6c], edi
call fcn.100011d0
mov ecx, dword [ebp - 0x54]
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x84]
push eax
mov byte [ebp - 4], 1
call fcn.10001ec0
push ebx
push 1
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], bl
call fcn.10001800
mov eax, dword [ebp + 0xc]
mov edi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
add eax, 0x7530
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x4c], eax
call edi
mov dword [ebp - 0x58], eax
jmp 0x1010dcde
cmp dword [ebp - 0x4c], ebx
jbe 0x1010dcee
mov ecx, dword [esi + 0x2e4]
mov eax, dword [ecx]
push 0xa
call dword [eax + 0xc]
test al, al
je 0x1010dcbd
push dword [esi + 0x240]
mov ecx, dword [esi + 0x2e4]
lea eax, [ebp - 0x2c]
push eax
call fcn.1010d90c
call edi
cmp dword [ebp - 0x18], ebx
mov dword [ebp - 0x58], eax
je 0x1010dcac
mov ecx, dword [ebp - 0x54]
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x2c]
push eax
call fcn.10001c20
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x1010dc74
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x50]
push ecx
push 0x10189328
push eax
call fcn.1014b78f
add esp, 0xc
cmp eax, 1
jne 0x1010dcac
mov eax, dword [ebp - 0x50]
add eax, 0xffffff9b
cmp ax, 0x382
ja 0x1010dcac
cmp dword [ebp - 0x18], 3
jbe 0x1010dcac
push 3
lea ecx, [ebp - 0x2c]
call fcn.100014b0
cmp byte [eax], 0x2d
jne 0x1010dcee
mov ecx, dword [esi + 0x2e4]
call fcn.1010d8af
test al, al
jne 0x1010dcee
jmp 0x1010dcde
cmp dword [ebp - 0x4c], 0xa
jb 0x1010dcdb
sub dword [ebp - 0x4c], 0xa
call edi
sub eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x68]
ja 0x1010dcdb
push 1
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x1010dcde
mov dword [ebp - 0x4c], ebx
mov eax, dword [esi + 0x240]
mov al, byte [eax]
test al, al
jne 0x1010dc1c
push 0x10184a40
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
call fcn.100025a0
push eax
push dword [ebp - 0x54]
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 2
call fcn.10002230
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 4
call fcn.10001800
mov ecx, dword [esi + 0x244]
cmp ecx, ebx
je 0x1010dd5b
cmp dword [ebp - 0x34], ebx
je 0x1010dd5b
cmp dword [ebp - 0x30], 0x10
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x60], ebx
jae 0x1010dd4b
lea eax, [ebp - 0x44]
lea edx, [ebp - 0x64]
push edx
lea edx, [esi + 4]
mov dword [ebp - 0x5c], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x34]
movzx eax, word [ebp - 0x50]
push ebx
mov dword [esi + 0x2ec], eax
movzx esi, word [ebp - 0x50]
push 1
lea ecx, [ebp - 0x48]
call fcn.10001800
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.10001800
mov ax, si
call fcn.1014d307
ret 8
Function at 0x1011bf11
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_GetTickCount]
push esi
add eax, 0x7530
push edi
mov esi, ecx
mov dword [ebp - 8], eax
mov dword [ebp + 0x14], eax
call ebx
mov dword [ebp - 4], eax
jmp 0x1011bfd9
xor edi, edi
cmp dword [esi + 0x2e4], edi
je 0x1011bfe9
mov eax, dword [ebp + 0x10]
cmp dword [eax], edi
jbe 0x1011bff6
cmp dword [ebp + 0x14], edi
jbe 0x1011bfe9
mov ecx, dword [esi + 0x2e4]
mov eax, dword [ecx]
push 0xa
call dword [eax + 0xc]
test al, al
je 0x1011bfb8
call ebx
push dword [esi + 0x240]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x2e4]
mov edi, dword [eax]
mov eax, dword [ebp + 0x10]
push dword [eax]
mov eax, dword [ebp + 0xc]
push dword [eax]
add edi, 4
call fcn.1000cc20
mov ecx, dword [esi + 0x2e4]
push eax
call dword [edi]
mov ecx, dword [ebp + 0xc]
add dword [ecx], eax
mov ecx, dword [ebp + 0x10]
sub dword [ecx], eax
mov ecx, dword [esi + 0x2e4]
call fcn.1010d8af
test al, al
jne 0x1011bfe9
jmp 0x1011bfd9
cmp dword [ebp + 0x14], 0xa
jb 0x1011bfd6
sub dword [ebp + 0x14], 0xa
call ebx
sub eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
ja 0x1011bfd6
push 1
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x1011bfd9
mov dword [ebp + 0x14], edi
mov eax, dword [esi + 0x240]
mov al, byte [eax]
test al, al
jne 0x1011bf39
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
jbe 0x1011bff6
or eax, 0xffffffff
jmp 0x1011bff8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x101222df
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x101b01e4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
mov esi, ecx
call fcn.1002d990
push 1
push eax
mov dword [esi + 0xc], eax
call fcn.1002d4d0
add esp, 0xc
test al, al
je 0x10122351
mov eax, dword [ebp + 8]
mov cx, word [eax + 4]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0xc]
mov word [ebp - 0x14], 2
mov word [ebp - 0x12], cx
call dword [sym.imp.WS2_32.dll_connect]
push esi
push dword [esi + 0xc]
mov ecx, esi
mov dword [esi + 0x10], 1
call fcn.10121f96
push esi
push dword [esi + 0xc]
mov ecx, esi
call fcn.10121f9e
mov al, 1
jmp 0x10122366
mov eax, dword [esi + 0xc]
cmp eax, 0xffffffff
je 0x10122360
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
or dword [esi + 0xc], 0xffffffff
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10149c5e
leave
ret 4
Function at 0x10123e52
Capabilities:
Initialize winsock library

Disassembly:
push 0x198
mov eax, 0x1017fcb5
call fcn.1014d284
mov esi, ecx
lea ecx, [esi + 4]
mov dword [ebp - 0x1a4], esi
mov dword [esi], 0x1018a11c
call fcn.10006240
xor ebx, ebx
lea ecx, [esi + 0x20]
mov dword [ebp - 4], ebx
call fcn.10120521
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 1
call fcn.10120521
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 2
call fcn.10120521
mov dword [esi + 0x350], ebx
mov byte [esi + 0x354], bl
lea eax, [esi + 0x358]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
lea eax, [esi + 0x368]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
lea eax, [esi + 0x378]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
lea ecx, [esi + 0x388]
call fcn.10006240
lea ecx, [esi + 0x3a4]
mov byte [ebp - 4], 7
call fcn.10120546
mov eax, dword [ebp + 8]
mov dword [esi + 0x3b0], eax
mov eax, dword [eax + 0x10]
add eax, 2
push eax
lea ecx, [esi + 0x3b4]
mov byte [ebp - 4], 8
call fcn.101202ca
mov eax, 0x10123d79
push eax
lea edi, [esi + 0x3cc]
push esi
mov ecx, edi
mov byte [esi + 0x3c8], bl
call fcn.100f3e15
lea eax, [esi + 0x3ec]
mov dword [esi + 0x3e8], ebx
lea ecx, [esi + 0x3fc]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
call fcn.10006240
lea eax, [ebp - 0x1a0]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
push ebx
mov ecx, edi
mov dword [esi + 0x44], ebx
mov dword [esi + 0x148], ebx
mov dword [esi + 0x24c], ebx
call fcn.100f6a88
mov eax, esi
call fcn.1014d307
ret 4
Function at 0x10125483
Capabilities:
Print debug messages

Disassembly:
push 0x4c
mov eax, 0x101800ed
call fcn.1014d24e
mov esi, ecx
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
call fcn.10124501
test al, al
je 0x101255e1
push 0xffffffffffffffff
push edi
push dword [ebp + 0xc]
lea ecx, [esi + 0x294]
call fcn.10001ec0
push 0xffffffffffffffff
push edi
push dword [ebp + 0x18]
lea ecx, [esi + 0x278]
call fcn.10001ec0
lea eax, [esi + 0x3c]
push eax
lea eax, [esi + 0x2c]
push eax
lea ecx, [ebp - 0x20]
mov word [esi + 9], 1
call fcn.10025c00
mov dword [ebp + 8], eax
push dword [ebp + 0x10]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.100021d0
push dword [ebp + 0xc]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.100021d0
lea ebx, [esi + 0xa0]
mov eax, dword [ebx + 4]
cmp eax, edi
mov byte [ebp - 4], 3
je 0x10125515
mov edi, dword [ebx + 8]
sub edi, eax
mov ecx, dword [esi + 0x118]
lea eax, [esi + 4]
push eax
call fcn.1012504b
push edi
mov ecx, eax
call fcn.10067510
push ebx
mov ecx, eax
call fcn.100726e0
push dword [ebp + 0x14]
mov ecx, eax
call fcn.10067540
lea ecx, [ebp - 0x3c]
push ecx
push eax
call fcn.1012543e
pop ecx
pop ecx
lea ecx, [ebp - 0x58]
push ecx
push eax
call fcn.1012543e
pop ecx
pop ecx
push dword [ebp + 8]
mov ecx, eax
call fcn.100726e0
push dword [ebp + 0x1c]
mov ecx, eax
call fcn.10067540
lea ecx, [ebp + 0x20]
push ecx
mov ecx, dword [eax + 4]
call fcn.10051c10
push 0
push 1
lea ecx, [ebp - 0x3c]
call fcn.10001800
push 0
push 1
lea ecx, [ebp - 0x58]
call fcn.10001800
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.10037160
cmp word [esi + 9], 1
jne 0x101255c9
mov edi, dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
push str.gethash_:
call edi
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 0x10
jb 0x101255bc
mov eax, dword [eax + 4]
jmp 0x101255bf
add eax, 4
push eax
call edi
push 0x10184a40
call edi
mov ecx, esi
call fcn.10124231
mov byte [esi + 0x203], 1
mov al, 1
jmp 0x101255e3
xor al, al
call fcn.1014d2f3
ret 0x1c