joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45e0b0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x45e0bd
xor eax, eax
pop esi
ret
push ebx
push edi
call fcn.0045dbe0
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
cmp edi, 8
not ecx
jb 0x45e1a8
push ebp
mov ebp, edi
shr ebp, 3
mov edx, ecx
xor ebx, ebx
mov bl, byte [esi]
and edx, 0xff
xor edx, ebx
mov ebx, ecx
shr ebx, 8
mov ecx, dword [eax + edx*4]
sub edi, 8
xor ecx, ebx
inc esi
mov edx, ecx
xor ebx, ebx
mov bl, byte [esi]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov edx, dword [eax + edx*4]
shr ecx, 8
xor edx, ecx
inc esi
mov ecx, edx
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov ecx, dword [eax + ecx*4]
shr edx, 8
xor ecx, edx
inc esi
mov edx, ecx
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov edx, dword [eax + edx*4]
shr ecx, 8
xor edx, ecx
inc esi
mov ecx, edx
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov ecx, dword [eax + ecx*4]
shr edx, 8
xor ecx, edx
inc esi
mov edx, ecx
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov edx, dword [eax + edx*4]
shr ecx, 8
xor edx, ecx
inc esi
mov ecx, edx
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov ecx, dword [eax + ecx*4]
shr edx, 8
xor ecx, edx
inc esi
mov edx, ecx
and edx, 0xff
xor edx, ebx
shr ecx, 8
mov edx, dword [eax + edx*4]
xor ecx, edx
inc esi
dec ebp
jne 0x45e0dd
pop ebp
test edi, edi
je 0x45e1c6
mov edx, ecx
xor ebx, ebx
mov bl, byte [esi]
and edx, 0xff
xor edx, ebx
shr ecx, 8
mov edx, dword [eax + edx*4]
xor ecx, edx
inc esi
dec edi
jne 0x45e1ac
mov eax, ecx
pop edi
pop ebx
pop esi
not eax
ret

Function at 0x46f4d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x476521
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 0x38]
call fcn.00428c00
xor edi, edi
lea ecx, [esi + 0x40]
mov dword [esp + 0x14], edi
call fcn.00428c00
lea ecx, [esi + 0x50]
mov byte [esp + 0x14], 1
call fcn.004152e0
lea ecx, [esi + 0xa0]
mov byte [esp + 0x14], 2
call fcn.004223d0
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x10], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x48], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x4c], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x46f800
Capabilities:
Start service

Disassembly:
push ebx
push ebp
push edi
xor edi, edi
push 0x40000000
push edi
mov ebx, ecx
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebp, eax
test ebp, ebp
je 0x46f889
mov eax, dword [esp + 0x10]
push esi
push 0x1c
push eax
push ebp
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x46f879
push edi
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x46f856
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0x420
jne 0x46f852
mov edi, 1
jmp 0x46f872
call ebx
jmp 0x46f872
push 4
push 2
push esi
mov ecx, ebx
call fcn.0046fa50
mov edi, eax
cmp edi, 1
jne 0x46f872
push eax
push esi
mov ecx, ebx
call fcn.0046f940
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebp
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, edi
pop esi
pop edi
pop ebp
pop ebx
ret 4
mov eax, edi
pop edi
pop ebp
pop ebx
ret 4

Function at 0x46f8a0
Capabilities:
Stop service

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push edi
xor ebx, ebx
push 0x40000000
push ebx
mov edi, ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebp, eax
test ebp, ebp
je 0x46f92f
mov eax, dword [esp + 0x2c]
push esi
push 0x2c
push eax
push ebp
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x46f91c
push ebx
push esi
mov ecx, edi
call fcn.0046f940
lea ecx, [esp + 0x10]
push ecx
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x46f907
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0x426
jne 0x46f903
mov ebx, 1
jmp 0x46f915
call edi
jmp 0x46f915
push 1
push 3
push esi
mov ecx, edi
call fcn.0046fa50
mov ebx, eax
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebp
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
pop edi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x1c
ret 4
pop edi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x1c
ret 4
Function at 0x46f940
Capabilities:
Enumerate services

Disassembly:
sub esp, 8
lea eax, [esp]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
dec esi
mov ebp, ecx
mov ebx, dword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
push edi
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x1c]
neg esi
sbb esi, esi
push eax
push ecx
add esi, 2
push 0
push 0
push esi
push edi
call ebx
test eax, eax
je 0x46f984
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x46f99d
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8
mov edx, dword [esp + 0x1c]
push edx
call fcn.00461d1b
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jne 0x46f9bc
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push ecx
push eax
push esi
push edi
call ebx
test eax, eax
jne 0x46f9ed
mov edx, dword [esp + 0x14]
push edx
call fcn.00461c32
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov eax, dword [esp + 0x10]
xor edi, edi
test eax, eax
mov ebx, 1
jbe 0x46fa28
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x20], ebx
jne 0x46fa12
mov eax, dword [esi]
mov ecx, ebp
push eax
call fcn.0046f800
jmp 0x46fa1c
mov ecx, dword [esi]
push ecx
mov ecx, ebp
call fcn.0046f8a0
mov eax, dword [esp + 0x10]
inc edi
add esi, 0x24
cmp edi, eax
jb 0x46fa00
mov edx, dword [esp + 0x14]
push edx
call fcn.00461c32
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8

Function at 0x46fa50
Capabilities:
Query service status

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
call fcn.00420a40
mov ecx, dword [esp + 0x30]
mov edi, eax
lea eax, [esp + 0x10]
mov ebx, edx
push eax
push ecx
xor ebp, ebp
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x46fb0d
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
cmp edx, eax
jne 0x46fb0d
mov eax, 0x51eb851f
mul dword [esp + 0x28]
shr edx, 5
cmp edx, 0x12c
jae 0x46faa5
mov edx, 0x12c
jmp 0x46fab2
cmp edx, 0x2710
jbe 0x46fab2
mov edx, 0x2710
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esp + 0x24], ebp
jbe 0x46face
call fcn.00420a40
mov ebp, dword [esp + 0x24]
mov edi, eax
mov ebx, edx
jmp 0x46faf5
mov eax, dword [esp + 0x28]
cmp eax, 0x7d0
mov esi, eax
ja 0x46fae0
mov esi, 0x7d0
call fcn.00420a40
sub eax, edi
sbb edx, ebx
xor ecx, ecx
cmp edx, ecx
ja 0x46fb0d
jb 0x46faf5
cmp eax, esi
ja 0x46fb0d
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x46fa7a
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
pop edi
pop esi
pop ebp
cmp edx, eax
pop ebx
jne 0x46fb28
mov eax, 1
add esp, 0x1c
ret 0xc
xor eax, eax
add esp, 0x1c
ret 0xc
Function at 0x46fb30
Capabilities:
Query service status

Disassembly:
sub esp, 0x1c
push edi
push 0x40000000
push 0
push 0
mov dword [esp + 0x14], 1
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x46fb8c
mov eax, dword [esp + 0x24]
push ebx
push esi
push 4
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x46fb7c
lea ecx, [esp + 0xc]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
push esi
call ebx
push edi
call ebx
mov eax, dword [esp + 0x10]
pop esi
pop ebx
pop edi
add esp, 0x1c
ret 4
mov eax, dword [esp + 8]
pop edi
add esp, 0x1c
ret 4

Function at 0x46fbdd
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x46fc08
test byte [esp + 8], 0x80
je 0x46fbf7
and al, 0xfe
jmp 0x46fbf9
or al, 1
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x46fc19
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0046990a
pop ecx
or eax, 0xffffffff
ret
xor eax, eax
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x117b7691
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4300d2
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x4464164b
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x4010b7
Capabilities:
Create process on windows

Disassembly:
push ecx
cmp edx, 0x4b3
jg 0x4010f8
je 0x4010f1
add edx, 0xfffffbb3
cmp edx, 0x65
ja case.0x401091.1104
movzx eax, byte [edx + 0x4011b0]
jmp dword [eax*4 + 0x401198]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop ecx
ret
push 0
push str.About_Native
push str.CopyRight_By_TAz_All_Rights_Reserved
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
pop ecx
ret
push 5
push 0
push 0
push str.http:__kingsdows.co.cc_
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop ecx
ret
push 0
push 0
push 0x1009
push dword [0x40838c]
call dword [sym.imp.USER32.dll_SendMessageA]
call fcn.004033b0
pop ecx
ret
call fcn.004036d0
pop ecx
ret
call fcn.00403c30
pop ecx
ret
cmp edx, 0x5dd
jg 0x401165
je 0x401149
sub edx, 0x515
je 0x40112d
sub edx, 0x64
jne case.0x401091.1104
push edx
push edx
push 0x1009
push dword [0x408378]
call dword [sym.imp.USER32.dll_SendMessageA]
call fcn.004047a0
pop ecx
ret
push 0
push 0
push 0x1009
push dword [0x408384]
call dword [sym.imp.USER32.dll_SendMessageA]
call fcn.00402d50
pop ecx
ret
push 0
push 0
push 0x1009
push dword [0x40837c]
call dword [sym.imp.USER32.dll_SendMessageA]
call fcn.004029e0
pop ecx
ret
cmp edx, 0x641
je 0x40117c
cmp edx, 0x9c43
jne case.0x401091.1104
call fcn.004018f0
pop ecx
ret
push 0
push 0
push 0x1009
push dword [0x408370]
call dword [sym.imp.USER32.dll_SendMessageA]
call fcn.00401f80
pop ecx
ret

Function at 0x4013d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
push ebx
push esi
push edi
push 0x30
lea eax, [esp + 0x2c]
push 0
push eax
call sub.MSVCR120.dll_memset
mov edi, dword [ebp + 8]
add esp, 0xc
push 0x44c
push edi
call dword [sym.imp.USER32.dll_LoadMenuA]
push 0x64
push edi
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push 0
mov esi, eax
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x2c], 0x30
mov dword [esp + 0x30], 3
mov dword [esp + 0x34], 0x401220
mov dword [esp + 0x4c], 6
mov dword [esp + 0x54], str.NTIVE
mov dword [esp + 0x44], esi
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0
push edi
push 0
push 0
push 0x1f4
push 0x320
push 0x80000000
push 0x80000000
push 0xcf0000
push str.Ntive
push str.NTIVE
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
push dword [ebp + 0x14]
mov dword [0x408388], eax
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x408388]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ebx, dword [sym.imp.USER32.dll_GetMessageA]
lea eax, [esp + 0xc]
push 0
push 0
push 0
push eax
call ebx
test eax, eax
je 0x4014df
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
nop
lea eax, [esp + 0xc]
push eax
call esi
lea eax, [esp + 0xc]
push eax
call edi
push 0
push 0
push 0
lea eax, [esp + 0x18]
push eax
call ebx
test eax, eax
jne 0x4014c0
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x402310
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
push edi
push 0
push dword [0x408380]
push 0x3ec
push ecx
push 0
push 0
push 0
push 0
push 0x50000045
push 0
push str.SysListView32
push 0x200
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
push 0x31
push 0
push 0x1036
push edi
call esi
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 7
push eax
push 0
push 0x101b
push edi
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0x406560
mov dword [ebp - 0x24], 0x32
call esi
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x20], 0x406564
push eax
push 1
push 0x101b
push edi
mov dword [ebp - 0x24], 0x32
call esi
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x20], str.HWND
push eax
push 2
push 0x101b
push edi
mov dword [ebp - 0x24], 0x50
call esi
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x20], str.ClassName
push eax
push 3
push 0x101b
push edi
mov dword [ebp - 0x24], 0x96
call esi
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x20], str.Title
push eax
push 4
push 0x101b
push edi
mov dword [ebp - 0x24], 0xc8
call esi
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x20], str.Visible
push eax
push 5
push 0x101b
push edi
mov dword [ebp - 0x24], 0x3c
call esi
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x20], str.WndProc
push eax
push 6
push 0x101b
push edi
mov dword [ebp - 0x24], 0x64
call esi
mov dword [ebp - 0x20], str.OrgWndProc
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x24], 0x64
push eax
push 7
push 0x101b
push edi
call esi
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x20], str.UserData
push eax
push 8
push 0x101b
push edi
mov dword [ebp - 0x24], 0x64
call esi
push edi
push 0x4026f0
mov dword [0x40837c], edi
mov dword [0x4083a0], 0
mov dword [0x4083a4], 1
call dword [sym.imp.USER32.dll_EnumWindows]
push dword [0x4083a0]
mov dword [0x4083a4], 0
push str.EnumWindows_End._i_WndSort:_d_n
call dword [sym.imp.MSVCR120.dll_printf]
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4029e0
Capabilities:
Enumerate gui resources

Disassembly:
push dword [0x40837c]
mov dword [0x4083a0], 0
push 0x4026f0
mov dword [0x4083a4], 1
call dword [sym.imp.USER32.dll_EnumWindows]
push dword [0x4083a0]
mov dword [0x4083a4], 0
push str.EnumWindows_End._i_WndSort:_d_n
call dword [sym.imp.MSVCR120.dll_printf]
add esp, 8
xor eax, eax
ret
Function at 0x4036d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x10]
push edi
mov edi, dword [0x40838c]
push 3
push 0xffffffffffffffff
push 0x100c
push edi
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x38], 0xa
mov dword [ebp - 0x3c], eax
call ebx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40376f
push esi
lea ecx, [ebp - 0x50]
push ecx
push eax
push 0x102d
push edi
call ebx
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.MSVCR120.dll_atol]
mov esi, eax
add esp, 4
test esi, esi
je 0x40376e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, eax
je 0x40376e
push esi
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x40376e
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
push dword [ebp - 0x14]
push 0x1008
push edi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00404ae7
mov esp, ebp
pop ebp
ret
Function at 0x403780
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x14]
mov esi, ecx
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
push dword [0x408380]
push 0
push esi
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0x50000045
push 0
push str.SysListView32
push 0x200
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0xffffffffffffffeb
push esi
mov edi, eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
push eax
push 0xffffffffffffffeb
push edi
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x31
push 0
push 0x1036
push edi
call esi
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 7
push eax
push 0
push 0x101b
push edi
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x34], str.Type
mov dword [ebp - 0x38], 0x6e
call esi
lea eax, [ebp - 0x40]
mov dword [ebp - 0x34], str.Handle
push eax
push 1
push 0x101b
push edi
mov dword [ebp - 0x38], 0x50
call esi
lea eax, [ebp - 0x40]
mov dword [ebp - 0x34], str.Name
push eax
push 2
push 0x101b
push edi
mov dword [ebp - 0x38], 0x190
call esi
lea eax, [ebp - 0x40]
mov dword [ebp - 0x34], str.Access
push eax
push 3
push 0x101b
push edi
mov dword [ebp - 0x38], 0x50
call esi
lea eax, [ebp - 0x40]
mov dword [ebp - 0x34], str.Flags
push eax
push 4
push 0x101b
push edi
mov dword [ebp - 0x38], 0x78
call esi
lea eax, [ebp - 0x40]
mov dword [ebp - 0x34], str.Object
push eax
mov dword [ebp - 0x38], 0x50
push 5
push 0x101b
push edi
call esi
lea eax, [ebp - 0x40]
mov dword [ebp - 0x34], str.CreateTime
push eax
push 6
push 0x101b
push edi
mov dword [ebp - 0x38], 0x64
call esi
push 0
push 0
push edi
push 0x404740
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00404ae7
mov esp, ebp
pop ebp
ret
Function at 0x403ce0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
push edi
push 0
push dword [0x408380]
push 0x3eb
push ecx
push 0
push 0
push 0
push 0
push 0x50000045
push 0
push str.SysListView32
push 0x200
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
push 0x31
push 0
push 0x1036
push edi
call esi
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 7
push eax
push 0
push 0x101b
push edi
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0x406560
mov dword [ebp - 0x24], 0x32
call esi
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x20], str.Type
push eax
push 1
push 0x101b
push edi
mov dword [ebp - 0x24], 0x6e
call esi
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x20], str.Handle
push eax
push 2
push 0x101b
push edi
mov dword [ebp - 0x24], 0x50
call esi
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x20], str.Name
push eax
push 3
push 0x101b
push edi
mov dword [ebp - 0x24], 0x190
call esi
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x20], str.Access
push eax
push 4
push 0x101b
push edi
mov dword [ebp - 0x24], 0x50
call esi
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x20], str.Flags
push eax
push 5
push 0x101b
push edi
mov dword [ebp - 0x24], 0x78
call esi
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x20], str.Object
push eax
push 6
push 0x101b
push edi
mov dword [ebp - 0x24], 0x50
call esi
mov dword [ebp - 0x20], str.CreateTime
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x24], 0x64
push eax
push 7
push 0x101b
push edi
call esi
push 0
push 0
push edi
push 0x404780
push 0
push 0
mov dword [0x408378], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x404160
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [0x4083e0], 0
push ebx
mov ebx, ecx
push esi
mov dword [ebp - 0x14], ebx
jne 0x4042af
lea eax, [ebp - 4]
mov dword [0x4083e0], 1
push eax
push 0
push 0
push 3
push 0
mov dword [ebp - 4], 0
call dword [0x4083c4]
cmp eax, 0xc0000004
jne 0x4042af
mov esi, dword [ebp - 4]
push edi
push esi
call dword [sym.imp.MSVCR120.dll_malloc]
add esp, 4
mov edi, eax
mov dword [ebp - 0x10], edi
push 0
push esi
push edi
push 3
push 0
call dword [0x4083c4]
test eax, eax
jne 0x404299
lea ebx, [edi + 4]
mov dword [ebp - 8], eax
cmp dword [edi], eax
jbe 0x404299
mov dword [ebp - 0xc], eax
lea edi, [eax + 1]
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0xff
cmp eax, 5
jbe 0x4041f6
inc edi
push dword [ebx + 4]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetVersion]
push eax
push str._08XObjectName__d_:_ws_n
call dword [sym.imp.MSVCR120.dll_printf]
mov esi, dword [0x4107f0]
add esp, 0x10
cmp esi, 0x100
jae 0x404250
imul eax, esi, 0x84
mov dword [eax + 0x4083f0], edi
lea eax, [eax + 0x4083f4]
push dword [ebx + 4]
push 0x4066b4
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov esi, dword [0x4107f0]
add esp, 0xc
inc esi
mov dword [0x4107f0], esi
mov ax, word [ebx + 2]
shr ax, 1
movzx eax, ax
mov ecx, eax
and ecx, 0x80000001
jns 0x404269
dec ecx
or ecx, 0xfffffffe
inc ecx
mov edi, dword [ebp - 0x10]
add ecx, eax
mov eax, dword [ebx + 4]
lea ebx, [eax + ecx*2]
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
movzx eax, ax
mov dword [ebp - 0xc], eax
cmp eax, dword [edi]
jb 0x4041e2
push edi
call dword [sym.imp.MSVCR120.dll_free]
mov ebx, dword [ebp - 0x14]
add esp, 4
pop edi
jmp 0x4042b5
mov esi, dword [0x4107f0]
push edi
call dword [sym.imp.MSVCR120.dll_free]
mov ebx, dword [ebp - 0x14]
add esp, 4
pop edi
jmp 0x4042b5
mov esi, dword [0x4107f0]
xor eax, eax
test esi, esi
je 0x4042cf
mov ecx, 0x4083f0
cmp dword [ecx], ebx
je 0x4042d7
inc eax
add ecx, 0x84
cmp eax, esi
jb 0x4042c0
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
imul eax, eax, 0x84
pop esi
pop ebx
add eax, 0x4083f4
mov esp, ebp
pop ebp
ret
Function at 0x4047a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
push 0
push dword [0x408378]
push 0x404780
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4048a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0
push 0
push 0x130b
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 8]
mov edi, eax
cmp ecx, 0xfffffdd8
je 0x404923
cmp ecx, 0xfffffdd9
jne 0x404934
mov eax, dword [edi*4 + 0x406290]
push 1
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
lea edx, [ebp - 0x14]
call fcn.004049d0
mov eax, dword [edi*4 + 0x406290]
push 1
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [eax]
call dword [sym.imp.USER32.dll_MoveWindow]
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404ae7
mov esp, ebp
pop ebp
ret
mov eax, dword [edi*4 + 0x406290]
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.00404ae7
mov esp, ebp
pop ebp
ret