joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417080
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x44e8af
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x46414c]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push ebp
push edi
mov eax, dword [0x46414c]
xor eax, esp
push eax
lea eax, [esp + 0x220]
mov dword fs:[0], eax
mov eax, dword [0x46ecec]
mov edx, dword [eax + 0xc]
mov ecx, 0x46ecec
mov dword [esp + 0x10], esi
call edx
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x228], 0
mov eax, dword [0x46ecec]
mov edx, dword [eax + 0xc]
mov ecx, 0x46ecec
lea edi, [esi + 4]
call edx
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x228], 1
mov eax, dword [0x46ecec]
mov edx, dword [eax + 0xc]
mov ecx, 0x46ecec
lea ebp, [esi + 8]
call edx
add eax, 0x10
mov dword [ebp], eax
mov byte [esp + 0x228], 2
mov eax, dword [0x46ecec]
mov edx, dword [eax + 0xc]
mov ecx, 0x46ecec
call edx
add eax, 0x10
mov dword [esi + 0xc], eax
mov byte [esp + 0x228], 3
mov eax, dword [0x46ecec]
mov edx, dword [eax + 0xc]
mov ecx, 0x46ecec
call edx
add eax, 0x10
mov dword [esi + 0x10], eax
mov byte [esp + 0x228], 4
mov eax, dword [0x46ecec]
mov edx, dword [eax + 0xc]
mov ecx, 0x46ecec
call edx
add eax, 0x10
mov dword [esi + 0x14], eax
lea eax, [esi + 0x18]
push eax
mov byte [esp + 0x22c], 5
call fcn.00417e00
lea eax, [esi + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [esp + 0x228], 7
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov ecx, eax
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
push edx
call ebx
push eax
push str._x_x
call fcn.004018c0
add esp, 0xc
push 0x45b7b0
xor ebx, ebx
mov eax, ebp
call fcn.004053c0
xor edx, edx
push 0x206
mov word [esp + 0x18], dx
push edx
lea eax, [esp + 0x1e]
push eax
call fcn.00426020
add esp, 0xc
push 0x104
lea ecx, [esp + 0x18]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x14]
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4171f2
sub eax, ecx
sar eax, 1
lea eax, [esp + eax*2 + 0x14]
lea edx, [esp + 0x14]
cmp eax, edx
je 0x417221
lea ecx, [ecx]
cmp word [eax], 0x5c
je 0x417221
sub eax, 2
lea ecx, [esp + 0x14]
cmp eax, ecx
jne 0x417210
xor edx, edx
mov word [eax + 2], dx
lea eax, [esp + 0x14]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x417230
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x14]
mov ebx, eax
push ecx
lea eax, [esi + 0x14]
call fcn.004053c0
mov eax, esi
mov ecx, dword [esp + 0x220]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0042404d
add esp, 0x21c
ret
Function at 0x417430
Capabilities:
Create directory
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x44e7e2
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x46414c]
xor eax, esp
mov dword [esp + 0x418], eax
push ebx
push ebp
push esi
mov eax, dword [0x46414c]
xor eax, esp
push eax
lea eax, [esp + 0x42c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x434], ebx
mov dword [esp + 0x10], ebx
mov eax, dword [0x46ecec]
mov edx, dword [eax + 0xc]
mov esi, ecx
mov ecx, 0x46ecec
mov dword [esp + 0x14], edi
call edx
add eax, 0x10
mov dword [edi], eax
mov dword [esp + 0x434], ebx
mov esi, dword [esi + 0x14]
push esi
lea eax, [esp + 0x1c]
push 0x104
push eax
mov dword [esp + 0x1c], 1
call fcn.00425cd8
lea ecx, [esp + 0x22c]
push ecx
lea eax, [ebx + 2]
xor ecx, ecx
lea edx, [ebx + 6]
call fcn.0041de40
lea edx, [esp + 0x230]
push edx
lea eax, [esp + 0x2c]
push 0x104
push eax
call fcn.00424b56
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
add esp, 0x1c
xor eax, eax
xor esi, esi
lea esp, [esp]
cmp eax, ebx
jne 0x417502
push ebx
lea ecx, [esp + 0x1c]
push ecx
call ebp
inc esi
cmp esi, 5
jl 0x4174f0
push 6
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [esp + 0x18]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x417516
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x18]
mov ebx, eax
push ecx
mov eax, edi
call fcn.004053c0
mov eax, edi
mov ecx, dword [esp + 0x42c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x418]
xor ecx, esp
call fcn.0042404d
add esp, 0x428
ret
Function at 0x417560
Capabilities:
Create directory
Get common file path
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x44e7e2
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x46414c]
xor eax, esp
mov dword [esp + 0x418], eax
push ebx
push ebp
push esi
mov eax, dword [0x46414c]
xor eax, esp
push eax
lea eax, [esp + 0x42c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x434], ebx
mov dword [esp + 0x10], ebx
mov eax, dword [0x46ecec]
mov edx, dword [eax + 0xc]
mov ecx, 0x46ecec
mov dword [esp + 0x14], edi
call edx
add eax, 0x10
mov dword [edi], eax
push 0x104
lea eax, [esp + 0x1c]
mov dword [esp + 0x438], ebx
push eax
mov dword [esp + 0x18], 1
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x45b7e0
lea ecx, [esp + 0x1c]
push 0x104
push ecx
call fcn.00424b56
lea edx, [esp + 0x22c]
push edx
lea eax, [ebx + 2]
xor ecx, ecx
lea edx, [ebx + 5]
call fcn.0041de40
lea eax, [esp + 0x230]
push eax
lea ecx, [esp + 0x2c]
push 0x104
push ecx
call fcn.00424b56
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
add esp, 0x1c
xor eax, eax
xor esi, esi
jmp 0x417630
cmp eax, ebx
jne 0x417642
push ebx
lea edx, [esp + 0x1c]
push edx
call ebp
inc esi
cmp esi, 5
jl 0x417630
push 6
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [esp + 0x18]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x417656
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x18]
mov ebx, eax
push ecx
mov eax, edi
call fcn.004053c0
mov eax, edi
mov ecx, dword [esp + 0x42c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x418]
xor ecx, esp
call fcn.0042404d
add esp, 0x428
ret
Function at 0x4176a0
Capabilities:
Create directory
Get common file path
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x44e7e2
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x46414c]
xor eax, esp
mov dword [esp + 0x418], eax
push ebx
push ebp
push esi
mov eax, dword [0x46414c]
xor eax, esp
push eax
lea eax, [esp + 0x42c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x434], ebx
mov dword [esp + 0x10], ebx
mov eax, dword [0x46ecec]
mov edx, dword [eax + 0xc]
mov ecx, 0x46ecec
mov dword [esp + 0x14], edi
call edx
add eax, 0x10
mov dword [edi], eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x438], ebx
push 0x104
mov dword [esp + 0x18], 1
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [esp + 0x220]
push ecx
lea eax, [ebx + 2]
xor ecx, ecx
lea edx, [ebx + 5]
call fcn.0041de40
lea edx, [esp + 0x224]
push edx
lea eax, [esp + 0x20]
push 0x104
push eax
call fcn.00424b56
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
add esp, 0x10
xor eax, eax
xor esi, esi
cmp eax, ebx
jne 0x417769
push ebx
lea ecx, [esp + 0x1c]
push ecx
call ebp
inc esi
cmp esi, 5
jl 0x417757
push 6
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [esp + 0x18]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x417780
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x18]
mov ebx, eax
push ecx
mov eax, edi
call fcn.004053c0
mov eax, edi
mov ecx, dword [esp + 0x42c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x418]
xor ecx, esp
call fcn.0042404d
add esp, 0x428
ret
Function at 0x4188d0
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x48
mov eax, dword [0x46414c]
xor eax, esp
mov dword [esp + 0x44], eax
mov ecx, dword [0x47017c]
mov eax, dword [esp + 0x4c]
push ecx
mov dword [esp + 4], 1
mov dword [esp + 8], 0x3e8
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
call dword [sym.imp.WS2_32.dll_ntohl]
mov dx, word [edi + 0x1c]
mov dword [esp + 0x38], eax
mov word [esp + 0x3c], dx
test esi, esi
je 0x418950
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x418930
sub eax, edx
cmp eax, 0x20
jne 0x418950
push esi
lea eax, [esp + 0x18]
push 0x21
push eax
call fcn.00425d47
add esp, 0xc
jmp 0x418976
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov byte [esp + 0x34], al
mov eax, dword [edi + 8]
push 0x10
lea ecx, [edi + 0xc]
push ecx
push 0
push 0x40
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.WS2_32.dll_sendto]
xor ecx, ecx
test eax, eax
setg cl
mov eax, ecx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0042404d
add esp, 0x48
ret 4

Function at 0x418a90
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x44ef95
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x46414c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
mov dword [esp + 0x1c], 0
mov eax, dword [edi + 8]
test eax, eax
je 0x418adb
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [edi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [edi + 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea esi, [edi + 0x2c]
mov dword [esp + 0x10], esi
mov byte [esp + 0x1c], 2
call fcn.00419d30
mov esi, dword [esi]
push esi
call fcn.00424042
lea esi, [edi + 0xc]
add esp, 4
mov dword [esp + 0x10], esi
mov byte [esp + 0x1c], 3
call fcn.00419d30
mov edx, dword [esi]
push edx
call fcn.00424042
mov eax, dword [edi]
add esp, 4
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 4

Function at 0x418b40
Capabilities:
Terminate thread

Disassembly:
cmp dword [esi + 8], 0
je 0x418b7c
mov eax, dword [esi]
test eax, eax
je 0x418b59
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi], 0
mov eax, dword [esi + 8]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x418b75
mov ecx, dword [esi + 8]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 8], 0
mov eax, 1
ret
Function at 0x41b1b0
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esi + 0x1c]
push edi
mov edi, dword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x41b1c8
push eax
call edi
mov dword [esi + 0x1c], 0
mov eax, dword [esi]
test eax, eax
je 0x41b1d7
push eax
call edi
mov dword [esi], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x41b1e8
push eax
call edi
mov dword [esi + 8], 0
mov eax, dword [esi + 0x70]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop edi
test eax, eax
je 0x41b20c
mov ecx, dword [esi + 0x70]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0x70], 0
xor eax, eax
ret

Function at 0x41b480
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x45023b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x46414c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
push 0x90
call fcn.00424563
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], 0
test eax, eax
je 0x41b4cd
push eax
call fcn.0041b550
mov esi, eax
jmp 0x41b4cf
xor esi, esi
lea edi, [esi + 0x24]
xor ecx, ecx
mov dword [esp + 0x20], 0xffffffff
call fcn.0041cc40
lea eax, [esp + 0x14]
push eax
push 0
push edi
push 0x4195d0
push 0
push 0
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esp + 0x28]
movzx ebx, word [esp + 0x2c]
mov dword [edi + 8], eax
movzx edi, word [esi + 0x28]
push ecx
lea eax, [esi + 4]
call fcn.0041bb70
test eax, eax
je 0x41b521
mov word [esi + 0x20], di
mov dword [esi], 0x12345
mov dword [esi + 0x88], 0x12345
mov dword [esi + 0x8c], 0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x41ba10
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x450213
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x46414c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
push 0x74
call fcn.00424563
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x20], 0
test eax, eax
je 0x41ba58
push eax
call fcn.0041aad0
mov esi, eax
jmp 0x41ba5a
xor esi, esi
push ecx
mov dword [esp + 0x24], 0xffffffff
mov eax, esp
mov dword [esp + 0x10], esp
push eax
mov ecx, 0x45b7b0
call fcn.00404a50
push ecx
mov ecx, esp
mov dword [esp + 0x28], 1
mov dword [esp + 0x18], esp
push ecx
mov ecx, dword [esp + 0x40]
call fcn.00404a50
push ecx
mov ecx, dword [esp + 0x3c]
mov byte [esp + 0x2c], 2
mov edx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00404a50
mov eax, dword [esp + 0x38]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push ecx
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x38], 3
call fcn.00404a50
mov dword [esp + 0x34], 0xffffffff
call fcn.0041af60
test eax, eax
je 0x41baf3
push 0
push 0
push esi
push 0x41b210
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor edx, edx
test eax, eax
setne dl
mov dword [esi + 0x70], eax
mov eax, edx
test eax, eax
jne 0x41bb1e
call fcn.0041b1b0
test esi, esi
je 0x41bb0b
push esi
call fcn.0041abb0
push esi
call fcn.00424042
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret

Function at 0x41bc60
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
sub esp, 0x29c
mov eax, dword [0x46414c]
xor eax, esp
mov dword [esp + 0x294], eax
cmp dword [0x470264], 0
jne 0x41bccd
lea eax, [esp]
push eax
push 0x202
mov dword [0x470264], 1
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0x100
lea ecx, [esp + 0x194]
push ecx
call dword [sym.imp.WS2_32.dll_gethostname]
cmp eax, 0xffffffff
je 0x41bccd
lea edx, [esp + 0x190]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x41bccd
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [0x47017c], edx
mov ecx, dword [esp + 0x294]
xor ecx, esp
mov eax, esi
call fcn.0042404d
add esp, 0x29c
ret
Function at 0x41bdb0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push 0xffffffffffffffff
push 0x44e688
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x46414c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0xc]
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], 2
call fcn.004050a0
lea edi, [esi + 0x10]
lea eax, [esp + 0x20]
call fcn.004050a0
lea edi, [esi + 0x14]
lea eax, [esp + 0x24]
call fcn.004050a0
push 0
push 0
push 0
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x41be1e
call fcn.0041cb60
mov byte [esp + 0x14], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41be43
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x14], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41be68
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41be90
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0xc

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

Disassembly:
mov eax, dword [esi + 0xc]
push ebx
xor ebx, ebx
push ebp
push edi
cmp eax, ebx
je 0x41c056
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jbe 0x41c056
mov ebp, dword [esp + 0x10]
push ecx
push eax
push ebp
call fcn.00428630
mov eax, dword [esi + 0xc]
mov edi, dword [esi + 0x10]
push eax
call fcn.00424042
add esp, 0x10
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
jmp 0x41c078
mov ecx, dword [esp + 0x10]
mov edx, dword [esi]
push ebx
push 0x7d014
push ecx
push edx
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
cmp edi, ebx
jle 0x41c124
mov ebp, dword [esp + 0x10]
cmp dword [ebp], 1
jne 0x41c124
cmp dword [ebp + 4], 0x3e9
jne 0x41c124
mov ebx, dword [ebp + 0x10]
cmp ebx, 0x7d000
ja 0x41c124
add ebx, 0x14
cmp ebx, edi
jb 0x41c0e7
mov ebp, ebx
sub ebp, edi
je 0x41c119
jmp 0x41c0b0
mov ecx, dword [esp + 0x10]
push 0
mov eax, ebx
sub eax, edi
push eax
mov eax, dword [esi]
lea edx, [edi + ecx]
push edx
push eax
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x41c124
push 1
sub ebp, eax
add edi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
test ebp, ebp
ja 0x41c0b0
pop edi
pop ebp
mov eax, 1
pop ebx
ret 4
mov eax, dword [esi + 0xc]
sub edi, ebx
test eax, eax
je 0x41c100
push eax
call fcn.00424042
add esp, 4
mov dword [esi + 0xc], 0
push edi
call fcn.00424725
push edi
add ebx, ebp
push ebx
push eax
mov dword [esi + 0xc], eax
call fcn.00428630
add esp, 0x10
mov dword [esi + 0x10], edi
pop edi
pop ebp
mov eax, 1
pop ebx
ret 4
pop edi
pop ebp
xor eax, eax
pop ebx
ret 4
Function at 0x41c4e0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x44e609
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46414c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
mov dword [esp + 0x1c], 2
call fcn.0041bc60
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov eax, dword [0x46ecec]
mov edx, dword [eax + 0xc]
mov ecx, 0x46ecec
lea edi, [esi + 0x10]
call edx
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x1c], 3
mov eax, dword [0x46ecec]
mov edx, dword [eax + 0xc]
mov ecx, 0x46ecec
lea ebp, [esi + 0x14]
call edx
add eax, 0x10
mov dword [ebp], eax
mov byte [esp + 0x1c], 4
mov eax, dword [0x46ecec]
mov edx, dword [eax + 0xc]
mov ecx, 0x46ecec
lea ebx, [esi + 0x18]
call edx
add eax, 0x10
mov dword [ebx], eax
mov eax, dword [esp + 0x28]
mov byte [esp + 0x1c], 5
mov dword [esi], eax
lea eax, [esp + 0x2c]
mov dword [esi + 0xc], 0
call fcn.004050a0
lea eax, [esp + 0x30]
mov edi, ebp
call fcn.004050a0
lea eax, [esp + 0x34]
mov edi, ebx
call fcn.004050a0
xor eax, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov byte [esp + 0x1c], 1
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c5cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1c], 0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c5f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c61a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x14
Function at 0x41cac0
Capabilities:
Connect socket
Resolve dns

Disassembly:
sub esp, 0x18
mov eax, dword [0x46414c]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push edi
mov edi, dword [sym.imp.WS2_32.dll_inet_addr]
push esi
xor ebx, ebx
call edi
push esi
cmp eax, 0xffffffff
jne 0x41cb58
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x41cb05
movzx ecx, word [eax + 8]
cmp cx, 2
je 0x41cb00
cmp cx, 0x17
jne 0x41cb05
mov eax, dword [eax + 0xc]
mov ebx, dword [eax]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [ebp]
push 0
push 0
push 0
push 0
push 0x10
lea ecx, [esp + 0x20]
mov word [esp + 0x22], ax
push ecx
mov eax, 2
push edx
mov word [esp + 0x28], ax
call dword [sym.imp.WS2_32.dll_WSAConnect]
mov ecx, dword [esp + 0x1c]
pop edi
neg eax
pop ebp
sbb eax, eax
pop ebx
xor ecx, esp
inc eax
call fcn.0042404d
add esp, 0x18
ret 8
call edi
mov dword [esp + 0x10], eax
jmp 0x41cb0c
Function at 0x41dc70
Capabilities:
Delete file

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, eax
test ebp, ebp
je 0x41dcfd
test edi, edi
je 0x41dcfd
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
mov dword [esp + 0x18], 0
call ebx
push 0
neg esi
sbb esi, esi
and esi, 2
push esi
push 2
push 0
push 0
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x41dcfd
cmp esi, 0xffffffff
je 0x41dcfd
push ecx
mov eax, esp
mov dword [esp + 0x10], esp
push eax
mov ecx, 0x45b7b0
call fcn.00404a50
push esi
push 1
push 0
push ebp
lea ecx, [esp + 0x28]
xor edx, edx
call fcn.0041d8e0
add esp, 0x14
push esi
test eax, eax
je 0x41dcf4
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
pop esi
pop ebp
pop ebx
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call ebx
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret

Function at 0x41de40
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub esp, 8
sub eax, 1
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov esi, edx
je 0x41de6f
sub eax, 1
je 0x41de68
xor ebp, ebp
sub eax, 1
je 0x41de61
lea ebx, [ebp + 0x3e]
jmp 0x41de79
mov ebx, 0xa
jmp 0x41de79
mov ebp, 0x24
jmp 0x41de74
mov ebp, 0xa
mov ebx, 0x1a
test edi, edi
je 0x41dea8
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
call fcn.00426c87
add eax, dword [esp + 0x10]
push eax
call fcn.00426c75
add esp, 4
call fcn.00426c87
cdq
idiv edi
mov edi, edx
add edi, esi
jmp 0x41deaa
mov edi, esi
xor esi, esi
test edi, edi
jle 0x41df15
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
call fcn.00426c87
add eax, dword [esp + 0x10]
push eax
call fcn.00426c75
add esp, 4
call fcn.00426c87
cdq
idiv ebx
add edx, ebp
cmp edx, 0xa
jge 0x41dee1
add edx, 0x30
jmp 0x41def6
cmp edx, 0x24
jge 0x41def3
mov ecx, dword [esp + 0x1c]
add edx, 0x37
mov word [ecx + esi*2], dx
jmp 0x41defe
add edx, 0x3d
mov eax, dword [esp + 0x1c]
mov word [eax + esi*2], dx
inc esi
cmp esi, edi
jl 0x41deb0
mov edx, dword [esp + 0x1c]
xor ecx, ecx
mov word [edx + edi*2], cx
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov word [ecx + edi*2], ax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret