joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003c520
Capabilities:
Resolve dns

Disassembly:
push ecx
test esi, esi
jne 0x1003c529
xor eax, eax
pop ecx
ret
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1003c530
sub eax, edx
je 0x1003c525
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
jne 0x1003c567
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x1003c559
or eax, 0xffffffff
pop ecx
ret
cmp word [eax + 0xa], 4
jne 0x1003c554
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx]
pop ecx
ret

Function at 0x1003c760
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x198
mov eax, dword [0x100810a0]
xor eax, esp
mov dword [esp + 0x194], eax
cmp dword [esi + 4], 0
je 0x1003c796
mov eax, 1
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.100446ed
add esp, 0x198
ret 4
xor ecx, ecx
mov ch, byte [esp + 0x19c]
lea eax, [esp]
push eax
mov cl, bl
push ecx
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1003c7e6
mov ax, word [esp]
cmp al, bl
jne 0x1003c7e0
cmp ah, byte [esp + 0x19c]
jne 0x1003c7e0
mov eax, 1
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.100446ed
add esp, 0x198
ret 4
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x194]
xor ecx, esp
xor eax, eax
call fcn.100446ed
add esp, 0x198
ret 4

Function at 0x1003cb70
Capabilities:
Access peb ldr_data
Get system information on windows

Disassembly:
push 0xffffffffffffffff
push 0x1006e00a
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x100810a0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x40]
push esi
call fcn.1003cc20
xor edi, edi
mov dword [esp + 0x38], edi
lea eax, [esp + 0xc]
push eax
mov dword [esi], vtable.CProactorIOCP.0
mov dword [esi + 0x4c], edi
mov dword [esi + 4], edi
mov dword [esi + 0x50], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x20]
add eax, eax
push eax
push edi
push edi
push 0xffffffffffffffff
mov dword [esi + 0x50], eax
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [esi + 0x4c], eax
mov dword [esp + 0x38], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret 4
Function at 0x1003f170
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx], 0
push esi
push edi
mov esi, ecx
jne 0x1003f1d9
lea edi, [esi + 4]
push edi
mov dword [esp + 0x10], edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp dword [ebx], 0
jne 0x1003f1d2
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ecx]
call ebx
mov ecx, dword [esi + 0x4c]
mov edi, eax
mov eax, dword [esi + 0x50]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1003f1ce
call ebx
sub eax, edi
push eax
lea edi, [esi + 0x70]
call fcn.1003f3c0
mov edx, dword [ebp + 8]
cmp dword [edx], 0
je 0x1003f1a0
mov edi, dword [esp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x10040160
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x100678fb
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x100810a0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, dword [esp + 0x20]
xor ebx, ebx
mov dword [edi], vtable.CKeyExchangeBase.0
lea esi, [edi + 0x20]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
call fcn.100406c0
mov dword [esp + 0x18], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x40], ebx
mov dword [edi + 0x44], ebx
mov dword [esp + 0x18], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x10041880
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x10
push ebp
push 1
push 1
mov ebp, ecx
call dword [sym.imp.KERNEL32.dll_SleepEx]
mov eax, dword [ebp + 0x250]
test eax, eax
je 0x10041a6f
push ebx
push esi
push edi
push 0
push 1
push 0
lea ecx, [ebp + 0x50]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
mov esi, eax
test esi, esi
je 0x10041a6c
cmp esi, 0x102
je 0x10041969
cmp esi, 0xffffffff
je 0x10041a5d
cmp esi, 1
jne 0x100418e5
mov eax, dword [ebp + 0x54]
push eax
call dword [sym.imp.WS2_32.dll_WSAResetEvent]
jmp 0x10041a3b
mov ecx, dword [ebp + esi*4 + 0x50]
push ecx
call dword [sym.imp.WS2_32.dll_WSAResetEvent]
push esi
mov ecx, ebp
call fcn.10041bd0
mov edi, eax
test edi, edi
je 0x10041a3b
mov ebx, dword [edi + 0x40]
lea edx, [esp + 0x18]
push edx
push 0
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], 0
mov eax, dword [ebx + 4]
push edi
push eax
call dword [sym.imp.WS2_32.dll_WSAGetOverlappedResult]
test eax, eax
jne 0x10041943
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e4
je 0x10041969
mov edx, dword [ebp]
mov eax, dword [edx + 0x1c]
push esi
push ebx
mov ecx, ebp
call eax
jmp 0x10041969
mov edx, dword [ebx]
mov eax, dword [esp + 0x14]
mov edx, dword [edx + 8]
push edi
push eax
mov ecx, ebx
call edx
test eax, eax
je 0x10041969
test eax, 0x8000
je 0x10041969
mov eax, dword [ebp]
mov edx, dword [eax + 0x1c]
push esi
push ebx
mov ecx, ebp
call edx
mov eax, dword [0x10085e40]
mov ecx, dword [ebp + 0x4c]
mov edi, dword [eax]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
push 0
push 1
lea eax, [esp + 0x18]
push eax
call edx
cmp eax, 1
jne 0x10041a3b
lea esp, [esp]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10041a3b
push 0x10041850
mov dword [eax + 0x10], edi
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 4]
push eax
push 0x10
lea edx, [eax + 0x106c]
push edx
push 0
lea edx, [esp + 0x30]
push edx
mov edx, dword [eax + 0x20]
push edx
add eax, 0x24
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSASendTo]
cmp eax, 0xffffffff
jne 0x10041a1f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp esi, 0x3e5
je 0x10041a1f
mov eax, dword [0x10084e1c]
mov edx, dword [esp + 0x10]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x4c]
call eax
cmp esi, 0x2733
je 0x10041a0f
cmp esi, 8
je 0x10041a0f
cmp esi, 0x2747
je 0x10041a0f
push esi
push str.WSASend_____Unknow_NERROR:__d
jmp 0x10041a15
push esi
push str.WSASend_____NERR_TOO_MANY_OUTSTANDING:__d
push 0
call fcn.1001e9a0
add esp, 0xc
mov ecx, dword [ebp + 0x4c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
push 0
push 1
lea eax, [esp + 0x18]
push eax
call edx
cmp eax, 1
je 0x10041990
push 1
push 1
call dword [sym.imp.KERNEL32.dll_SleepEx]
mov eax, dword [ebp + 0x250]
test eax, eax
jne 0x100418a1
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x10
ret 8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.1001a000
add esp, 4
pop edi
pop esi
pop ebx
xor eax, eax
pop ebp
add esp, 0x10
ret 8
Function at 0x10042890
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1006c3e8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x100810a0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x18]
mov edx, dword [edi + 0x14]
lea esi, [edi + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [edx + 4]
xor ebx, ebx
push 0xffffffffffffffff
mov ecx, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], ebx
call eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], ebx
mov eax, dword [edi + 0xc]
mov eax, dword [eax]
mov edx, dword [edi + 0xc]
add edi, 8
mov ecx, edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], edx
jmp 0x10042906
mov eax, dword [esp + 0x14]
cmp ecx, edi
jne 0x10042957
cmp eax, dword [esp + 0x1c]
sete dl
test dl, dl
sete dl
test dl, dl
je 0x10042961
test ecx, ecx
je 0x10042957
cmp eax, dword [ecx + 4]
je 0x1004295c
mov ebx, dword [eax + 0x10]
mov eax, dword [ebp + 0xc]
cmp dword [ebx + 0x20], eax
jne 0x10042946
mov ecx, dword [ebp + 8]
push ebx
call dword [ebp + 0x10]
test eax, eax
jne 0x10042946
mov ecx, dword [ebp + 0xc]
push ebx
push ecx
call fcn.1001a000
add esp, 8
lea edx, [esp + 0x10]
call fcn.10043490
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x10042902
call fcn.100433a0
call fcn.10043330
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x28], 0
je 0x10042984
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
neg eax
sbb eax, eax
add eax, 1
mov dword [esp + 0x28], eax
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10043fc0
Capabilities:
Create thread

Disassembly:
cmp dword [esi + 0x14], 0
jne 0x10043ff3
lea eax, [esi + 0x1c]
push eax
mov eax, dword [esp + 8]
push 4
push ecx
lea edx, [esi + 4]
push edx
push eax
push 0
call fcn.100470af
add esp, 0x18
test eax, eax
mov dword [esi + 0x14], eax
je 0x10043ffb
mov ecx, dword [esp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, 1
ret 8
xor eax, eax
ret 8

Function at 0x10044000
Capabilities:
Resume thread

Disassembly:
mov eax, dword [esi + 0x14]
test eax, eax
push ebx
je 0x10044043
cmp dword [esi + 0x18], 1
jne 0x10044043
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x10044020
xor eax, eax
pop ebx
ret
cmp eax, 1
jbe 0x1004403c
push edi
lea edi, [eax - 1]
test edi, edi
jbe 0x1004403b
lea ecx, [ecx]
mov eax, dword [esi + 0x14]
push eax
call ebx
sub edi, 1
jne 0x10044030
pop edi
mov dword [esi + 0x18], 0
mov eax, 1
pop ebx
ret
Function at 0x10044050
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov eax, dword [esi + 0x14]
test eax, eax
je 0x10044095
cmp dword [esi + 0x18], 0
jne 0x10044095
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x10044073
mov dword [esi + 0x18], 0
xor eax, eax
ret
test eax, eax
jbe 0x1004408e
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
mov edi, eax
mov eax, dword [esi + 0x14]
push eax
call ebx
sub edi, 1
jne 0x10044081
pop edi
pop ebx
mov dword [esi + 0x18], 1
mov eax, 1
ret

Function at 0x100441c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1006d183
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x100810a0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
lea eax, [esi + 4]
mov dword [esi], vtable.CSimpleThread.0
mov dword [esi + 0x18], 1
mov ecx, 0x10044520
sub ecx, eax
xor edi, edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x1c], edi
push 0xe
sub ecx, 0xe
push eax
mov byte [eax], 0xb8
mov dword [eax + 1], esi
mov dword [eax + 5], 0x50240487
mov byte [eax + 9], 0xe9
mov dword [eax + 0xa], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov dword [esp + 0x14], edi
mov dword [esi], vtable.CThreadControl.0
xor eax, eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
lea edx, [esi + 0x44]
mov dword [esi + 0x30], eax
push edx
mov dword [esi + 0x2c], 0xffffffff
call fcn.10028a90
mov byte [esp + 0x14], 1
mov dword [esi + 0x40], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x18], 1
mov dword [esi + 0x14], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x34], edi
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x100446ed
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100810a0]
jne 0x100446f7
repz ret
jmp fcn.10047bf6
Function at 0x1004f558
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x10081b58]
je 0x1004f573
inc edi
cmp edi, 0x17
jb 0x1004f564
cmp edi, 0x17
jae 0x1004f6f3
push ebp
push 3
call fcn.1005f876
cmp eax, 1
pop ecx
je 0x1004f6bf
push 3
call fcn.1005f876
test eax, eax
pop ecx
jne 0x1004f5a7
cmp dword [0x100842e0], 1
je 0x1004f6bf
cmp ebx, 0xfc
je 0x1004f6f2
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x100849d8
push ebp
call fcn.10044832
add esp, 0xc
test eax, eax
je 0x1004f5dd
push esi
push esi
push esi
push esi
push esi
call fcn.10046170
add esp, 0x14
push 0x104
mov esi, 0x100849f1
push esi
push 0
mov byte [0x10084af5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1004f621
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.10044832
add esp, 0xc
test eax, eax
je 0x1004f621
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.10046170
add esp, 0x14
push esi
call fcn.10047160
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x1004f666
push esi
call fcn.10047160
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x10084cec
push 0x1006fd80
sub ecx, eax
push ecx
push eax
call fcn.10044e58
add esp, 0x14
test eax, eax
je 0x1004f666
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.10046170
add esp, 0x14
jmp 0x1004f668
xor esi, esi
push 0x10072990
push ebx
push ebp
call fcn.1005a518
add esp, 0xc
test eax, eax
je 0x1004f688
push esi
push esi
push esi
push esi
push esi
call fcn.10046170
add esp, 0x14
push dword [edi*8 + 0x10081b5c]
push ebx
push ebp
call fcn.1005a518
add esp, 0xc
test eax, eax
je 0x1004f6aa
push esi
push esi
push esi
push esi
push esi
call fcn.10046170
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.1005f6b9
add esp, 0xc
jmp 0x1004f6f2
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x1004f6f2
cmp ebp, 0xffffffff
je 0x1004f6f2
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x10081b5c]
push dword [esi]
call fcn.10047160
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x1005f6b9
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.10047dd4
xor ebx, ebx
cmp dword [0x10084d70], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x1005f78f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x1005f86f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10071a60
push edi
call esi
cmp eax, ebx
je 0x1005f86f
push eax
call fcn.10047d66
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10084d70], eax
call esi
push eax
call fcn.10047d66
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10084d74], eax
call esi
push eax
call fcn.10047d66
mov dword [0x10084d78], eax
lea eax, [ebp - 0xc]
push eax
call fcn.1004861b
test eax, eax
pop ecx
pop ecx
je 0x1005f75d
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10046170
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x1005f78f
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.10047d66
cmp eax, ebx
pop ecx
mov dword [0x10084d80], eax
je 0x1005f78f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10047d66
pop ecx
mov dword [0x10084d7c], eax
mov eax, dword [0x10084d7c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x1005f814
cmp dword [0x10084d80], ecx
je 0x1005f814
push eax
call fcn.10047ddd
push dword [0x10084d80]
mov esi, eax
call fcn.10047ddd
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x1005f814
cmp edi, ebx
je 0x1005f814
call esi
cmp eax, ebx
je 0x1005f7e1
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1005f7e1
test byte [ebp - 0x18], 1
jne 0x1005f814
lea eax, [ebp - 0x10]
push eax
call fcn.100486ca
test eax, eax
pop ecx
je 0x1005f7fc
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10046170
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x1005f80b
or dword [ebp + 0x10], 0x200000
jmp 0x1005f84f
or dword [ebp + 0x10], 0x40000
jmp 0x1005f84f
mov eax, dword [0x10084d74]
cmp eax, dword [ebp - 8]
je 0x1005f84f
push eax
call fcn.10047ddd
cmp eax, ebx
pop ecx
je 0x1005f84f
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1005f84f
mov eax, dword [0x10084d78]
cmp eax, dword [ebp - 8]
je 0x1005f84f
push eax
call fcn.10047ddd
cmp eax, ebx
pop ecx
je 0x1005f84f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10084d70]
call fcn.10047ddd
cmp eax, ebx
pop ecx
je 0x1005f86f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1005f871
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x401736
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push 0
push 1
mov esi, ecx
push 2
call sub.WSOCK32.dll_socket
cmp eax, 0xffffffff
mov dword [esi + 4], eax
je 0x40179d
lea ecx, [ebp - 4]
mov dword [ebp - 4], 1
push ecx
push 0x8004667e
push eax
call sub.WSOCK32.dll_ioctlsocket
mov ax, word [esi + 0x14]
mov ecx, esi
mov word [ebp - 0x12], ax
mov eax, dword [esi + 8]
mov word [ebp - 0x14], 2
mov dword [ebp - 0x10], eax
call fcn.004018b3
push 0x33
push 0x7e8
push dword [0x40c560]
push dword [esi + 4]
call sub.WSOCK32.dll_WSAAsyncSelect
cmp eax, 0xffffffff
jne 0x4017a4
call sub.WSOCK32.dll_WSAGetLastError
jmp 0x4017c5
lea eax, [ebp - 0x14]
push 0x10
push eax
push dword [esi + 4]
call sub.WSOCK32.dll_connect
cmp eax, 0xffffffff
jne 0x4017c3
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x4017c5
xor eax, eax
pop esi
leave
ret

Function at 0x401fd9
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
push 2
mov dword [ebp - 4], 1
mov dword [ebp - 8], ebx
lea eax, [esi + 0x210]
pop ecx
mov byte [eax], bl
inc eax
inc eax
dec ecx
jne 0x401ff9
push dword [ebp + 8]
call sub.WSOCK32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
jne 0x402059
lea eax, [esi + 0x624]
push 0x400
push eax
mov edi, 0xbd0
push dword [ebp + 8]
push edi
push dword [0x40cba8]
call sub.WSOCK32.dll_WSAAsyncGetHostByName
cmp eax, ebx
mov dword [esi + 0x618], eax
jne 0x4020b8
call sub.WSOCK32.dll_WSAGetLastError
movzx eax, ax
shl eax, 0x10
push eax
push ebx
push edi
push dword [0x40cba8]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 4], ebx
jmp 0x4020b8
cmp dword [ebp + 0xc], ebx
je 0x402085
lea eax, [esi + 0x624]
push 0x400
push eax
push 2
lea eax, [ebp - 0xc]
push 4
mov edi, 0xbd0
push eax
push edi
push dword [0x40cba8]
call sub.WSOCK32.dll_WSAAsyncGetHostByAddr
jmp 0x402030
push dword [esi + 0x61c]
lea edi, [esi + 0x61c]
mov dword [esi + 4], eax
mov byte [esi + 0x10], bl
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4020b1
push esi
push ebx
push dword [esi + 0x620]
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 8], 1
mov eax, dword [ebp + 0x10]
pop edi
pop esi
cmp eax, ebx
pop ebx
je 0x4020c7
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
leave
ret 0xc
Function at 0x4023c2
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov al, byte [esi]
test al, al
je 0x4023e0
movzx eax, al
cmp byte [eax + 0x4092dc], 0
jne 0x4023e0
inc esi
jmp 0x4023cb
mov al, byte [esi]
mov ecx, esi
test al, al
je 0x4023fd
movzx eax, al
cmp byte [eax + 0x4093dc], 0
je 0x4023fa
mov al, byte [ecx + 1]
inc ecx
jmp 0x4023e4
and byte [ecx], 0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4024b9
lea eax, [ecx + esi]
dec ecx
movzx edx, byte [eax - 1]
dec eax
cmp byte [edx + 0x4094dc], 0
jne 0x40242b
and byte [eax], 0
mov edx, ecx
dec ecx
test edx, edx
jne 0x402413
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [ebp + 8], ecx
je 0x4024b9
mov al, byte [esi]
xor ebx, ebx
test al, al
mov dword [ebp + 8], 1
lea edi, [esi + 1]
je 0x4024b9
cmp al, 0x2e
jne 0x402455
inc ebx
jmp 0x402461
cmp al, 0x30
jl 0x40245d
cmp al, 0x39
jle 0x402461
and dword [ebp + 8], 0
mov al, byte [edi]
inc edi
test al, al
jne 0x40244e
test ebx, ebx
je 0x4024b9
push esi
call sub.WSOCK32.dll_inet_addr
cmp eax, 0xffffffff
je 0x402480
cmp ebx, 3
jne 0x4024b9
mov eax, esi
jmp 0x4024bb
xor eax, eax
cmp dword [ebp + 8], eax
jne 0x4024b9
cmp ebx, 1
jle 0x4024b9
dec edi
cmp byte [edi], 0x2e
je 0x4024b9
inc eax
dec edi
cmp byte [edi], 0x2e
jne 0x402492
cmp eax, 2
jle 0x4024b9
cmp eax, 5
jge 0x4024b9
mov edi, 0x40ccd0
push edi
push esi
call fcn.004024c0
pop ecx
test eax, eax
pop ecx
je 0x4024b9
mov eax, edi
jmp 0x4024bb
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x402ad2
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov cl, byte [ebp + 0x14]
mov eax, dword [esi + 0x20]
mov byte [eax + 0x14], cl
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 8], eax
mov eax, dword [esi + 0x28]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x30]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x20]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x1c], eax
lea eax, [ebp + 0x14]
push eax
xor eax, eax
push eax
push esi
push 0x402c1c
push eax
mov dword [esi], esi
inc dword [0x40d0e0]
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x2c], eax
pop esi
pop ebp
ret 0x14

Function at 0x402ffc
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [0x40d16c]
push esi
mov ecx, eax
mov esi, dword [esp + 8]
imul ecx, ecx, 0x126
push ecx
push eax
push 0x1a8
push 0x419
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
call fcn.004033f1
push 1
push 0
push esi
call fcn.00403569
add esp, 0x10
pop esi
ret
Function at 0x4033f1
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x130
push ebx
push ebp
mov ebp, dword [0x40d0e8]
push esi
push edi
mov edi, dword [0x40d0e4]
push 0x419
push dword [esp + 0x148]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov ebx, eax
push 0
push 0x184
push ebx
call esi
push 0
push 0
push 0xb
push ebx
call esi
mov eax, edi
dec edi
test eax, eax
je 0x40348b
inc edi
lea eax, [ebp + 4]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov edi, 0x126
mov eax, dword [ebp]
cmp eax, 0xffff
jg 0x40347f
push dword [esp + 0x10]
push eax
lea eax, [esp + 0x20]
push 0x40b500
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [esp + 0x18]
push eax
push 0
push 0x180
push ebx
call esi
add dword [esp + 0x10], edi
add ebp, edi
dec dword [esp + 0x14]
jne 0x40344e
xor edi, edi
push edi
push 1
push 0xb
push ebx
call esi
push edi
push edi
push 0x197
push ebx
call esi
push ebx
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x130
ret