joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f010
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43f043
push esi
call fcn.00442110
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43f03c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43f0c9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43f0b2
mov eax, dword [esi + 8]
test eax, eax
je 0x43f067
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43f0ae
cmp eax, 2
je 0x43f0b2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43f05a
cmp eax, 3
je 0x43f08d
cmp eax, 1
jne 0x43f05a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43f05a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43f05a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043f0f0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43f0d8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043f0f0
add esp, 4
pop esi
ret

Function at 0x44a430
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x44a496
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x44a496
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x44a477
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
Function at 0x44afd0
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.0044b120
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x44aff0
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x44afd1
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.0044b120
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x44aff0
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x44b020
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
xor eax, eax
push esi
push edi
mov dword [esp + 8], eax
mov edi, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
push ecx
mov dword [esp + 0x18], eax
mov word [esp + 0xc], 2
call sub.WS2_32.dll_htons
mov esi, dword [esp + 0x1c]
mov word [esp + 0xa], ax
push esi
call sub.WS2_32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x44b077
push esi
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x44b08d
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
lea edx, [esp + 8]
push 0x10
push edx
mov ecx, edi
call fcn.0044b0b0
pop edi
pop esi
add esp, 0x10
ret 8
push 0x2726
call sub.WS2_32.dll_WSASetLastError
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 8

Function at 0x44b0b0
Capabilities:
Connect socket

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
mov eax, dword [ecx]
push edx
push eax
call sub.WS2_32.dll_connect
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 8

Function at 0x44b140
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x44b189
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4
Function at 0x44b600
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46db90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0044b1b0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0044b230
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0044b230
lea ecx, [esi + 0xc]
call fcn.0045f866
lea ecx, [esi + 0x10]
call fcn.0045f866
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0044da60
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0044da60
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0044da60
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0045f8db
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0045f8db
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x44c2a8
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46ddb8
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x44c2b8
call fcn.0044c7d0
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x44c39b
cmp byte [edi], 0
je 0x44c39b
mov eax, dword [esp + 0x8c]
test eax, eax
jg 0x44c2dd
mov eax, 0x7d0
mov ecx, esi
mov dword [esi + 8], eax
call fcn.0044afd0
test eax, eax
jne 0x44c2fd
push 0x48b458
lea ecx, [esi + 0x38]
call fcn.0045fa18
jmp 0x44c39b
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
push edi
call fcn.0044b020
test eax, eax
jne 0x44c32c
mov ecx, esi
call fcn.0044b120
push edi
add esi, 0x38
push 0x48b434
push esi
call fcn.0045d877
add esp, 0xc
jmp 0x44c39b
push 0xdc
mov ecx, esi
mov dword [esi + 4], 1
call fcn.0044d050
test eax, eax
je 0x44c394
lea ecx, [esp + 8]
push 0x64
push ecx
call sub.WS2_32.dll_gethostname
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], 1
push edx
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.0044c470
test eax, eax
jne 0x44c3b0
push edi
lea eax, [esi + 0x38]
push 0x48b410
push eax
call fcn.0045d877
add esp, 0xc
mov ecx, esi
call fcn.0044c7d0
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x44c458
mov ecx, dword [0x48b6c8]
mov dword [esp + 0x7c], ecx
lea edx, [esp + 8]
lea eax, [esp + 0x7c]
push edx
push str.HELO__s_r_n
push eax
mov dword [esp + 0x80], 0
call fcn.0045d877
mov edx, dword [esp + 0x88]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.0044b0d0
test eax, eax
jne 0x44c41a
push 0x48b3f4
lea ecx, [esi + 0x38]
call fcn.0045fa18
jmp 0x44c42a
push 0xfa
mov ecx, esi
call fcn.0044d050
test eax, eax
jne 0x44c447
mov ecx, esi
call fcn.0044c7d0
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.0045f8db
jmp 0x44c39b
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.0045f8db
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
Function at 0x461c7f
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x461cb7
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.0045fd36
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045fd0e
jmp 0x461cc3
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46336d
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 0x4633af
call fcn.00468eee
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4633af
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4633a6
xor eax, eax
jmp 0x4633b7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004633bd
pop edi
pop esi
pop ebx
ret 4

Function at 0x46941e
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 0x46944c
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46946a
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00469384
jmp 0x46946a
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46946a
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00469384
test edi, edi
mov eax, edi
jne 0x469454
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x401112
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
xor esi, esi
push edi
push esi
push eax
mov dword [0x403108], eax
push esi
push esi
mov eax, 0x80000000
push esi
push eax
push esi
push eax
push 0xcf0000
push 0x4030a4
push 0x403040
push esi
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov edi, eax
cmp edi, esi
jne 0x40114c
xor eax, eax
jmp 0x40117a
push esi
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 1
push esi
push esi
push str.http:__game.kugou.com_go.htm_t2
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push edi
call dword [sym.imp.USER32.dll_DestroyWindow]
push 1
pop eax
pop edi
pop esi
ret
Function at 0x1001518
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
and byte [ebp - 0x154], 0
push esi
push edi
push 0x4a
pop ecx
xor eax, eax
lea edi, [ebp - 0x153]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 8]
push eax
push dword [0x1003014]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov esi, eax
test esi, esi
jne 0x10016a5
and byte [ebp - 1], al
push ebx
push dword [ebp + 8]
mov ebx, dword [sym.imp.WS2_32.dll_inet_ntoa]
call ebx
test eax, eax
je 0x1001580
lea edx, [ebp - 0x154]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1001574
jmp 0x1001584
mov byte [ebp - 1], 1
lea edi, [ebp - 0x154]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100158b
push dword [ebp + 0xc]
mov esi, 0x1001150
movsw word es:[edi], word [esi]
call ebx
test eax, eax
je 0x10015cf
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10015a5
lea edi, [ebp - 0x154]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10015b5
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x10015d3
mov byte [ebp - 1], 1
lea edi, [ebp - 0x154]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10015da
push dword [ebp + 0x10]
mov esi, 0x1001150
movsw word es:[edi], word [esi]
call ebx
xor ebx, ebx
cmp eax, ebx
je 0x1001620
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10015f6
lea edi, [ebp - 0x154]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001606
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x1001624
mov byte [ebp - 1], 1
lea edi, [ebp - 0x154]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100162b
push 0xa
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0x14]
mov esi, 0x1001150
movsw word es:[edi], word [esi]
call dword [sym.imp.msvcrt.dll__ultoa]
lea eax, [ebp - 0x28]
add esp, 0xc
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001651
lea edi, [ebp - 0x154]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001661
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
cmp byte [ebp - 1], 0
rep movsb byte es:[edi], byte [esi]
jne 0x1001698
push ebx
push ebx
push 1
push ebx
lea eax, [ebp - 0x154]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
jmp 0x100169b
push 0x57
pop esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
mov eax, esi
pop esi
leave
ret 0x10
Function at 0x10016ad
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
push ebx
push esi
lea eax, [ebp - 0xc]
push eax
push dword [0x1003014]
xor ebx, ebx
push 0x80000002
xor esi, esi
mov byte [ebp - 1], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1001715
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x13c]
push eax
push esi
push dword [ebp - 0xc]
mov dword [ebp - 8], 0x12b
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
inc esi
cmp eax, ebx
je 0x100171e
cmp eax, 0x6f
je 0x10016d8
cmp eax, 0xea
je 0x10016d8
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 1]
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp - 0x10], 1
jne 0x10016d8
push dword [ebp + 0x14]
mov eax, dword [ebp - 8]
push dword [ebp + 0x10]
inc dword [ebp - 8]
push dword [ebp + 0xc]
mov byte [ebp + eax - 0x13c], bl
push dword [ebp + 8]
lea eax, [ebp - 0x13c]
push eax
call fcn.010014cf
test al, al
je 0x10016d8
lea eax, [ebp - 0x13c]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x10016d8
mov byte [ebp - 1], 1
dec esi
jmp 0x10016d8

Function at 0x100190a
Capabilities:
Terminate process

Disassembly:
push 0x272b
push 2
call fcn.01001268
push 0x272f
push 2
call fcn.01001268
add esp, 0x10
push 1
call dword [sym.imp.msvcrt.dll_exit]
int3
Function at 0x1001ea7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
push ebx
push esi
push edi
lea eax, [ebp - 0xc]
push eax
push dword [0x1003014]
xor ebx, ebx
push 0x80000002
xor edi, edi
mov byte [ebp - 2], bl
mov byte [ebp - 1], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov esi, eax
cmp esi, ebx
jne 0x1001f18
push ebx
push ebx
lea eax, [ebp - 0x20]
push eax
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14c]
push eax
push edi
push dword [ebp - 0xc]
mov dword [ebp - 8], 0x12b
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov esi, eax
inc edi
cmp esi, ebx
je 0x1001f39
cmp esi, 0x6f
je 0x1001ed8
cmp esi, 0xea
je 0x1001ed8
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0x103
je 0x1001fd5
push esi
push 0x2728
push 2
call fcn.01001327
add esp, 0xc
jmp 0x1001fe8
cmp dword [ebp - 0x20], 1
jne 0x1001ed8
mov eax, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ebp + eax - 0x14c], bl
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.0100142e
test al, al
je 0x1001ed8
cmp dword [ebp + 8], ebx
mov esi, dword [ebp - 0x14]
mov al, 1
je 0x1001f87
cmp dword [ebp + 0xc], 0xffffffff
je 0x1001f87
cmp dword [ebp + 0xc], esi
je 0x1001f87
xor al, al
cmp dword [ebp + 0x10], ebx
je 0x1001f9c
cmp dword [ebp + 0x14], 0xffffffff
je 0x1001f9c
mov ecx, dword [ebp + 0x14]
cmp ecx, dword [ebp - 0x10]
je 0x1001f9c
xor al, al
cmp al, bl
je 0x1001ed8
cmp byte [ebp - 2], bl
jne 0x1001fbb
push 0x2727
push 1
call fcn.01001268
pop ecx
pop ecx
mov byte [ebp - 2], 1
push ebx
push dword [ebp - 0x18]
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
push esi
call fcn.01001844
mov byte [ebp - 1], 1
jmp 0x1001ed8
cmp byte [ebp - 1], bl
jne 0x1001fe8
push 0x2729
push 1
call fcn.01001268
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x10025ca
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x1001240
call fcn.01002768
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x1002605
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002605
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x100261d
cmp eax, 0x20b
je 0x100260a
mov dword [ebp - 0x1c], edi
jmp 0x1002631
cmp dword [ecx + 0x84], 0xe
jbe 0x1002605
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x100262b
cmp dword [ecx + 0x74], 0xe
jbe 0x1002605
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1003030], 0xffffffff
or dword [0x1003034], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1003028]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1003024]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1003038], eax
call fcn.01002762
cmp dword [0x1003008], edi
jne 0x100268c
push fcn.01002762
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01002750
push 0x1001110
push 0x100110c
call sub.msvcrt.dll__initterm
mov eax, dword [0x1003020]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x100301c]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x30], eax
push 0x1001108
push 0x1001104
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x24]
mov ecx, dword [sym.imp.msvcrt.dll___initenv]
mov dword [ecx], eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.0100192e
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x34], esi
cmp dword [ebp - 0x1c], edi
jne 0x1002703
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x1002738
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.010027a1
ret

Function at 0x10027e8
Capabilities:
Resolve dns

Disassembly:
push dword [esp + 4]
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
jne 0x1002811
push dword [esp + 4]
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x100280e
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
jmp 0x1002811
or eax, 0xffffffff
ret 4

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x11001ccb
Capabilities:
Encode data using xor

Disassembly:
invalid
push edi
imul edi, esi, 0x807915e0
jns 0x11001c4d
pop ecx
invalid
dec ebx
Function at 0x406d20
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x42438b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x430280]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.00414827
push 4
mov dword [esp + 0x20], 0
call fcn.004152b8
mov edi, eax
add esp, 4
test edi, edi
je 0x406d9e
call fcn.00414c20
mov dword [edi], eax
call fcn.00414a4e
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.00414972
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x406d93
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.0041499a
jmp 0x406da0
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x408fb0
Capabilities:
Create thread

Disassembly:
push ecx
mov eax, dword [esi + 0x7c]
push ebx
push ebp
xor ebp, ebp
xor ebx, ebx
push edi
cmp eax, dword [esi + 0x80]
ja 0x409066
mov ecx, dword [esi + 0x84]
cmp ecx, dword [esi + 0x8c]
jae 0x409066
lea eax, [esi + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x14
call fcn.004152b8
add esp, 4
cmp eax, ebp
je 0x409001
mov dword [eax], ebp
mov dword [eax + 4], esi
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ebp
mov dword [eax + 0x10], ebp
jmp 0x409003
xor eax, eax
mov edi, dword [esi + 0x34]
lea ebp, [esi + 0x20]
lea edx, [esp + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [edi + 4]
push edx
push eax
push edi
call fcn.00408970
mov ecx, ebp
mov ebx, eax
call fcn.004119b0
push 0
mov dword [edi + 4], ebx
mov edi, dword [esp + 0x10]
mov ecx, dword [ebx + 4]
push 0
push edi
push 0x408ac0
push 0
push 0
mov dword [ecx], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
mov dword [edi], ebx
inc dword [esi + 0x84]
mov edx, dword [edi]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
lea eax, [esi + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ebp, ebp
lea edi, [esi + 0x54]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 8
call fcn.004152b8
add esp, 4
cmp eax, ebp
je 0x40908d
mov ecx, dword [esp + 0x14]
mov dword [eax], 0x4090c0
mov dword [eax + 4], ecx
jmp 0x40908f
xor eax, eax
lea edx, [esp + 0x14]
mov dword [esp + 0x14], eax
push edx
mov eax, esi
call fcn.00408f30
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi + 0x74]
push ebp
push 1
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
pop edi
pop ebp
mov eax, ebx
pop ebx
pop ecx
ret 4

Function at 0x4092b0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
test eax, eax
jl 0x409319
jne 0x4092ff
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [esp]
push eax
mov dword [esp + 4], 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x14]
lea edx, [ecx + ecx + 2]
mov dword [esi + 0x88], edx
add esp, 0x24
ret
mov ecx, dword [esi + 0x8c]
cmp eax, ecx
jl 0x409313
mov dword [esi + 0x88], ecx
add esp, 0x24
ret
mov dword [esi + 0x88], eax
add esp, 0x24
ret