joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40268e
Capabilities:
Create http request

Disassembly:
mov eax, 0x452189
call fcn.0044c764
sub esp, 0x88
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 0x18], ebx
push str.Browser1.0
mov dword [ebp - 0x20], vtable.CWebWorld.0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.http:__tb.sogou.com_
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], ebx
call fcn.0040162e
push dword [ebp + 8]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x90]
push eax
mov byte [ebp - 4], 1
call fcn.00402f5a
add esp, 0xc
push 0x457598
push eax
lea eax, [ebp - 0x74]
push eax
mov byte [ebp - 4], 2
call fcn.00402fff
add esp, 0xc
or esi, 0xffffffff
push esi
push ebx
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.004016f3
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x74]
call fcn.004017a7
push ebx
push edi
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 1
call fcn.004017a7
cmp dword [0x467530], ebx
jne 0x402756
push str.Unknown
lea ecx, [ebp - 0x90]
call fcn.0040162e
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], edi
jmp 0x40275b
mov eax, 0x46751c
push esi
push ebx
push eax
lea ecx, [ebp - 0x58]
call fcn.00402eb3
mov dword [ebp - 4], edi
test byte [ebp - 0x18], 1
je 0x40277c
push ebx
push edi
lea ecx, [ebp - 0x90]
call fcn.004017a7
cmp dword [ebp - 0x40], 0x10
mov eax, dword [ebp - 0x54]
jae 0x402788
lea eax, [ebp - 0x54]
push eax
push 0x4575a0
push 8
push dword [0x467474]
call fcn.00429210
add esp, 0x10
push ebx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x24], 0xf
call fcn.004019d4
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x58]
lea edx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.0040e897
cmp al, bl
jne 0x402800
mov ecx, dword [ebp + 0xc]
push esi
push ebx
lea eax, [ebp - 0x3c]
push eax
call fcn.004016f3
push ebx
push edi
lea ecx, [ebp - 0x3c]
call fcn.004017a7
push ebx
push edi
lea ecx, [ebp - 0x58]
call fcn.004017a7
lea ecx, [ebp - 0x20]
call fcn.0040e887
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
cmp dword [ebp - 0x24], 0x10
mov eax, dword [ebp - 0x38]
jae 0x40280c
lea eax, [ebp - 0x38]
push eax
push 0x4575b0
push 8
push dword [0x467474]
call fcn.00429210
add esp, 0x10
push ebx
push str.OK_r_n
lea eax, [ebp - 0x3c]
push eax
call fcn.00402bb2
cmp eax, ebx
lea eax, [ebp - 0x3c]
je 0x402867
mov ecx, dword [ebp + 0xc]
push esi
push ebx
push eax
call fcn.004016f3
mov byte [ebp - 0x11], bl
push ebx
push edi
lea ecx, [ebp - 0x3c]
call fcn.004017a7
push ebx
push edi
lea ecx, [ebp - 0x58]
call fcn.004017a7
lea ecx, [ebp - 0x20]
call fcn.0040e887
mov al, byte [ebp - 0x11]
jmp 0x4027f1
push 4
push 0x4575c8
push eax
call fcn.00402bb2
add eax, 0xfffffffc
push eax
push 4
lea eax, [ebp - 0x3c]
push eax
lea esi, [ebp - 0x90]
call fcn.00402ccf
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
push ebx
push eax
mov byte [ebp - 4], 6
call fcn.004016f3
push ebx
push edi
mov ecx, esi
call fcn.004017a7
mov byte [ebp - 0x11], 1
jmp 0x402846
Function at 0x4030ed
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, 0x451837
call fcn.0044c764
sub esp, 0x60
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x14], esi
push esi
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x1c], 0xf
call fcn.004019d4
push str._r_n_r_n
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], esi
call fcn.0040162e
push esi
xor ebx, ebx
inc ebx
push ebx
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
mov byte [ebp - 4], bl
mov edi, dword [sym.imp.WS2_32.dll_recv]
call edi
test eax, eax
jle 0x4031ac
push dword [ebp - 0x18]
lea esi, [ebp - 0x34]
call fcn.004045b4
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x3c]
jb 0x403178
sub eax, dword [ebp - 0x3c]
push 0xffffffffffffffff
push eax
mov eax, esi
push eax
lea esi, [ebp - 0x6c]
call fcn.00402ccf
mov byte [ebp - 4], 2
or dword [ebp - 0x14], 2
lea ecx, [ebp - 0x50]
call fcn.004030bb
mov byte [ebp - 0xd], bl
test eax, eax
je 0x40317c
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], ebx
test byte [ebp - 0x14], 2
je 0x403194
and dword [ebp - 0x14], 0xfffffffd
push 0
push ebx
lea ecx, [ebp - 0x6c]
call fcn.004017a7
cmp byte [ebp - 0xd], 0
jne 0x4031c6
push 0
push ebx
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
call edi
test eax, eax
jg 0x40313d
xor esi, esi
mov ecx, dword [ebp + 8]
push 0x457422
call fcn.0040162e
push esi
push ebx
lea ecx, [ebp - 0x50]
call fcn.004017a7
push esi
jmp 0x4031df
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x34]
push eax
call fcn.00401650
push 0
push ebx
lea ecx, [ebp - 0x50]
call fcn.004017a7
push 0
push ebx
lea ecx, [ebp - 0x34]
call fcn.004017a7
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4031fa
Capabilities:
Initialize winsock library

Disassembly:
mov eax, 0x451804
call fcn.0044c764
sub esp, 0x194
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 4], vtable.pxp::CPxpClass_class_pxp::IThreadHandler_.0
mov byte [ebp - 4], 1
push ebx
push 1
mov dword [esi], vtable.HttpServer.0
mov dword [esi + 4], vtable.HttpServer.1.0
lea edi, [esi + 0x10]
call fcn.00405259
pop ecx
pop ecx
cmp eax, ebx
je 0x403242
mov dword [eax], edi
jmp 0x403244
xor eax, eax
mov dword [edi], eax
lea eax, [ebp - 0x19c]
push eax
push 2
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x2c], ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x403379
Capabilities:
Create tcp socket
Create udp socket
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
push 0
push 1
push 2
mov esi, ecx
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 8], eax
cmp eax, 0xffffffff
jne 0x40339d
xor al, al
jmp 0x403455
push ebx
push edi
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [sym.imp.WS2_32.dll_htons]
and dword [ebp - 0x10], 0
push 2
pop eax
push dword [ebp + 0xc]
mov word [ebp - 0x14], ax
call edi
mov ebx, dword [sym.imp.WS2_32.dll_bind]
mov word [ebp - 0x12], ax
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [esi + 8]
call ebx
cmp eax, 0xffffffff
jne 0x4033fd
push 0
call edi
mov word [ebp - 0x12], ax
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [esi + 8]
call ebx
cmp eax, 0xffffffff
jne 0x4033fd
push dword [esi + 8]
call dword [sym.imp.WS2_32.dll_closesocket]
xor al, al
jmp 0x403453
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
push dword [esi + 8]
mov dword [ebp - 4], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
push dword [ebp - 0x22]
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
push 5
push dword [esi + 8]
mov dword [esi + 0xc], eax
call dword [sym.imp.WS2_32.dll_listen]
mov ecx, dword [ebp + 8]
push 0
push 1
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ecx
mov eax, dword [ecx]
push str.HttpServer
add esi, 4
push esi
call dword [eax + 4]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
mov al, 1
pop edi
pop ebx
pop esi
leave
ret 8
Function at 0x40345a
Capabilities:
Create tcp socket
Create udp socket
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
push 0
push 1
push 2
mov esi, ecx
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 8], eax
cmp eax, 0xffffffff
jne 0x40347e
xor al, al
jmp 0x403533
mov ecx, dword [ebp + 0x10]
push edi
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ebp - 0x10], 0
push 2
pop eax
mov word [ebp - 0x14], ax
mov eax, dword [ebp + 0xc]
lea edi, [eax + ecx]
cmp eax, edi
mov dword [ebp + 0xc], eax
jge 0x4034cc
push dword [ebp + 0xc]
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [esi + 8]
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x4034cc
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], edi
jl 0x4034a3
cmp dword [ebp + 0xc], edi
pop edi
jne 0x4034dd
push dword [esi + 8]
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x403477
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
push dword [esi + 8]
mov dword [ebp - 4], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
push dword [ebp - 0x22]
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
push 5
push dword [esi + 8]
mov dword [esi + 0xc], eax
call dword [sym.imp.WS2_32.dll_listen]
mov ecx, dword [ebp + 8]
push 0
push 1
mov dword [esi + 0x28], eax
lea eax, [esi + 4]
push str.HttpServer
mov dword [esi + 0x2c], ecx
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
mov al, 1
pop esi
leave
ret 0xc
Function at 0x4055b7
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 0x38]
inc dword [esi]
lea eax, [edi + 0x30]
push eax
xor eax, eax
push eax
push edi
push 0x40577f
push eax
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
mov dword [edi + 0x34], eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 4]
call fcn.00405f70
pop edi
xor eax, eax
pop esi
leave
ret

Function at 0x405711
Capabilities:
Suspend thread

Disassembly:
push dword [ecx + 0x34]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
dec ecx
mov eax, ecx
ret

Function at 0x405726
Capabilities:
Resume thread

Disassembly:
push dword [ecx + 0x34]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
dec ecx
mov eax, ecx
ret
Function at 0x4058ad
Capabilities:
Allocate thread local storage
Move file

Disassembly:
mov eax, 0x4520e2
call fcn.0044c764
sub esp, 0x20
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [edi + 4], vtable.pxp::CPxpClass_class_pxp::ILogger_.0
mov byte [ebp - 4], 1
push ebx
lea esi, [edi + 0x38]
push 1
mov dword [edi], vtable.CThreadManager.0
mov dword [edi + 4], vtable.CThreadManager.1.0
mov dword [ebp - 0x10], esi
call fcn.00405259
pop ecx
pop ecx
cmp eax, ebx
je 0x4058f5
mov dword [eax], esi
jmp 0x4058f7
xor eax, eax
mov dword [esi], eax
mov byte [ebp - 4], 2
call fcn.004066f6
lea ecx, [esi + 0x18]
mov dword [ecx], eax
mov byte [eax + 0x2d], 1
mov eax, dword [ecx]
mov dword [eax + 4], eax
mov eax, dword [ecx]
mov dword [eax], eax
mov ecx, dword [ecx]
mov dword [ecx + 8], ecx
mov dword [esi + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 0x5c], eax
mov esi, str.null
mov byte [ebp - 4], 4
mov ecx, esi
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x405958
cmp dx, bx
je 0x405954
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x405958
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x405932
xor eax, eax
jmp 0x40595d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x40596a
or dword [edi + 0x58], 0xffffffff
jmp 0x405a0e
mov ecx, 0x457764
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x405997
cmp dx, bx
je 0x405993
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x405997
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x405971
xor eax, eax
jmp 0x40599c
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4059b0
call dword [sym.imp.KERNEL32.dll_AllocConsole]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
jmp 0x405a0b
call fcn.004272c5
test al, al
je 0x4059f4
push esi
lea ecx, [ebp - 0x2c]
call fcn.004016bb
push str..bak
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.00405ecc
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4059df
lea eax, [ebp - 0x28]
push 1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.004018a8
push ebx
push 0x80
push 4
push ebx
push 3
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [edi + 0x58], eax
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [edi + 8]
push eax
call esi
lea eax, [edi + 0x20]
push eax
call esi
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x405d46
Capabilities:
Set thread local storage value
Write file on windows

Disassembly:
mov eax, 0x452063
call fcn.0044c764
mov eax, 0x1168
call fcn.0043b0f0
push esi
mov esi, ecx
cmp dword [esi + 0x54], 0xffffffff
je 0x405ebd
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea edi, [esi - 4]
call fcn.00405c99
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x38]
mov edi, eax
mov dword [ebp - 0x20], 0xf
call fcn.004019d4
mov dword [ebp - 4], ebx
cmp edi, ebx
jne 0x405de1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.00401f85
push eax
lea eax, [ebp - 0x58]
push str.Thread
push eax
mov byte [ebp - 4], 1
call fcn.00402fac
add esp, 0x14
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.004016f3
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.004017a7
push ebx
push 1
lea ecx, [ebp - 0x74]
call fcn.004017a7
jmp 0x405dfa
push edi
push dword [esi + 0x58]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0xffffffffffffffff
push ebx
add edi, 4
push edi
lea ecx, [ebp - 0x38]
call fcn.004016f3
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0xe]
push eax
movzx eax, word [ebp - 0x10]
push eax
movzx eax, word [ebp - 0x12]
push eax
movzx eax, word [ebp - 0x14]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1c]
push eax
lea eax, [ebp - 0x174]
push str.__04d__02d__02d__02d:_02d:_02d._03d_
push eax
call fcn.0043bf32
mov eax, dword [ebp - 0x34]
add esp, 0x24
cmp dword [ebp - 0x20], 0x10
mov byte [ebp - 0x76], bl
jae 0x405e4a
lea eax, [ebp - 0x34]
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x174]
push eax
push str._s__s:_s___s_r_n
lea eax, [ebp - 0x1174]
push 0x1000
push eax
call fcn.0043c40d
add esp, 0x1c
lea edi, [esi + 0x1c]
push edi
mov byte [ebp - 0x175], bl
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x1174]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x405e8a
sub eax, ecx
push ebx
lea ecx, [ebp - 0x3c]
push ecx
push eax
lea eax, [ebp - 0x1174]
push eax
push dword [esi + 0x54]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebx
push 1
lea ecx, [ebp - 0x38]
call fcn.004017a7
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x40837a
Capabilities:
Create thread

Disassembly:
mov eax, 0x4531e4
call fcn.0044c764
push ecx
push esi
push edi
push 0xd0
call fcn.0043a173
pop ecx
mov dword [ebp - 0x10], eax
xor edi, edi
mov dword [ebp - 4], edi
cmp eax, edi
je 0x4083b5
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
push eax
call fcn.0040fa83
mov esi, eax
jmp 0x4083b7
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea eax, [ebx + 0x1708]
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
mov dword [ebp + 0x14], esi
sar ecx, 2
mov dword [esi + 0xb8], ecx
lea ecx, [ebp + 0x14]
push ecx
call fcn.0040a050
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push esi
push edi
push esi
push 0x40a462
push edi
push edi
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push dword [esi + 8]
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
mov dword fs:[0], ecx
pop esi
leave
ret 0x10

Function at 0x409fb1
Capabilities:
Create thread

Disassembly:
push edi
xor edi, edi
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push esi
push edi
push esi
push 0x40a329
push edi
push edi
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push dword [esi + 8]
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
pop edi
ret
Function at 0x40ad04
Capabilities:
Create thread

Disassembly:
push ebx
xor ebx, ebx
push esi
push ebx
push ebx
lea esi, [edi + 4]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
push ebx
push ebx
mov dword [edi], vtable.FileListInReg.0
mov byte [edi + 0x10], bl
mov dword [edi + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push esi
push ebx
mov dword [esi + 8], eax
lea eax, [esi - 4]
push eax
push 0x40c59d
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push dword [esi + 8]
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
mov eax, edi
pop ebx
ret
Function at 0x40db77
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
xor esi, esi
push edi
test ebx, ebx
jle 0x40dbb1
push 0
mov eax, ebx
sub eax, esi
push eax
mov eax, dword [esp + 0x18]
add eax, esi
push eax
push dword [esp + 0x18]
call dword [sym.imp.WS2_32.dll_send]
mov edi, eax
cmp edi, 0xffffffff
jne 0x40dbab
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2733
jne 0x40dbb6
add esi, edi
cmp esi, ebx
jl 0x40db7f
mov eax, ebx
pop edi
pop esi
ret
mov eax, esi
jmp 0x40dbb3

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

Disassembly:
push ecx
test byte [0x4677e8], 1
jne 0x40dbd6
or dword [0x4677e8], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4677e4], eax
push ebx
push ebp
push esi
push edi
push 0
push 0x467480
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov ebp, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, 0x4677bc
push esi
mov dword [esp + 0x14], eax
call ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x4677e4]
mov edi, eax
mov eax, dword [0x4677d8]
cmp edi, ecx
je 0x40dc18
mov ebx, edi
sub ebx, ecx
xor edx, edx
div ebx
cmp dword [esp + 0x10], 0
jbe 0x40dc2f
cmp eax, dword [esp + 0x10]
jbe 0x40dc2f
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40dbf9
mov eax, edi
sub eax, ecx
cmp eax, 0x3e8
jbe 0x40dc47
and dword [0x4677d8], 0
mov dword [0x4677e4], edi
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call edi
push dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
push dword [esp + 0x1c]
call fcn.0040db77
pop ecx
pop ecx
push esi
mov ebx, eax
call ebp
add dword [0x4677d8], ebx
push esi
call edi
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
pop ecx
ret

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

Disassembly:
mov eax, dword [esi + 0x14]
push ebx
push edi
xor edi, edi
test eax, eax
jbe 0x40dd49
cmp dword [esi + 0x18], 0x10
jb 0x40dd17
mov ecx, dword [esi + 4]
jmp 0x40dd1a
lea ecx, [esi + 4]
push 0
sub eax, edi
push eax
add ecx, edi
push ecx
push dword [esp + 0x18]
call dword [sym.imp.WS2_32.dll_send]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40dd40
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2733
jne 0x40dd4f
mov eax, dword [esi + 0x14]
add edi, ebx
cmp edi, eax
jb 0x40dd0c
mov eax, dword [esi + 0x14]
pop edi
pop ebx
ret
mov eax, edi
jmp 0x40dd4c
Function at 0x40e897
Capabilities:
Read data from internet
Receive data

Disassembly:
mov eax, 0x451ddf
call fcn.0044c764
sub esp, 0x45c
push ebx
push esi
push edi
push 4
lea eax, [ebp - 0x2c]
push eax
mov edi, edx
push 6
push dword [edi + 4]
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x28], 0x20
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
cmp dword [esi + 0x18], 0x10
jb 0x40e8da
mov esi, dword [esi + 4]
jmp 0x40e8dd
add esi, 4
push ebx
push 0x4000000
push ebx
push ebx
push esi
push dword [edi + 4]
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
mov dword [ebp - 0x1c], edi
cmp edi, ebx
je 0x40e9fb
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoA]
push ebx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x20000013
push edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], 4
call esi
test eax, eax
je 0x40e937
mov eax, dword [ebp - 0x18]
push 0x64
xor edx, edx
pop ecx
div ecx
cmp eax, 2
je 0x40e937
xor al, al
jmp 0x40ea01
push ebx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x64]
push eax
push 5
push edi
call esi
cmp eax, 1
jne 0x40e9b5
lea eax, [ebp - 0x64]
push eax
call fcn.0043bd45
mov edi, eax
pop ecx
lea eax, [edi + 1]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0040ea12
push ebx
lea esi, [ebp - 0x44]
mov dword [ebp - 4], ebx
call fcn.0040ea60
lea ecx, [ebp - 0x14]
push ecx
push edi
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x40e98e
cmp dword [ebp - 0x14], edi
jne 0x40e98e
mov byte [ebp - 0xd], 1
push dword [ebp - 0x1c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
lea esi, [ebp - 0x44]
call fcn.0040ea60
mov ecx, dword [ebp + 8]
push edi
push dword [ebp - 0x24]
mov byte [eax], bl
call fcn.004018f3
call fcn.0041402b
jmp 0x40e9fe
mov dword [ebp - 0x14], ebx
cmp ebx, ebx
jbe 0x40e9ce
push dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x468]
push eax
call fcn.00402cfd
lea eax, [ebp - 0x14]
push eax
push 0x400
lea eax, [ebp - 0x468]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
cmp eax, ebx
je 0x40e9f2
cmp dword [ebp - 0x14], ebx
ja 0x40e9bc
mov byte [ebp - 0xd], 1
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x40e9fe
mov byte [ebp - 0xd], bl
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x410131
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x451f18
call fcn.0044c764
sub esp, 0x24
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
call ebx
push eax
mov eax, edi
call fcn.0041011e
mov eax, dword [edi + 0x50]
sub eax, 0
je 0x41028d
dec eax
je 0x410169
dec eax
je 0x4101ce
dec eax
jne 0x4102a0
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
lea eax, [edi + 0xbc]
push 1
push eax
call esi
call ebx
mov ecx, dword [edi + 0x48]
lea edx, [edi + 0x60]
push edx
lea edx, [edi + 0x58]
push edx
lea edx, [edi + 0x98]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov dword [ebp - 0x10], eax
call ebx
sub eax, dword [ebp - 0x14]
push 0
mov dword [edi + 0xb4], eax
lea eax, [edi + 0xbc]
push eax
call esi
mov esi, dword [ebp - 0x10]
mov eax, esi
push 0x64
cdq
pop ecx
idiv ecx
cmp eax, 2
jne 0x410223
mov eax, dword [edi + 0x44]
push edi
push esi
push 0x1401
jmp 0x410298
lea eax, [edi + 0xbc]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
call ebx
mov esi, dword [edi + 0x4c]
mov dword [ebp - 0x10], eax
lea eax, [edi + 0x58]
push eax
call fcn.0041ddba
mov esi, eax
call ebx
sub eax, dword [ebp - 0x10]
push 0
mov dword [edi + 0xb4], eax
lea eax, [edi + 0xbc]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0x64
mov eax, esi
cdq
pop ecx
idiv ecx
push edi
push esi
cmp eax, 2
mov eax, dword [edi + 0x44]
jne 0x410293
push 0x1401
jmp 0x410298
cmp eax, 3
jne 0x410273
lea eax, [ebp - 0x30]
push eax
mov eax, dword [edi + 0x48]
call fcn.0041d55b
and dword [ebp - 4], 0
push 0xffffffffffffffff
push 0
lea esi, [edi + 0x7c]
push eax
mov ecx, esi
call fcn.004016f3
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.004017a7
lea ecx, [edi + 0xc]
mov eax, esi
call fcn.004030bb
push edi
push dword [ebp - 0x10]
test eax, eax
mov eax, dword [edi + 0x44]
je 0x410293
push 0x1403
jmp 0x410298
push esi
push str.ret:__d_n
push 8
push dword [0x467474]
call fcn.00429210
add esp, 0x10
push edi
push esi
jmp 0x410290
push edi
push 0
mov eax, dword [edi + 0x44]
push 0x1402
push dword [eax]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
call ebx
push eax
mov eax, edi
call fcn.0041011e
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret