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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45a4e3
add esp, 0xfffffff0
call fcn.004036bc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421498
mov eax, dword [0x490b68]
cmp word [eax + 2], 0
jne 0x45a50b
mov eax, dword [0x490b68]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045bad0
mov eax, dword [0x490cac]
cmp word [eax + 2], 0
jne 0x45a525
mov eax, dword [0x490cac]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045bcc8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4182d0]
call fcn.00403368
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4182d0]
call fcn.00403368
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 [0x4240cc]
call fcn.0042b444
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45a6ac
mov eax, dword [0x4909d8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042b814
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45c278
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4909d8]
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.0040ce80
test eax, eax
je 0x45a61a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408e30
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cea8
test eax, eax
je 0x45a62e
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.004043dc
mov eax, dword [0x4907cc]
cmp byte [eax], 0
jne 0x45a662
mov eax, ebx
call fcn.0045a7d4
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.0045c454
mov eax, ebx
call fcn.0045ce18
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45a6a2
call fcn.00403714
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45aa54
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x491be8]
cmp dword [eax + 0x30], 0
je 0x45aafe
cmp dword [ebx + 0x94], 0
jne 0x45aaf8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45a9e4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45aaf8
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 0x45aabe
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45aaf8
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.0041aac4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45aacd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45b660
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 0x45b695
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.0040425c
jmp 0x45b6a2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004041c0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45c630
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45c671
mov eax, esi
call fcn.00442f78
test al, al
je 0x45c671
mov eax, dword [ebx + 0x84]
call fcn.00442ca0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45c671
push 0
mov eax, dword [ebx + 0x84]
call fcn.00442ca0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45d95c
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040461c
xor eax, eax
push ebp
push 0x45d9da
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040462c
mov dword [ebp - 8], eax
cmp dword [ebx + 8], 0
jne 0x45d9a5
mov eax, dword [ebx + 4]
call fcn.0040462c
push eax
push 0
call sub.advapi32.dll_RegisterEventSourceA
mov dword [ebx + 8], eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push 1
push 0
mov eax, dword [ebp + 8]
push eax
mov ax, word [ebp + 0xc]
push eax
push esi
mov eax, dword [ebx + 8]
push eax
call sub.advapi32.dll_ReportEventA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d9e1
lea eax, [ebp - 4]
call fcn.0040416c
ret
Function at 0x45e9dc
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45eb79
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00402ae4
cmp word [ebx + 0xa2], 0
je 0x45ea25
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
mov eax, dword [ebx + 0x90]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x45ea39
lea esi, [ebp - 8]
jmp 0x45ea3b
xor esi, esi
cmp dword [ebx + 0x80], 0
jne 0x45ea48
xor edi, edi
jmp 0x45ea55
mov eax, dword [ebx + 0x80]
call fcn.0040462c
mov edi, eax
mov eax, dword [ebx + 0x7c]
call fcn.0040462c
push eax
push edi
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.0045e114
mov eax, dword [ebp - 0x14]
call fcn.0040462c
push eax
push esi
mov eax, dword [ebx + 0x74]
call fcn.0040462c
push eax
mov eax, dword [ebp - 0x10]
call fcn.0040462c
push eax
mov eax, ebx
call fcn.0045e248
push eax
mov eax, ebx
call fcn.0045e21c
push eax
mov eax, ebx
call fcn.0045e1d0
push eax
push 0xf01ff
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.0045dfe0
mov eax, dword [ebp - 0x18]
call fcn.0040462c
push eax
mov eax, dword [ebx + 8]
call fcn.0040462c
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_CreateServiceA
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x90], eax
cmp dword [ebp - 0xc], 0
jne 0x45eade
call fcn.0040d70c
xor edx, edx
push ebp
push 0x45eb57
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x45eb1c
push dword fs:[edx]
mov dword fs:[edx], esp
cmp word [ebx + 0xaa], 0
je 0x45eb12
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45eb40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45eb5e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret

Function at 0x45eb88
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0xb2], 0
je 0x45ebb4
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xb4]
call dword [esi + 0xb0]
push 0xf01ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.0040462c
push eax
push ebx
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x45ebd9
call fcn.0040d70c
xor eax, eax
push ebp
push 0x45ec10
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_DeleteService
test eax, eax
jne 0x45ebf9
call fcn.0040d70c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ec17
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
Function at 0x465674
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov ecx, dword [eax]
mov dword [edx], ecx
lea ecx, [eax + 4]
mov ecx, dword [ecx]
mov dword [edx + 4], ecx
lea ecx, [eax + 8]
mov ecx, dword [ecx]
mov dword [edx + 8], ecx
add eax, 0xc
mov eax, dword [eax]
mov dword [edx + 0xc], eax
xor eax, eax
mov dword [esp], 1
mov ecx, dword [edx + eax*4 + 0xc]
mov ebx, ecx
shl ebx, 0x18
shr ecx, 8
or ebx, ecx
mov ecx, ebx
xor ebx, ebx
mov bl, cl
mov ebx, dword [ebx*4 + 0x48fa28]
mov dword [esp + 4], ebx
mov ebx, ecx
shr ebx, 8
and ebx, 0xff
mov esi, dword [ebx*4 + 0x48fa28]
mov ebx, ecx
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x48fa28]
mov dword [esp + 8], ebx
shr ecx, 0x18
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x48fa28]
mov ebx, esi
shl ebx, 8
shr esi, 0x18
or ebx, esi
xor ebx, dword [esp + 4]
mov esi, dword [esp + 8]
shl esi, 0x10
mov edi, dword [esp + 8]
shr edi, 0x10
or esi, edi
xor ebx, esi
mov esi, ecx
shl esi, 0x18
shr ecx, 8
or esi, ecx
xor ebx, esi
xor ebx, dword [edx + eax*4]
mov ecx, dword [esp]
xor ebx, dword [ecx*4 + 0x48f5ac]
mov dword [edx + eax*4 + 0x10], ebx
inc dword [esp]
mov ecx, dword [edx + eax*4 + 4]
xor ecx, dword [edx + eax*4 + 0x10]
mov dword [edx + eax*4 + 0x14], ecx
mov ebx, dword [edx + eax*4 + 8]
xor ebx, ecx
mov dword [edx + eax*4 + 0x18], ebx
mov ecx, dword [edx + eax*4 + 0xc]
xor ecx, ebx
mov dword [edx + eax*4 + 0x1c], ecx
add eax, 4
cmp eax, 0x28
jl 0x46569f
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x46576c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov ecx, dword [eax]
mov dword [edx], ecx
lea ecx, [eax + 4]
mov ecx, dword [ecx]
mov dword [edx + 4], ecx
lea ecx, [eax + 8]
mov ecx, dword [ecx]
mov dword [edx + 8], ecx
lea ecx, [eax + 0xc]
mov ecx, dword [ecx]
mov dword [edx + 0xc], ecx
lea ecx, [eax + 0x10]
mov ecx, dword [ecx]
mov dword [edx + 0x10], ecx
add eax, 0x14
mov eax, dword [eax]
mov dword [edx + 0x14], eax
xor eax, eax
mov dword [esp], 1
mov ecx, dword [edx + eax*4 + 0x14]
mov ebx, ecx
shl ebx, 0x18
shr ecx, 8
or ebx, ecx
mov ecx, ebx
xor ebx, ebx
mov bl, cl
mov ebx, dword [ebx*4 + 0x48fa28]
mov dword [esp + 4], ebx
mov ebx, ecx
shr ebx, 8
and ebx, 0xff
mov esi, dword [ebx*4 + 0x48fa28]
mov ebx, ecx
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x48fa28]
mov dword [esp + 8], ebx
shr ecx, 0x18
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x48fa28]
mov ebx, esi
shl ebx, 8
shr esi, 0x18
or ebx, esi
xor ebx, dword [esp + 4]
mov esi, dword [esp + 8]
shl esi, 0x10
mov edi, dword [esp + 8]
shr edi, 0x10
or esi, edi
xor ebx, esi
mov esi, ecx
shl esi, 0x18
shr ecx, 8
or esi, ecx
xor ebx, esi
xor ebx, dword [edx + eax*4]
mov ecx, dword [esp]
xor ebx, dword [ecx*4 + 0x48f5ac]
mov dword [edx + eax*4 + 0x18], ebx
inc dword [esp]
mov ecx, dword [edx + eax*4 + 4]
xor ecx, dword [edx + eax*4 + 0x18]
mov dword [edx + eax*4 + 0x1c], ecx
mov ebx, dword [edx + eax*4 + 8]
xor ebx, ecx
mov dword [edx + eax*4 + 0x20], ebx
mov ecx, dword [edx + eax*4 + 0xc]
xor ecx, ebx
mov dword [edx + eax*4 + 0x24], ecx
mov ebx, dword [edx + eax*4 + 0x10]
xor ebx, ecx
mov dword [edx + eax*4 + 0x28], ebx
mov ecx, dword [edx + eax*4 + 0x14]
xor ecx, ebx
mov dword [edx + eax*4 + 0x2c], ecx
add eax, 6
cmp eax, 0x2e
jl 0x4657a7
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x465888
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov ecx, dword [eax]
mov dword [edx], ecx
lea ecx, [eax + 4]
mov ecx, dword [ecx]
mov dword [edx + 4], ecx
lea ecx, [eax + 8]
mov ecx, dword [ecx]
mov dword [edx + 8], ecx
lea ecx, [eax + 0xc]
mov ecx, dword [ecx]
mov dword [edx + 0xc], ecx
lea ecx, [eax + 0x10]
mov ecx, dword [ecx]
mov dword [edx + 0x10], ecx
lea ecx, [eax + 0x14]
mov ecx, dword [ecx]
mov dword [edx + 0x14], ecx
lea ecx, [eax + 0x18]
mov ecx, dword [ecx]
mov dword [edx + 0x18], ecx
add eax, 0x1c
mov eax, dword [eax]
mov dword [edx + 0x1c], eax
xor eax, eax
mov dword [esp], 1
mov ecx, dword [edx + eax*4 + 0x1c]
mov edi, ecx
shl edi, 0x18
shr ecx, 8
or edi, ecx
mov ecx, edi
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x48fa28]
mov dword [esp + 4], ecx
mov ecx, edi
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x48fa28]
mov ebx, edi
shr ebx, 0x10
and ebx, 0xff
mov esi, dword [ebx*4 + 0x48fa28]
mov ebx, edi
shr ebx, 0x18
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x48fa28]
mov dword [esp + 8], ebx
mov ebx, ecx
shl ebx, 8
shr ecx, 0x18
or ebx, ecx
xor ebx, dword [esp + 4]
mov ecx, esi
shl ecx, 0x10
shr esi, 0x10
or ecx, esi
xor ebx, ecx
mov ecx, dword [esp + 8]
shl ecx, 0x18
mov esi, dword [esp + 8]
shr esi, 8
or ecx, esi
xor ebx, ecx
xor ebx, dword [edx + eax*4]
mov ecx, dword [esp]
xor ebx, dword [ecx*4 + 0x48f5ac]
mov dword [edx + eax*4 + 0x20], ebx
inc dword [esp]
mov ecx, dword [edx + eax*4 + 4]
xor ecx, dword [edx + eax*4 + 0x20]
mov dword [edx + eax*4 + 0x24], ecx
mov ebx, dword [edx + eax*4 + 8]
xor ebx, ecx
mov dword [edx + eax*4 + 0x28], ebx
mov edi, dword [edx + eax*4 + 0xc]
xor edi, ebx
mov dword [edx + eax*4 + 0x2c], edi
xor ecx, ecx
mov cl, byte [edx + eax*4 + 0x2c]
mov ecx, dword [ecx*4 + 0x48fa28]
mov dword [esp + 4], ecx
mov ecx, edi
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x48fa28]
mov ebx, edi
shr ebx, 0x10
and ebx, 0xff
mov esi, dword [ebx*4 + 0x48fa28]
mov ebx, edi
shr ebx, 0x18
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x48fa28]
mov dword [esp + 8], ebx
mov ebx, ecx
shl ebx, 8
shr ecx, 0x18
or ebx, ecx
xor ebx, dword [esp + 4]
mov ecx, esi
shl ecx, 0x10
shr esi, 0x10
or ecx, esi
xor ebx, ecx
mov ecx, dword [esp + 8]
shl ecx, 0x18
mov esi, dword [esp + 8]
shr esi, 8
or ecx, esi
xor ebx, ecx
xor ebx, dword [edx + eax*4 + 0x10]
mov dword [edx + eax*4 + 0x30], ebx
mov ecx, dword [edx + eax*4 + 0x14]
xor ecx, dword [edx + eax*4 + 0x30]
mov dword [edx + eax*4 + 0x34], ecx
mov ebx, dword [edx + eax*4 + 0x18]
xor ebx, ecx
mov dword [edx + eax*4 + 0x38], ebx
mov ecx, dword [edx + eax*4 + 0x1c]
xor ecx, ebx
mov dword [edx + eax*4 + 0x3c], ecx
add eax, 8
cmp eax, 0x34
jl 0x4658d3
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x487560
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x487617
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
test eax, eax
je 0x48760d
cmp dword [ebp - 0x90], 5
jne 0x4875b5
cmp dword [ebp - 0x8c], 2
jne 0x4875b5
mov eax, 0x491fd0
mov edx, 0x487630
call fcn.004041c0
cmp dword [ebp - 0x90], 5
jne 0x4875d6
cmp dword [ebp - 0x8c], 1
jne 0x4875d6
mov eax, 0x491fd0
mov edx, 0x487640
call fcn.004041c0
mov ebx, dword [ebp - 0x90]
cmp ebx, 5
jne 0x4875f9
cmp dword [ebp - 0x8c], 0
jne 0x4875f9
mov eax, 0x491fd0
mov edx, 0x48764c
call fcn.004041c0
cmp ebx, 4
ja 0x48760d
mov eax, 0x491fd0
mov edx, 0x48764c
call fcn.004041c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x487621
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x487e1c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040461c
xor eax, eax
push ebp
push 0x487fd1
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0040848c
mov eax, dword [ebp - 0xc]
call fcn.00408a94
test al, al
jne 0x487e72
mov eax, dword [ebp - 8]
call fcn.0040416c
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
call fcn.0040462c
mov ebx, eax
push ebx
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x487f93
mov eax, dword [ebp - 0x10]
call fcn.004081b8
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x487f8c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0
push ebx
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x487fe0
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x487f1d
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
call fcn.00406f7c
movzx eax, ax
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
lea edx, [ebp - 0x40]
xor ecx, ecx
mov eax, 0x488004
call fcn.00409504
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x24]
movzx eax, word [eax]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
lea edx, [ebp - 0x40]
xor ecx, ecx
mov eax, 0x488004
call fcn.00409504
push 0x488014
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push 0x48802c
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.004044ec
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x44]
mov ecx, 0x488038
mov edx, dword [ebp - 0x30]
call fcn.00404478
mov eax, dword [ebp - 0x44]
call fcn.0040462c
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x487f73
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x38]
call fcn.00404364
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487f93
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
call fcn.0040277c
ret
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x34]
call fcn.004041c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487fd8
lea eax, [ebp - 0x44]
call fcn.0040416c
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.00404190
lea eax, [ebp - 0xc]
call fcn.0040416c
lea eax, [ebp - 4]
call fcn.0040416c
ret

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

Disassembly:
push ebx
push esi
mov esi, eax
call sub.kernel32.dll_GetTickCount
mov ebx, eax
mov eax, dword [0x490c6c]
mov eax, dword [eax]
call fcn.0045b910
call sub.kernel32.dll_GetTickCount
mov edx, eax
sub edx, ebx
cmp esi, edx
jle 0x48836c
cmp ebx, eax
jle 0x48834f
xor eax, eax
pop esi
pop ebx
ret
Function at 0x4898c8
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x489976
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x489956
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, ebx
call fcn.0040416c
mov dl, 1
mov al, 1
call fcn.00406f5c
lea edx, [ebp - 0x194]
push edx
push eax
call sub.wsock32.dll_WSAStartup
push 0x80
lea eax, [ebp - 0x215]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x215]
push eax
call sub.wsock32.dll_gethostbyname
mov esi, eax
lea eax, [ebp - 4]
mov edx, dword [esi]
call fcn.00404364
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004041c0
call sub.wsock32.dll_WSACleanup
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x489960
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48997d
lea eax, [ebp - 4]
call fcn.0040416c
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x489a39
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x489a19
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, ebx
call fcn.0040416c
mov dl, 1
mov al, 1
call fcn.00406f5c
lea edx, [ebp - 0x194]
push edx
push eax
call sub.wsock32.dll_WSAStartup
push 0x80
lea eax, [ebp - 0x215]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x215]
push eax
call sub.wsock32.dll_gethostbyname
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call sub.wsock32.dll_inet_ntoa
mov esi, eax
lea eax, [ebp - 4]
mov edx, esi
call fcn.00404364
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004041c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x489a23
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x489a40
lea eax, [ebp - 4]
call fcn.0040416c
ret
Function at 0x41d720
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x41d8a8
pushal
mov esi, section.text
lea edi, [esi - 0x13000]
push edi
or ebp, 0xffffffff
jmp 0x41d74a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41d751
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41d740
mov eax, 1
add ebx, ebx
jne 0x41d763
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41d758
jne 0x41d774
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41d758
xor ecx, ecx
sub eax, 3
jb 0x41d788
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41d7fa
mov ebp, eax
add ebx, ebx
jne 0x41d793
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41d7a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41d7c4
inc ecx
add ebx, ebx
jne 0x41d7b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41d7a5
jne 0x41d7c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41d7a5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41d7e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41d7d5
jmp 0x41d746
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41d7e4
add edi, ecx
jmp 0x41d746
pop esi
mov edi, esi
mov ecx, 0x8c3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41d802
cmp byte [edi], 1
jne 0x41d802
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x41d807
lea edi, [esi + 0x1a000]
mov eax, dword [edi]
or eax, eax
je 0x41d876
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1d8a0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1d904]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41d834
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1d908]
or eax, eax
je 0x41d870
mov dword [ebx], eax
add ebx, 4
jmp 0x41d851
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x41d8a7
cmp al, 0xef
ja 0x41d89a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x41d87c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x41d889
popal
jmp 0x412350