joyce8/EMBER2024-capa huggingface dataset:
Function at 0x459e28
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x459e3f
add esp, 0xfffffff0
call fcn.00403b38
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041df38
mov eax, dword [0x48fed4]
cmp word [eax + 2], 0
jne 0x459e67
mov eax, dword [0x48fed4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045b5a8
mov eax, dword [0x48ff94]
cmp word [eax + 2], 0
jne 0x459e81
mov eax, dword [0x48ff94]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045b7a0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415c30]
call fcn.004037e4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415c30]
call fcn.004037e4
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x42053c]
call fcn.00428298
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45a008
mov eax, dword [0x48fde0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00428668
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45bd50
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x48fde0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d0a8
test eax, eax
je 0x459f76
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004092e8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d0d0
test eax, eax
je 0x459f8a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404858
mov eax, dword [0x48fc8c]
cmp byte [eax], 0
jne 0x459fbe
mov eax, ebx
call fcn.0045a130
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045bf2c
mov eax, ebx
call fcn.0045c8f0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x459ffe
call fcn.00403b90
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45a3b0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x491bc0]
cmp dword [eax + 0x30], 0
je 0x45a45a
cmp dword [ebx + 0x94], 0
jne 0x45a454
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45a340
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45a454
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45a41a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45a454
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00417ff4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45a429
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45afbc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45aff1
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004046d8
jmp 0x45affe
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040463c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45c108
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45c149
mov eax, esi
call fcn.0044274c
test al, al
je 0x45c149
mov eax, dword [ebx + 0x84]
call fcn.00442448
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45c149
push 0
mov eax, dword [ebx + 0x84]
call fcn.00442448
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
push edi
push esi
mov eax, dword [ebx + 0x40]
push eax
call sub.wsock32.dll_recv
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
pop edi
pop esi
pop ebx
ret
Function at 0x45d0b8
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcd8
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x30], 0
je 0x45d23a
cmp dword [ebp - 8], 0
je 0x45d109
lea ebx, [ebp - 0x120]
lea eax, [ebp - 0x120]
call fcn.0045c9e8
lea edx, [ebp - 0x120]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.0045c9d8
jmp 0x45d10b
xor ebx, ebx
cmp dword [ebp - 0xc], 0
je 0x45d135
lea esi, [ebp - 0x224]
lea eax, [ebp - 0x224]
call fcn.0045c9e8
lea edx, [ebp - 0x224]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.0045c9d8
jmp 0x45d137
xor esi, esi
cmp dword [ebp + 0xc], 0
je 0x45d164
lea eax, [ebp - 0x328]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x328]
call fcn.0045c9e8
lea edx, [ebp - 0x328]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.0045c9d8
jmp 0x45d169
xor eax, eax
mov dword [ebp - 0x10], eax
test edi, edi
jl 0x45d195
mov eax, edi
mov ecx, 0x3e8
cdq
idiv ecx
mov dword [ebp - 0x18], eax
mov eax, edi
mov ecx, 0x3e8
cdq
idiv ecx
imul eax, edx, 0x3e8
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], eax
jmp 0x45d19a
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x45d1da
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x10]
push eax
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
inc eax
push eax
call sub.wsock32.dll_select
mov edx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
test eax, eax
setg al
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45d1e6
cmp dword [ebp - 8], 0
je 0x45d202
lea edx, [ebp - 0x120]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.0045c9c0
mov edx, dword [ebp - 8]
mov byte [edx], al
cmp dword [ebp - 0xc], 0
je 0x45d21e
lea edx, [ebp - 0x224]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.0045c9c0
mov edx, dword [ebp - 0xc]
mov byte [edx], al
cmp dword [ebp + 0xc], 0
je 0x45d23a
lea edx, [ebp - 0x328]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.0045c9c0
mov edx, dword [ebp + 0xc]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
lea ecx, [ebp - 4]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x34]
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
mov eax, dword [ebx + 0x40]
push eax
call sub.wsock32.dll_send
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
cmp eax, 0xffffffff
je 0x45d285
add dword [ebx + 0x38], eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4
Function at 0x45d514
Capabilities:
Resolve dns

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe0
mov esi, ecx
mov ebx, edx
mov eax, esi
call fcn.004045e8
test ebx, ebx
je 0x45d5b5
mov al, byte [ebx]
add al, 0xd0
sub al, 0xa
jae 0x45d550
mov eax, ebx
call fcn.00404aa8
push eax
call sub.wsock32.dll_inet_addr
inc eax
je 0x45d5c1
mov eax, esi
mov edx, ebx
call fcn.0040463c
jmp 0x45d5c1
mov eax, ebx
call fcn.00404aa8
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x45d5c1
mov ebx, eax
push esi
mov eax, dword [ebx + 0xc]
mov edi, dword [eax]
xor eax, eax
mov al, byte [edi]
mov dword [esp + 4], eax
mov byte [esp + 8], 0
xor eax, eax
mov al, byte [edi + 1]
mov dword [esp + 0xc], eax
mov byte [esp + 0x10], 0
xor eax, eax
mov al, byte [edi + 2]
mov dword [esp + 0x14], eax
mov byte [esp + 0x18], 0
xor eax, eax
mov al, byte [edi + 3]
mov dword [esp + 0x1c], eax
mov byte [esp + 0x20], 0
lea edx, [esp + 4]
mov ecx, 3
mov eax, 0x45d5d0
call fcn.0040999c
jmp 0x45d5c1
mov eax, esi
mov edx, 0x45d5e4
call fcn.0040463c
add esp, 0x20
pop edi
pop esi
pop ebx
ret

Function at 0x45dd50
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x4151e0]
call fcn.00404fec
xor eax, eax
push ebp
push 0x45de94
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x48eee4], 0
jne 0x45dda3
mov ecx, dword [0x48fc9c]
mov dl, 1
mov eax, dword [0x4079d4]
call fcn.0040c354
call fcn.00403fa0
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004030b0
mov eax, ebx
call fcn.00404e4c
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x45dea4
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406084
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404e5c
test eax, eax
jle 0x45de3b
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x45de34
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404870
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404858
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408834
test eax, eax
jne 0x45de34
mov ebx, 0x15
jmp 0x45de40
mov ebx, 0x10
jmp 0x45de40
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x48eee4]
call fcn.0045dca8
mov eax, dword [ebp - 8]
call fcn.0045dca8
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.0040609c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45de9b
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.0040460c
lea eax, [ebp - 0x10]
mov edx, dword [0x4151e0]
call fcn.004050bc
ret
Function at 0x467fdc
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x46800a
mov eax, ebx
call fcn.00468a90
cmp dword [ebx + 0x40], 0
je 0x468003
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x46807b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x46806d
cmp dword [ebx + 8], 0
je 0x46802c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x46803e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x46806d
cmp dword [ebx + 8], 0
je 0x46801f
cmp eax, 3
je 0x468051
dec eax
jne 0x46801f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x46801f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x46801f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x468099
cmp dword [ebx + 0x14], 0xcc
je 0x468099
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004680a4
pop ebx
ret

Function at 0x479c34
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x479c85
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x479c6c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x479c5c
jmp 0x479c85
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x479c6d
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x487760
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
push ebp
push ecx
mov dword [esp], eax
mov cl, 0xff
mov al, 0xff
mov esi, edx
dec esi
test esi, esi
jl 0x48779b
inc esi
xor edi, edi
mov edx, dword [esp]
mov dl, byte [edx + edi]
xor cl, dl
mov edx, ecx
mov ebp, edx
and ebp, 0xff
mov cl, byte [ebp + 0x48f9e8]
xor al, cl
mov ecx, eax
mov al, byte [ebp + 0x48fae8]
inc edi
dec esi
jne 0x487775
xor edx, edx
mov dl, cl
shl edx, 8
and eax, 0xff
add dx, ax
mov eax, edx
pop edx
pop ebp
pop edi
pop esi
ret

Function at 0x489350
Capabilities:
Write file on windows

Disassembly:
push ebx
add esp, 0xfffffff8
mov byte [esp], dl
xor ebx, ebx
cmp eax, 0x100
jg 0x489386
mov edx, dword [eax*4 + 0x495e6c]
cmp edx, 0xffffffff
je 0x489386
push 0
lea ecx, [esp + 8]
push ecx
push 1
lea ecx, [esp + 0xc]
push ecx
push edx
call sub.kernel32.dll_WriteFile_1
test eax, eax
je 0x489386
mov bl, 1
mov eax, ebx
pop ecx
pop edx
pop ebx
ret
Function at 0x48938c
Capabilities:
Read file on windows

Disassembly:
add esp, 0xfffffff8
or edx, 0xffffffff
xor ecx, ecx
mov dword [esp], ecx
cmp eax, 0x100
jg 0x4893d1
mov ecx, dword [eax*4 + 0x495e6c]
cmp ecx, 0xffffffff
je 0x4893d1
push 0
lea edx, [esp + 4]
push edx
push 1
lea edx, [esp + 0x10]
push edx
push ecx
call sub.kernel32.dll_ReadFile_1
test eax, eax
jne 0x4893cb
xor edx, edx
mov byte [esp + 4], 0
jmp 0x4893d1
xor edx, edx
mov dl, byte [esp + 4]
mov eax, edx
pop ecx
pop edx
ret

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

Disassembly:
push ebx
push esi
add esp, 0xffffffd8
mov ebx, edx
mov esi, eax
lea eax, [esp + 0x10]
push eax
call sub.kernel32.dll_QueryPerformanceFrequency
fild qword [esp + 0x10]
fdiv dword [0x4894c8]
fstp dword [esp + 0x18]
wait
push esp
call sub.kernel32.dll_QueryPerformanceCounter_1
mov eax, dword [esp]
mov dword [esp + 8], eax
mov eax, dword [esp + 4]
mov dword [esp + 0xc], eax
jmp 0x48948f
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_QueryPerformanceCounter_1
test bl, bl
jne 0x48948f
mov eax, dword [0x48ff78]
mov eax, dword [eax]
call fcn.0045b2fc
lea eax, [esi + 1]
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fmul dword [esp + 0x18]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
sub eax, dword [esp]
sbb edx, dword [esp + 4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
fild qword [esp + 0x20]
fcompp
fnstsw ax
sahf
jb 0x489475
add esp, 0x28
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
add esp, 0xffffffd8
mov ebx, edx
mov esi, eax
lea eax, [esp + 0x10]
push eax
call sub.kernel32.dll_QueryPerformanceFrequency
fild qword [esp + 0x10]
fdiv dword [0x489554]
fstp dword [esp + 0x18]
wait
push esp
call sub.kernel32.dll_QueryPerformanceCounter_1
mov eax, dword [esp]
mov dword [esp + 8], eax
mov eax, dword [esp + 4]
mov dword [esp + 0xc], eax
jmp 0x48951f
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_QueryPerformanceCounter_1
test bl, bl
jne 0x48951f
mov eax, dword [0x48ff78]
mov eax, dword [eax]
call fcn.0045b2fc
mov dword [esp + 0x1c], esi
fild dword [esp + 0x1c]
fmul dword [esp + 0x18]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
sub eax, dword [esp]
sbb edx, dword [esp + 4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
fild qword [esp + 0x20]
fcompp
fnstsw ax
sahf
jb 0x489505
add esp, 0x28
pop esi
pop ebx
ret
Function at 0x4895ac
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x4895c5
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x4895be
mov edx, esp
mov dword [ebp - 4], edx
mov edi, eax
mov byte [ebp - 5], 0
cmp edi, 0x100
jg 0x48960f
cmp dword [edi*4 + 0x495e6c], 0xffffffff
je 0x48960f
mov esi, dword [ebp + 8]
test esi, esi
jl 0x48960b
inc esi
mov ebx, dword [ebp - 4]
push 0
lea eax, [ebp - 0xc]
push eax
push 1
push ebx
mov eax, dword [edi*4 + 0x495e6c]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
je 0x48960f
inc ebx
dec esi
jne 0x4895ed
mov byte [ebp - 5], 1
mov al, byte [ebp - 5]
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 4

Function at 0x489624
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov edi, eax
mov byte [ebp - 5], 0
xor eax, eax
mov dword [ebp - 0xc], eax
cmp edi, 0x100
jg 0x48967b
cmp dword [edi*4 + 0x495e6c], 0xffffffff
je 0x48967b
mov esi, dword [ebp + 8]
dec esi
test esi, esi
jl 0x489677
inc esi
mov ebx, dword [ebp - 4]
push 0
lea eax, [ebp - 0xc]
push eax
push 1
push ebx
mov eax, dword [edi*4 + 0x495e6c]
push eax
call sub.kernel32.dll_ReadFile_1
test eax, eax
je 0x48967b
inc ebx
dec esi
jne 0x489659
mov byte [ebp - 5], 1
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x48ab7c
Capabilities:
Create process on windows
Create process suspended
Self delete

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb8
xor ecx, ecx
mov dword [ebp - 0x248], ecx
mov dword [ebp - 0x244], ecx
mov dword [ebp - 0x240], ecx
mov dword [ebp - 0x23c], ecx
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a98
mov eax, dword [ebp - 8]
call fcn.00404a98
xor eax, eax
push ebp
push 0x48adf5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004048f4
lea eax, [ebp - 0x14]
mov ecx, 0x48ae08
mov edx, dword [ebp - 0x10]
call fcn.004048f4
lea ecx, [ebp - 0xc]
mov edx, 0x48ae18
mov eax, dword [ebp - 0x10]
call fcn.0040907c
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x1e0]
call fcn.00402e80
lea eax, [ebp - 0x1e0]
call fcn.00402c1c
call fcn.0040290c
mov edx, 0x48ae28
lea eax, [ebp - 0x1e0]
call fcn.00404c98
call fcn.004032d4
call fcn.0040290c
lea eax, [ebp - 0x238]
mov ecx, dword [ebp - 0x10]
mov edx, 0x48ae38
call fcn.004048f4
mov edx, dword [ebp - 0x238]
lea eax, [ebp - 0x1e0]
call fcn.00404c98
call fcn.004032d4
call fcn.0040290c
push 0x48ae48
push dword [ebp - 0x10]
push 0x48ae60
lea eax, [ebp - 0x23c]
mov edx, 3
call fcn.00404968
mov edx, dword [ebp - 0x23c]
lea eax, [ebp - 0x1e0]
call fcn.00404c98
call fcn.004032d4
call fcn.0040290c
push 0x48ae78
push dword [ebp - 0x14]
push 0x48ae88
push dword [ebp - 0x10]
lea eax, [ebp - 0x240]
mov edx, 4
call fcn.00404968
mov edx, dword [ebp - 0x240]
lea eax, [ebp - 0x1e0]
call fcn.00404c98
call fcn.004032d4
call fcn.0040290c
lea eax, [ebp - 0x244]
mov ecx, dword [ebp - 0x14]
mov edx, 0x48ae38
call fcn.004048f4
mov edx, dword [ebp - 0x244]
lea eax, [ebp - 0x1e0]
call fcn.00404c98
call fcn.004032d4
call fcn.0040290c
lea eax, [ebp - 0x248]
mov ecx, 0x48ae94
mov edx, dword [ebp - 0x10]
call fcn.004048f4
mov edx, dword [ebp - 0x248]
lea eax, [ebp - 0x1e0]
call fcn.00404c98
call fcn.004032d4
call fcn.0040290c
mov edx, 0x48aea0
lea eax, [ebp - 0x1e0]
call fcn.00404c98
call fcn.004032d4
call fcn.0040290c
lea eax, [ebp - 0x1e0]
call fcn.00402f48
call fcn.0040290c
lea eax, [ebp - 0x234]
xor ecx, ecx
mov edx, 0x44
call fcn.004030b0
mov dword [ebp - 0x208], 1
mov word [ebp - 0x204], 0
lea eax, [ebp - 0x1f0]
push eax
lea eax, [ebp - 0x234]
push eax
push 0
push 0
push 0x40
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404aa8
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x48adca
mov eax, dword [ebp - 0x1ec]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x1f0]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48adfc
lea eax, [ebp - 0x248]
mov edx, 5
call fcn.0040460c
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.0040460c
ret
Function at 0x48bc30
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebx
push esi
add esp, 0xffffffd8
mov ebx, edx
mov esi, eax
lea eax, [esp + 0x10]
push eax
call sub.kernel32.dll_QueryPerformanceFrequency
fild qword [esp + 0x10]
fdiv dword [0x48bcb8]
fstp dword [esp + 0x18]
wait
push esp
call sub.kernel32.dll_QueryPerformanceCounter_1
mov eax, dword [esp]
mov dword [esp + 8], eax
mov eax, dword [esp + 4]
mov dword [esp + 0xc], eax
jmp 0x48bc83
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_QueryPerformanceCounter_1
test bl, bl
jne 0x48bc83
mov eax, dword [0x48ff78]
mov eax, dword [eax]
call fcn.0045b2fc
mov dword [esp + 0x1c], esi
fild dword [esp + 0x1c]
fmul dword [esp + 0x18]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
sub eax, dword [esp]
sbb edx, dword [esp + 4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
fild qword [esp + 0x20]
fcompp
fnstsw ax
sahf
jb 0x48bc69
add esp, 0x28
pop esi
pop ebx
ret

Function at 0x48bcbc
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe48
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404a98
xor eax, eax
push ebp
push 0x48bd81
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x198]
push eax
push 2
call sub.wsock32.dll_WSAStartup
mov eax, dword [ebp - 4]
call fcn.00404aa8
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
xor eax, eax
mov al, byte [esi]
mov dword [ebp - 0x1b8], eax
mov byte [ebp - 0x1b4], 0
xor eax, eax
mov al, byte [esi + 1]
mov dword [ebp - 0x1b0], eax
mov byte [ebp - 0x1ac], 0
xor eax, eax
mov al, byte [esi + 2]
mov dword [ebp - 0x1a8], eax
mov byte [ebp - 0x1a4], 0
xor eax, eax
mov al, byte [esi + 3]
mov dword [ebp - 0x1a0], eax
mov byte [ebp - 0x19c], 0
lea edx, [ebp - 0x1b8]
mov ecx, 3
mov eax, 0x48bd98
call fcn.0040999c
call sub.wsock32.dll_WSACleanup
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48bd88
lea eax, [ebp - 4]
call fcn.004045e8
ret