joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409370
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x413549
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x41b014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0xf
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push 0x228
mov edi, eax
xor esi, esi
lea eax, [ebp - 0x23c]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x240], 0x22c
lea eax, [ebp - 0x240]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x40943f
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop dword [eax]
nop word [eax + eax]
push 0x4161cc
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__10]
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x409421
inc esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea eax, [ebp - 0x240]
push eax
push edi
call ebx
test eax, eax
jne 0x4093f0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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 - 0x10]
xor ecx, ebp
call fcn.00411c65
mov esp, ebp
pop ebp
ret

Function at 0x409470
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x41b014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0
push 0xf
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push 0x228
mov ebx, eax
lea eax, [ebp - 0x22c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x409550
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_StrCmpW]
push 0x416110
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
je 0x40950a
push str.TxBugReport.exe
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
je 0x40950a
push str.WerFault.exe
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
jne 0x40953d
push dword [ebp - 0x228]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x409537
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
jmp 0x40953d
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x230]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4094d4
pop edi
push ebx
call esi
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.00411c65
mov esp, ebp
pop ebp
ret
Function at 0x40af30
Capabilities:
Create process on windows
Create process suspended
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x358
mov eax, dword [0x41b014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x100
lea eax, [ebp - 0x304]
mov esi, ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x100
lea eax, [ebp - 0x204]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x44
lea eax, [ebp - 0x358]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x30
mov dword [ebp - 0x358], 0x44
lea eax, [ebp - 0x204]
xorps xmm0, xmm0
movups xmmword [ebp - 0x314], xmm0
push 0
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x104]
push str._sG_Game.exe
push eax
call fcn.0040fe50
push str.G_Gamee
lea eax, [ebp - 0x104]
push 0x86
push eax
call fcn.00405130
push dword [esi]
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x304]
push 0x416328
push eax
call fcn.0040fe50
add esp, 0x2c
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x358]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
lea eax, [ebp - 0x304]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.00411c65
mov esp, ebp
pop ebp
ret
Function at 0x40c260
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x41b014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, esi
lea ecx, [edi + 2]
nop dword [eax]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x40c280
sub edi, ecx
sar edi, 1
test esi, esi
jne 0x40c2a5
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00411c65
mov esp, ebp
pop ebp
ret
cmp edi, 0x104
jge 0x40c293
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea ecx, [ebp - 0x210]
add esp, 0xc
sub ecx, esi
nop dword [eax + eax]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x40c2d0
add edi, edi
cmp edi, 0x20a
jae 0x40c3a5
xor eax, eax
mov word [ebp + edi - 0x210], ax
add edi, 2
cmp edi, 0x20a
jae 0x40c3a5
mov dword [ebp - 0x218], eax
xorps xmm0, xmm0
mov word [ebp + edi - 0x210], ax
mov ecx, 0x414
movq qword [ebp - 0x220], xmm0
mov ax, word [ebp - 0x220]
or ax, cx
mov dword [ebp - 0x21a], 0
movups xmmword [ebp - 0x230], xmm0
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x228], ecx
mov ecx, 0xffbf
and ax, cx
mov dword [ebp - 0x216], 0
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x230]
push eax
mov dword [ebp - 0x22c], 3
mov dword [ebp - 0x224], 0
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, dword [ebp - 4]
neg eax
pop edi
sbb eax, eax
xor ecx, ebp
inc eax
pop esi
call fcn.00411c65
mov esp, ebp
pop ebp
ret
call fcn.00412036
int3
Function at 0x410550
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41b014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
call fcn.004102d0
test eax, eax
je 0x410586
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call ebx
mov ecx, edi
call fcn.004102d0
test eax, eax
jne 0x410577
push 4
push edi
push 0x700b
push 0xffff
push dword [esi + 0x1c]
call dword [sym.imp.WS2_32.dll_setsockopt]
push 0
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
push 0
push 0xc
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 1
push eax
push 0x98000004
push dword [esi + 0x1c]
mov dword [ebp - 0x18], 0x7530
mov dword [ebp - 0x14], 0x1388
call dword [sym.imp.WS2_32.dll_WSAIoctl]
lea ebx, [edi + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
inc dword [edi + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [edi + 4]
push 0
push 0
push 1
push dword [esi + 0x1c]
push edi
call dword [0x41c804]
cmp byte [ebp + 8], 0
je 0x41066a
mov eax, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
call eax
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
dec dword [edi + 4]
push ebx
call eax
push dword [edi + 4]
push 0
push 0
push 3
push dword [esi + 0x1c]
push edi
call dword [0x41c804]
mov edi, dword [esi + 0x1c]
cmp edi, 0xffffffff
je 0x41072b
push 4
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 1
push eax
push 0x80
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
push 2
push edi
call dword [sym.imp.WS2_32.dll_shutdown]
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x41072b
mov dword [esi + 0x18], 2
cmp dword [edi + 0x20], 0
je 0x4106af
push dword [esi + 0x20]
call dword [sym.imp.mfc140u.dll_operator_2]
add esp, 4
mov dword [esi + 0x30], 0
push 4
call dword [sym.imp.mfc140u.dll_operator_1]
mov dword [esi + 0x20], eax
add esp, 4
add eax, dword [esi + 0x30]
mov dword [ebp - 0x20], eax
mov eax, 4
sub eax, dword [esi + 0x30]
mov dword [esi + 0x2c], 4
jmp 0x4106ba
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [0x41b628]
push 0
push esi
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0x10], 0
push eax
push 1
lea eax, [ebp - 0x24]
mov dword [ebp - 8], 0
push eax
push dword [esi + 0x1c]
call dword [sym.imp.WS2_32.dll_WSARecv]
test eax, eax
je 0x410750
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x271e
je 0x410750
cmp eax, 0x3e5
je 0x410750
mov eax, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
call eax
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
dec dword [edi + 4]
push ebx
call eax
push dword [edi + 4]
push 0
push 0
push 3
push dword [esi + 0x1c]
push edi
call dword [0x41c804]
mov ecx, dword [esi + 0x1c]
call fcn.00411170
push dword [esi + 0x20]
mov dword [esi + 0x1c], 0xffffffff
call dword [sym.imp.mfc140u.dll_operator_2]
add esp, 4
mov dword [esi + 0x20], 0
push 0x34
push esi
call fcn.00411f04
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00411c65
mov esp, ebp
pop ebp
ret 8
Function at 0x410990
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x41b014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
push dword [esi + 0x20]
mov edi, dword [esi + 0x1c]
call dword [sym.imp.mfc140u.dll_operator_2]
push 0x34
push esi
mov dword [esi + 0x20], 0
call fcn.00411f04
add esp, 0xc
cmp byte [ebp + 8], 0
je 0x410a10
cmp edi, 0xffffffff
je 0x4109ff
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 1
push eax
push 0x80
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
push 2
push edi
call dword [sym.imp.WS2_32.dll_shutdown]
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
push dword [ebx + 4]
push 0
push 0
push 5
push edi
push ebx
call dword [0x41c804]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00411c65
mov esp, ebp
pop ebp
ret 8
Function at 0x410c90
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push edi
push 0
push 0
mov edi, ecx
push 0x7010
push 0xffff
push dword [edi]
call dword [sym.imp.WS2_32.dll_setsockopt]
push 0
push 0
push 1
push dword [edi]
push edi
call dword [0x41c6d4]
cmp byte [ebp + 8], 0
je 0x410cd1
push dword [ebp + 0xc]
push ecx
mov ecx, edi
call fcn.00410f20
pop edi
pop ebp
ret 8
push esi
mov esi, dword [ebp + 0xc]
push dword [esi + 0x1c]
call dword [sym.imp.mfc140u.dll_operator_2]
add esp, 4
cmp dword [edi + 4], 0
je 0x410cf8
push 4
call dword [sym.imp.mfc140u.dll_operator_1]
mov dword [esi + 0x28], 4
jmp 0x410d0a
push 0xffff
call dword [sym.imp.mfc140u.dll_operator_1]
mov dword [esi + 0x28], 0xffff
add esp, 4
mov dword [esi + 0x1c], eax
mov ecx, edi
mov dword [esi + 0x18], 2
mov dword [esi + 0x2c], 0
push esi
call fcn.00410e80
cmp eax, 1
jne 0x410d34
push esi
push ecx
mov ecx, edi
call fcn.00410f20
pop esi
pop edi
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x41b014]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov esi, dword [ebp + 8]
push 0
push esi
mov dword [ebp - 0xc], 0
mov eax, dword [esi + 0x1c]
add eax, dword [esi + 0x2c]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x28]
sub eax, dword [esi + 0x2c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [esi + 0x24]
mov dword [esi + 0x14], ecx
push eax
push 1
lea eax, [ebp - 0x14]
mov dword [esi + 0x18], 2
push eax
push dword [ecx]
call dword [sym.imp.WS2_32.dll_WSARecv]
test eax, eax
je 0x410efe
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x271e
je 0x410efe
cmp eax, 0x3e5
je 0x410efe
mov eax, 1
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00411c65
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 8]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.00411c65
mov esp, ebp
pop ebp
ret 4

Function at 0x410f20
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x41b014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
push dword [esi + 0x1c]
call dword [sym.imp.mfc140u.dll_operator_2]
push 0x30
push esi
mov dword [esi + 0x1c], 0
call fcn.00411f04
add esp, 0xc
push 0
push 0
push 3
push dword [edi]
push edi
call dword [0x41c6d4]
mov esi, dword [edi]
cmp esi, 0xffffffff
je 0x410f96
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 1
push eax
push 0x80
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
push 2
push esi
call dword [sym.imp.WS2_32.dll_shutdown]
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp - 4]
mov dword [edi], 0xffffffff
xor ecx, ebp
pop edi
pop esi
call fcn.00411c65
mov esp, ebp
pop ebp
ret 8
Function at 0x410fb0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x41b014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [esi]
cmp edi, 0xffffffff
je 0x410ff9
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 1
push eax
push 0x80
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
push 2
push edi
call dword [sym.imp.WS2_32.dll_shutdown]
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
mov dword [esi], 0xffffffff
xor ecx, ebp
pop esi
call fcn.00411c65
mov esp, ebp
pop ebp
ret

Function at 0x411020
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x41b014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
push edi
mov edi, ecx
cmp esi, 0x3e80000
jbe 0x41105c
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00411c65
mov esp, ebp
pop ebp
ret 0x14
push ebx
push 0x30
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call dword [sym.imp.mfc140u.dll_operator]
push 0x30
mov ebx, eax
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x18], 4
cmp dword [edi + 4], 0
je 0x4110c5
add esi, 4
push esi
call dword [sym.imp.mfc140u.dll_operator_1]
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x28], esi
mov dword [ebp - 8], eax
mov ecx, dword [ebx + 0x28]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
push ecx
push dword [ebp - 0x10]
add eax, 4
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x10
jmp 0x4110d7
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x28], esi
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0xc], eax
push 0
push ebx
push 0
lea eax, [ebx + 0x24]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
push dword [edi]
call dword [sym.imp.WS2_32.dll_WSASend]
test eax, eax
je 0x411122
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x411122
push 0x30
push ebx
call fcn.00411f04
add esp, 8
mov eax, 1
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00411c65
mov esp, ebp
pop ebp
ret 0x14
xor esi, esi
cmp dword [edi + 8], 1
jne 0x411153
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x7d0
jg 0x411145
push 1
call ebx
cmp dword [edi + 8], 1
je 0x411130
jmp 0x411153
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov ecx, dword [ebp - 4]
xor eax, eax
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.00411c65
mov esp, ebp
pop ebp
ret 0x14
Function at 0x411170
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x41b014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp esi, 0xffffffff
jne 0x411199
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00411c65
mov esp, ebp
pop ebp
ret
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 1
push eax
push 0x80
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
push 2
push esi
call dword [sym.imp.WS2_32.dll_shutdown]
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00411c65
mov esp, ebp
pop ebp
ret

Function at 0x411420
Capabilities:
Create thread
Get system information on windows
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1bc
mov eax, dword [0x41b014]
xor eax, esp
mov dword [esp + 0x1b8], eax
push ebx
push esi
push edi
lea eax, [esp + 0x30]
mov dword [0x41b628], 0x200
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x411478
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1b8]
xor ecx, esp
call fcn.00411c65
mov esp, ebp
pop ebp
ret 4
mov esi, dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
push 0
push 0
push 0
push 0xffffffffffffffff
mov dword [0x41c804], 0x405ef0
mov dword [0x41c6d4], 0x4069c0
call esi
mov dword [0x41c80c], eax
push 0
test eax, eax
je 0x4114b9
push 0
push 0
push 0xffffffffffffffff
call esi
mov dword [0x41c800], eax
test eax, eax
jne 0x4114dc
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1b8]
xor ecx, esp
call fcn.00411c65
mov esp, ebp
pop ebp
ret 4
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x20]
mov ecx, 5
add eax, 2
cmp eax, ecx
cmovl eax, ecx
xor esi, esi
mov dword [0x41c808], eax
test eax, eax
jle 0x411547
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
nop
push 0
push 0
push 0
push 0x4111e0
push 0
push 0
call ebx
add esp, 0x18
push eax
call edi
push 0
push 0
push 0
push 0x411320
push 0
push 0
call ebx
add esp, 0x18
push eax
call edi
inc esi
cmp esi, dword [0x41c808]
jl 0x411510
mov ecx, dword [esp + 0x1c4]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00411c65
mov esp, ebp
pop ebp
ret 4

Function at 0x4115d0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x41b014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x41bc80]
test esi, esi
je 0x411628
push edi
mov edi, dword [esi]
cmp edi, 0xffffffff
je 0x411621
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 1
push eax
push 0x80
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
push 2
push edi
call dword [sym.imp.WS2_32.dll_shutdown]
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi], 0xffffffff
pop edi
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.00411c65
mov esp, ebp
pop ebp
ret
Function at 0x503b67
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x5032dd
mov dword [0x50521c], 2
jmp 0x503b97
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x504088
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c6a
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503c97
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c6a
mov eax, dword [0x505250]
jmp 0x503ca4
call 0x502b16
ret
Function at 0x4c42c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x4d2688
call fcn.004b4e54
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
call fcn.004cca0d
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x4c42ff
call fcn.004cca0d
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov edi, eax
test edi, edi
je 0x4c430d
push edi
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4c431b
or eax, 0xffffffff
jmp 0x4c4403
mov ecx, esi
call fcn.004c4236
mov dword [ebp - 0x14], eax
call fcn.004c50f1
xor edi, edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
je 0x4c4352
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4c4352
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
push esi
mov dword [ebp - 4], edi
call fcn.004c50a5
push dword [ebp - 0x14]
call fcn.004c4bd7
push ebx
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.004c3fce
cmp eax, edi
je 0x4c43c5
test byte [esi + 0x24], 0x10
je 0x4c4393
push 4
mov ecx, esi
pop ebx
call fcn.004c7444
test ah, 1
je 0x4c438b
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.004c6de6
cmp dword [esi + 0x1c], edi
je 0x4c43c5
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.004c755d
jmp 0x4c43c5
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x4c43d9
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x4c43f2
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x4c43f2
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, esi
call fcn.004c4270
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x4c55a2
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4c55da
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004c362f
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004c3607
jmp 0x4c55e6
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x4c6c94
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4c6cd6
call fcn.004cca0d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
cmp eax, edi
je 0x4c6cd6
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp eax, edi
jne 0x4c6ccd
xor eax, eax
jmp 0x4c6cde
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004c6ce4
pop edi
pop esi
pop ebx
ret 4

Function at 0x4ccf3d
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4ccf6b
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
test eax, eax
je 0x4ccf89
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004ccea3
jmp 0x4ccf89
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4ccf89
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004ccea3
test edi, edi
mov eax, edi
jne 0x4ccf73
pop edi
push ebx
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop esi
pop ebx
ret 8