joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f1a0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x48ea20]
push eax
call fcn.00456f5a
add esp, 4
test eax, eax
je 0x42f1b4
jmp eax
push 2
call fcn.00456ee6
add esp, 4
jmp fcn.0042f1d0

Function at 0x42f1d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x334
mov eax, dword [0x488e40]
xor eax, esp
mov dword [esp + 0x330], eax
push esi
mov dword [esp + 0x110], eax
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x108], edx
mov dword [esp + 0x104], ebx
mov dword [esp + 0x100], esi
mov dword [esp + 0xfc], edi
mov word [esp + 0x128], ss
mov word [esp + 0x11c], cs
mov word [esp + 0xf8], ds
mov word [esp + 0xf4], es
mov word [esp + 0xf0], fs
mov word [esp + 0xec], gs
pushfd
pop dword [esp + 0x120]
mov esi, dword [ebp + 4]
lea eax, [ebp + 4]
mov dword [esp + 0x124], eax
mov ecx, eax
push 0x50
lea eax, [esp + 0x14]
mov dword [esp + 0x64], 0x10001
mov dword [esp + 0x11c], esi
mov edx, dword [ecx - 4]
push 0
push eax
mov dword [esp + 0x120], edx
call fcn.004579a0
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x6c]
add esp, 0xc
mov dword [esp + 0x10], 0xc000000d
mov dword [esp + 0x1c], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.0042f300
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x42f2ce
test esi, esi
jne 0x42f2ce
push 2
call fcn.00456ee6
add esp, 4
push 0xc000000d
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [esp + 0x334]
pop esi
xor ecx, esp
call fcn.00454016
mov esp, ebp
pop ebp
ret

Function at 0x42f79a
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42f7f2
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x4727f1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42f7e5
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x42f7f4
xor eax, eax
pop esi
leave
ret 4

Function at 0x437717
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x437750
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00410b00
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00409e40
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]
Function at 0x43942b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x43946e
call fcn.00442f33
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x43946e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x439489
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00438fe2
test ebx, ebx
mov esi, eax
je 0x439487
test edi, edi
je 0x439487
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x43dc58
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x469eec
call fcn.00457e72
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x43dc7d
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x43dcc9
call fcn.0044188f
push eax
lea ecx, [ebp - 0x10]
call fcn.0040a1e0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042fca2
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00409fa0
mov eax, esi
call fcn.00457f11
ret 8

Function at 0x4476f3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 4], ecx
call fcn.00442f33
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x44771e
xor eax, eax
jmp 0x4477c2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 8], eax
je 0x447717
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x447717
movzx eax, word [esi + 6]
push ebx
push edi
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042f8c1
mov edi, eax
xor eax, eax
cmp word [esi + 6], ax
pop ecx
jbe 0x447773
lea ecx, [esi + 8]
movzx edx, word [ecx]
mov dword [edi + eax*4], edx
movzx edx, word [esi + 6]
inc eax
inc ecx
inc ecx
cmp eax, edx
jl 0x447762
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 4]
push eax
push edi
call fcn.00446527
push edi
mov ebx, eax
call fcn.0042f8ec
test ebx, ebx
pop ecx
je 0x4477b5
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
lea esi, [ecx + 7]
mov ecx, dword [ebp - 4]
push eax
lea edx, [eax + 7]
push esi
push edx
call fcn.00446bdc
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.00446c8e
mov ebx, eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, ebx
pop ebx
pop esi
leave
ret 4

Function at 0x454016
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x488e40]
jne 0x454020
repz ret
jmp fcn.0042f080
Function at 0x463d5e
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00456f51
xor ebx, ebx
cmp dword [0x48d124], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x463e33
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x463d9e
xor eax, eax
jmp 0x463ef7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x474a9c
push edi
call esi
cmp eax, ebx
je 0x463d97
push eax
call fcn.00456eee
mov dword [esp], 0x474a8c
push edi
mov dword [0x48d124], eax
call esi
push eax
call fcn.00456eee
mov dword [esp], 0x474a78
push edi
mov dword [0x48d128], eax
call esi
push eax
call fcn.00456eee
mov dword [0x48d12c], eax
lea eax, [ebp - 8]
push eax
call fcn.00454fef
test eax, eax
pop ecx
pop ecx
je 0x463e01
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042f1d0
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x463e33
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00456eee
cmp eax, ebx
pop ecx
mov dword [0x48d134], eax
je 0x463e33
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00456eee
pop ecx
mov dword [0x48d130], eax
mov eax, dword [0x48d130]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x463eac
cmp dword [0x48d134], esi
je 0x463eac
push eax
call fcn.00456f5a
pop ecx
call eax
cmp eax, ebx
je 0x463e79
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x48d134]
call fcn.00456f5a
pop ecx
call eax
test eax, eax
je 0x463e79
test byte [ebp - 0x18], 1
jne 0x463eac
lea eax, [ebp - 0xc]
push eax
call fcn.00455026
test eax, eax
pop ecx
je 0x463e94
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042f1d0
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x463ea3
or dword [ebp + 0x10], 0x200000
jmp 0x463edd
or dword [ebp + 0x10], 0x40000
jmp 0x463edd
mov eax, dword [0x48d128]
cmp eax, esi
je 0x463edd
push eax
call fcn.00456f5a
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x463edd
mov eax, dword [0x48d12c]
cmp eax, esi
je 0x463edd
push dword [ebp - 4]
push eax
call fcn.00456f5a
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x48d124]
call fcn.00456f5a
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x469820
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x488e40]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.004697b5
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.004579a0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x46986f
cmp dword [ebp - 0x1c], 5
jb 0x469887
jmp 0x469883
cmp dword [ebp - 0x10], 1
jne 0x469887
cmp dword [ebp - 0x1c], 4
ja 0x469883
jne 0x469887
cmp dword [ebp - 0x18], 0
jbe 0x469887
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x474b0c
call fcn.00469689
test eax, eax
jge 0x4698a8
mov byte [0x48d7b5], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00454016
add ebp, 0x78
leave
ret
Function at 0x10003340
Capabilities:
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x1001a4c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebp
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x244]
push edi
mov dword [esp + 0x14], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x1fc]
xor ebp, ebp
cmp eax, 0xffffffff
mov dword [esp + 0x3c], ebp
je 0x1000350e
lea ecx, [esp + 0xc]
push 4
push ecx
push 0x80
push 0xffff
push eax
mov word [esp + 0x20], 1
mov word [esp + 0x22], bp
call dword [sym.imp.WS2_32.dll_setsockopt]
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0xffffffff
jne 0x10003441
call edi
lea edx, [esp + 0x24]
push eax
push edx
call fcn.10006200
push eax
lea eax, [esp + 0x20]
push str.CSocketClient::setsockopt__SO_LINGER____
push eax
mov byte [esp + 0x50], 1
call fcn.10002520
add esp, 0x14
mov edx, dword [esi]
push eax
mov ecx, esi
mov byte [esp + 0x40], 2
call dword [edx + 0x2c]
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x1000340d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x10003404
cmp al, 0xff
je 0x10003404
dec al
mov byte [ecx], al
jmp 0x1000340d
push ecx
call fcn.1000bc7a
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x18], ebp
cmp ecx, ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov byte [esp + 0x3c], 0
je 0x10003441
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x10003438
cmp al, 0xff
je 0x10003438
dec al
mov byte [ecx], al
jmp 0x10003441
push ecx
call fcn.1000bc7a
add esp, 4
lea ecx, [esi + 0x23c]
call fcn.1000a3b0
lea ecx, [esi + 0x200]
call fcn.10009e70
mov eax, dword [esi + 0x1fc]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x100034f9
call edi
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.10006200
push eax
lea edx, [esp + 0x20]
push str.CSocketClient::StopAcceptingConnections_____closesocket__
push edx
mov byte [esp + 0x50], 3
call fcn.10002520
add esp, 0x14
mov edx, dword [esi]
push eax
mov ecx, esi
mov byte [esp + 0x40], 4
call dword [edx + 0x2c]
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x100034c3
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x100034ba
cmp al, 0xff
je 0x100034ba
dec al
mov byte [ecx], al
jmp 0x100034c3
push ecx
call fcn.1000bc7a
add esp, 4
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], ebp
cmp eax, ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov byte [esp + 0x3c], 0
je 0x100034f9
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x100034f0
cmp al, 0xff
je 0x100034f0
dec al
mov byte [ecx], al
jmp 0x100034f9
push ecx
call fcn.1000bc7a
add esp, 4
mov eax, dword [esi]
mov ecx, esi
mov dword [esi + 0x1fc], 0xffffffff
call dword [eax + 0x10]
mov edi, dword [esp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x34
ret
Function at 0x10003e30
Capabilities:
Receive data
Receive data on socket

Disassembly:
push 0xffffffffffffffff
push 0x1001a5a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
mov esi, dword [esp + 0x40]
push edi
mov edi, ecx
xor ebx, ebx
mov ecx, dword [esi + 0x40]
mov dword [esp + 0xc], ebx
cmp ecx, ebx
mov dword [esp + 0x10], ebx
jne 0x10003e72
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0x30], eax
lea eax, [esi + 0x2c]
mov dword [eax], ecx
jmp 0x10003e84
mov edx, dword [esi + 0x44]
lea eax, [esi + 0x2c]
add edx, ecx
mov dword [esi + 0x30], edx
mov edx, dword [esi + 0x3c]
sub edx, ecx
mov dword [eax], edx
push ebx
lea ecx, [esp + 0x14]
push ebx
lea edx, [esp + 0x14]
push ecx
push edx
push 1
push eax
mov eax, dword [edi + 0x1fc]
push eax
call dword [sym.imp.WS2_32.dll_WSARecv]
cmp eax, 0xffffffff
jne 0x10003f80
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp esi, 0x3e5
je 0x10003f94
lea ecx, [esp + 0x14]
push esi
push ecx
call fcn.10006200
lea edx, [esp + 0x1c]
lea eax, [esp + 0x2c]
push edx
push str.CSocketClient::OnRead_____WSARecv:
push eax
mov dword [esp + 0x50], ebx
call fcn.10002520
push eax
mov byte [esp + 0x54], 1
call fcn.100061e0
mov eax, dword [esp + 0x40]
add esp, 0x18
cmp eax, ebx
mov byte [esp + 0x3c], bl
je 0x10003f17
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x10003f0e
cmp al, 0xff
je 0x10003f0e
dec al
mov byte [ecx], al
jmp 0x10003f17
push ecx
call fcn.1000bc7a
add esp, 4
cmp esi, 0x2745
je 0x10003f2f
cmp esi, 0x2746
je 0x10003f2f
cmp esi, 0x2775
jne 0x10003f36
mov ecx, edi
call fcn.10003340
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
je 0x10003f94
mov al, byte [ecx - 1]
cmp al, bl
je 0x10003f62
cmp al, 0xff
je 0x10003f62
dec al
pop edi
pop esi
mov byte [ecx - 1], al
pop ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 4
dec ecx
push ecx
call fcn.1000bc7a
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 4
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 0x40]
add edx, ecx
push esi
mov dword [esi + 0x40], edx
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x24]
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 4
Function at 0x100042e0
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push 0xffffffffffffffff
push 0x1001a621
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x140
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_recv]
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x50]
xor esi, esi
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 0x1fc]
mov dword [esp + 0x24], 0x3e8
mov dword [esp + 0x28], esi
lea eax, [esp + 0x24]
lea ecx, [esp + 0x4c]
push eax
push 0
push 0
push ecx
push 0
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], 1
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x100044b4
mov edx, 0x22
push 0
sub edx, esi
lea eax, [esi + ebp + 0x1d8]
push edx
push eax
push edi
call ebx
test eax, eax
jle 0x100044b4
add esi, eax
cmp esi, 0x22
jne 0x10004328
cmp byte [ebp + 0x1da], 0x20
jne 0x10004328
mov al, byte [ebp + 0x1db]
test al, al
je 0x100044cf
mov cl, byte [esp + 0x13]
or ebx, 0xffffffff
mov byte [esp + 0x14], cl
mov edi, str.Server_send_cliper_mode_error_
mov ecx, ebx
xor eax, eax
xor esi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x18], esi
push ecx
push str.Server_send_cliper_mode_error_
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
call fcn.10004500
lea edx, [esp + 0x14]
mov dword [esp + 0x158], esi
push edx
call fcn.100061e0
mov eax, dword [esp + 0x1c]
add esp, 4
cmp eax, esi
mov dword [esp + 0x158], ebx
je 0x10004403
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x100043fa
cmp al, 0xff
je 0x100043fa
dec al
mov byte [ecx], al
jmp 0x10004403
push ecx
call fcn.1000bc7a
add esp, 4
mov eax, dword [ebp + 0x1fc]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x100044ae
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
lea ecx, [esp + 0x3c]
push eax
push ecx
call fcn.10006200
push eax
lea edx, [esp + 0x38]
push str.CSocketClient::StopAcceptingConnections_____closesocket__
push edx
mov dword [esp + 0x16c], 1
call fcn.10002520
add esp, 0x14
mov edx, dword [ebp]
push eax
mov ecx, ebp
mov byte [esp + 0x15c], 2
call dword [edx + 0x2c]
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x1000447d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x10004474
cmp al, 0xff
je 0x10004474
dec al
mov byte [ecx], al
jmp 0x1000447d
push ecx
call fcn.1000bc7a
add esp, 4
mov eax, dword [esp + 0x40]
mov dword [esp + 0x30], esi
cmp eax, esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
je 0x100044ae
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x100044a5
cmp al, 0xff
je 0x100044a5
dec al
mov byte [ecx], al
jmp 0x100044ae
push ecx
call fcn.1000bc7a
add esp, 4
mov dword [ebp + 0x1fc], ebx
xor al, al
mov ecx, dword [esp + 0x150]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14c
ret
mov dword [ebp + 0x1cc], 0
mov eax, dword [ebp + 0x1e2]
not eax
mov dword [ebp + 0x1d0], eax
mov ecx, dword [ebp + 0x1e6]
not ecx
mov dword [ebp + 0x1d4], ecx
mov al, 1
jmp 0x100044b6
Function at 0x10009780
Capabilities:
Create thread

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1001aabb
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 4], ebx
jne 0x1000982d
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ebx
push eax
push ebx
push esi
push 0x10009b20
push ebx
push ebx
call fcn.1000cee0
add esp, 0x18
cmp eax, ebx
mov dword [esi + 4], eax
jne 0x10009912
mov cl, byte [esp + 0xf]
mov edi, str.CThread::Start______beginthreadex
mov byte [esp + 0x34], cl
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x38], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x3c], ebx
push ecx
push str.CThread::Start______beginthreadex
lea ecx, [esp + 0x3c]
mov dword [esp + 0x48], ebx
call fcn.10004500
mov dword [esp + 0x98], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [esp + 0x34]
push eax
push edx
lea ecx, [esp + 0x70]
call fcn.1000b0f0
lea eax, [esp + 0x68]
push 0x1001e088
push eax
call fcn.1000c2dd
mov cl, byte [esp + 0xf]
push ebp
mov byte [esp + 0x28], cl
push ebx
lea ecx, [esp + 0x2c]
call fcn.10002280
mov edi, str.Thread_already_running___you_can_only_call_Start___once_
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x2c]
push ebp
call fcn.100022f0
test al, al
je 0x10009885
mov edi, dword [esp + 0x2c]
mov ecx, ebp
mov edx, ecx
mov esi, str.Thread_already_running___you_can_only_call_Start___once_
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x30], ebp
mov byte [eax + ebp], bl
mov cl, byte [esp + 0x13]
push ebx
mov byte [esp + 0x1c], cl
lea ecx, [esp + 0x1c]
mov dword [esp + 0xa0], 1
call fcn.10002280
mov edi, str.CThread::Start__
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x1c]
push ebp
call fcn.100022f0
test al, al
je 0x100098e7
mov edi, dword [esp + 0x1c]
mov ecx, ebp
mov edx, ecx
mov esi, str.CThread::Start__
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], ebp
mov byte [eax + ebp], bl
lea ecx, [esp + 0x28]
lea edx, [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x50]
mov byte [esp + 0xa4], 2
call fcn.1000b1b0
lea eax, [esp + 0x48]
push 0x1001e2f0
push eax
call fcn.1000c2dd
pop ebp
mov ecx, dword [esp + 0x90]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x90
ret
Function at 0x10009c50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov ecx, eax
mov edx, dword [esi]
shr eax, 2
je 0x10009c75
mov ebx, dword [edi]
add edi, 4
xor ebx, edx
dec eax
mov dword [edi - 4], ebx
jne 0x10009c68
and ecx, 3
mov eax, edx
je 0x10009c8a
mov bl, byte [edi]
inc edi
xor bl, al
shr eax, 8
mov byte [edi - 1], bl
dec ecx
jne 0x10009c7c
mov eax, edx
shl edx, 5
sub edx, eax
add edx, 0x8088405
mov dword [esi], edx
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10009ec0
Capabilities:
Initialize winsock library

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1001ab48
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push esi
mov esi, ecx
push esi
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x10009f78
mov al, byte [esp + 7]
push ebx
push ebp
push edi
mov byte [esp + 0x14], al
mov edi, str.CUsesWinsock::CUsesWinsock__
or ecx, 0xffffffff
xor eax, eax
xor ebx, ebx
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x1c], ebx
mov ebp, ecx
lea ecx, [esp + 0x18]
push ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.100022f0
test al, al
je 0x10009f4d
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov edx, ecx
mov esi, str.CUsesWinsock::CUsesWinsock__
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], ebp
mov byte [eax + ebp], bl
mov dword [esp + 0x54], ebx
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
lea ecx, [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.1000b0f0
lea edx, [esp + 0x24]
push 0x1001e088
push edx
call fcn.1000c2dd
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x48
ret