joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d960
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
sub esp, 0x20
push ebx
push 0xf003f
push 0
push 0
mov byte [esp + 0x13], 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebx, eax
test ebx, ebx
je 0x42da21
mov eax, dword [esp + 0x28]
push esi
push 0xf01ff
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
je 0x42da14
lea ecx, [esp + 0xc]
push ecx
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x42d9ec
push ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3e8
call edi
mov ebp, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
lea edx, [esp + 0x14]
push edx
push esi
call ebp
test eax, eax
je 0x42d9ea
lea ecx, [ecx]
cmp dword [esp + 0x18], 3
jne 0x42d9ea
push 0x3e8
call edi
lea eax, [esp + 0x14]
push eax
push esi
call ebp
test eax, eax
jne 0x42d9d0
pop edi
pop ebp
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x42d9fc
mov byte [esp + 0xb], 1
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, byte [esp + 0xb]
pop esi
pop ebx
add esp, 0x20
ret
push ebx
mov byte [esp + 0xf], 1
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
mov al, byte [esp + 7]
pop ebx
add esp, 0x20
ret

Function at 0x42da80
Capabilities:
Query service status

Disassembly:
sub esp, 0x1c
push ebx
push esi
push 0xf003f
push 0
push 0
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
test esi, esi
je 0x42dadc
mov eax, dword [esp + 0x28]
push ebp
push edi
push 0xf01ff
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebp, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
test edi, edi
je 0x42dad7
lea ecx, [esp + 0x10]
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x42dad4
cmp dword [esp + 0x14], 4
jne 0x42dad4
mov bl, 1
push edi
call ebp
push esi
call ebp
pop edi
pop ebp
pop esi
mov al, bl
pop ebx
add esp, 0x1c
ret
Function at 0x42daf0
Capabilities:
Modify service
Query service configuration

Disassembly:
sub esp, 8
push ebx
push 0xf003f
push 0
push 0
mov byte [esp + 0x13], 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebx, eax
test ebx, ebx
je 0x42dbc0
mov eax, dword [esp + 0x10]
push esi
push 0xf01ff
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
je 0x42dbb8
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push esi
mov dword [esp + 0x20], 0
call ebp
test eax, eax
jne 0x42dbb0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x42dbb0
mov edx, dword [esp + 0x10]
push edi
push edx
call fcn.0042f832
mov ecx, dword [esp + 0x18]
add esp, 4
mov edi, eax
lea eax, [esp + 0x14]
push eax
push ecx
push edi
push esi
call ebp
test eax, eax
je 0x42dba6
mov eax, dword [esp + 0x20]
cmp dword [edi + 4], eax
je 0x42dba1
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigA]
test eax, eax
je 0x42dba6
mov byte [esp + 0x13], 1
push edi
call fcn.0042f837
add esp, 4
pop edi
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop ebp
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
mov al, byte [esp + 7]
pop ebx
add esp, 8
ret

Function at 0x42de40
Capabilities:
Create directory

Disassembly:
sub esp, 0x108
mov eax, dword [0x4762c4]
xor eax, esp
mov dword [esp + 0x104], eax
push edi
mov edi, dword [esp + 0x110]
push 0x104
lea eax, [esp + 8]
push 0
push eax
call fcn.00440b30
push edi
call fcn.0042d630
add esp, 0x10
test al, al
je 0x42de92
mov al, 1
pop edi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00440494
add esp, 0x108
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x42de7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
jne 0x42df29
push ebx
push ebp
push esi
push edi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
test eax, eax
jle 0x42df0a
lea ebp, [esp + 0x10]
mov esi, edi
sub ebp, edi
mov al, byte [esi]
cmp al, 0x5c
je 0x42decf
test al, al
jne 0x42def1
lea ecx, [esp + 0x10]
push ecx
call fcn.0042d630
add esp, 4
test al, al
jne 0x42def1
push 0
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x42df25
mov al, byte [esi]
mov byte [esi + ebp], al
push edi
add ebx, 1
add esi, 1
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
cmp ebx, eax
jl 0x42dec5
mov al, 1
pop esi
pop ebp
pop ebx
pop edi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00440494
add esp, 0x108
ret
xor al, al
jmp 0x42df0c
mov ecx, dword [esp + 0x108]
pop edi
xor ecx, esp
xor al, al
call fcn.00440494
add esp, 0x108
ret
Function at 0x42e5b0
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x42e60c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x42e60c
cmp eax, 5
jne 0x42e60c
call fcn.0042dbd0
test al, al
je 0x42e5f3
push 5
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
je 0x42e60c
mov eax, dword [esp + 0xc]
mov byte [eax], 1
mov al, 1
pop esi
ret
push esi
push 0x464a84
call fcn.0042e2b0
add esp, 8
test al, al
je 0x42e60c
mov ecx, dword [esp + 0xc]
mov byte [ecx], 1
mov al, 1
pop esi
ret

Function at 0x42e610
Capabilities:
Check if file exists
Delete directory
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
sub esp, 0x34c
mov eax, dword [0x4762c4]
xor eax, esp
mov dword [esp + 0x348], eax
push esi
mov esi, dword [esp + 0x354]
test esi, esi
push edi
mov edi, dword [esp + 0x35c]
je 0x42e776
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x42e776
push ebx
push esi
push str._s.
lea eax, [esp + 0x258]
push 0x104
push eax
call fcn.00408310
add esp, 0x10
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x254]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42e712
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcmpA]
lea esp, [esp]
push 0x462c70
lea eax, [esp + 0x40]
push eax
call ebp
test eax, eax
je 0x42e6fa
push 0x462c6c
lea ecx, [esp + 0x40]
push ecx
call ebp
test eax, eax
je 0x42e6fa
test byte [esp + 0x10], 0x10
lea edx, [esp + 0x3c]
push edx
push esi
push str._s_s
lea eax, [esp + 0x15c]
push 0x104
push eax
je 0x42e6e4
call fcn.00408310
lea ecx, [esp + 0x164]
push edi
push ecx
call fcn.0042e610
jmp 0x42e6f7
call fcn.00408310
lea ecx, [esp + 0x164]
push edi
push ecx
call fcn.0042e5b0
add esp, 0x1c
lea edx, [esp + 0x10]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x42e690
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebp
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
pop ebx
jne 0x42e75d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x42e75d
cmp eax, 0x91
jne 0x42e75d
call fcn.0042dbd0
test al, al
je 0x42e748
push 5
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jmp 0x42e758
push esi
push str.DIRNUL
call fcn.0042e2b0
add esp, 8
test al, al
je 0x42e75d
mov byte [edi], 1
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x348]
xor ecx, esp
call fcn.00440494
add esp, 0x34c
ret
mov ecx, dword [esp + 0x350]
pop edi
pop esi
xor ecx, esp
xor al, al
call fcn.00440494
add esp, 0x34c
ret
Function at 0x42f680
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x4602e2
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x4762c4]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4762c4]
xor eax, esp
push eax
lea eax, [esp + 0x234]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x244]
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [ebp + 0x18], 0xf
mov dword [ebp + 0x14], ebx
mov dword [esp + 0x24], ebp
mov byte [ebp + 4], bl
push 0x104
lea eax, [esp + 0x2c]
push eax
push ebx
mov dword [esp + 0x248], ebx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x42f7b3
push ebx
lea ecx, [esp + 0x2c]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
cmp edi, ebx
jbe 0x42f7b3
push edi
call fcn.00442924
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x42f7b3
push esi
push edi
push ebx
lea edx, [esp + 0x34]
push edx
call sub.VERSION.dll_GetFileVersionInfoA
cmp eax, ebx
je 0x42f7aa
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
push str.VarFileInfoTranslation
push esi
mov dword [esp + 0x24], ebx
call sub.VERSION.dll_VerQueryValueA
cmp eax, ebx
je 0x42f7aa
mov eax, dword [esp + 0x14]
movzx edx, word [eax + 2]
movzx eax, word [eax]
push edx
push eax
push str.StringFileInfo_04x_04xCompanyName
lea ecx, [esp + 0x138]
push 0x104
push ecx
call fcn.00408310
add esp, 0x14
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x134]
push ecx
push esi
call sub.VERSION.dll_VerQueryValueA
cmp eax, ebx
je 0x42f7aa
mov edx, dword [esp + 0x18]
push edx
mov ecx, ebp
call fcn.00403240
push esi
call fcn.00440d43
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.00440494
add esp, 0x22c
ret
Function at 0x430512
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0xe0]
sub esp, 0x160
mov eax, dword [0x4762c4]
xor eax, ebp
mov dword [ebp + 0xdc], eax
cmp dword [ebp + 0xec], 0x800
mov eax, dword [ebp + 0xe8]
push esi
mov dword [ebp - 0x3c], eax
mov esi, ecx
lea eax, [ebp - 0x40]
jne 0x4305aa
push 0x464f04
push 4
push eax
call fcn.0044415c
push eax
call fcn.00424b30
add esp, 0x10
push ebx
push edi
call fcn.00443cc2
mov edi, dword [eax]
call fcn.00443cc2
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.00443172
add esp, 0x18
mov dword [ebp - 0x3c], eax
call fcn.00443cc2
cmp dword [eax], ebx
je 0x4305c1
call fcn.00443cc2
push dword [eax]
call fcn.0042f933
pop ecx
jmp 0x4305c8
push 4
push eax
push 3
push dword [ebp + 0xec]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x43055e
jmp 0x43063a
call fcn.00443cc2
mov dword [eax], edi
cmp dword [ebp - 0x3c], 0xffffffff
je 0x430636
cmp dword [ebp - 0x3c], esi
jae 0x430636
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x7c]
push ebx
push eax
mov dword [ebp - 0x80], 0x40
call fcn.00440b30
add esp, 0xc
push str.KERNEL32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
je 0x430628
push str.FindActCtxSectionStringA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x430628
lea ecx, [ebp - 0x80]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x430628
push ebx
push ebx
push esi
jmp 0x43062e
push ebx
push ebx
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x430638
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp + 0xdc]
xor ecx, ebp
pop esi
call fcn.00440494
add ebp, 0xe0
leave
ret
Function at 0x433173
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x460613
call fcn.00443b9e
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.00433e96
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x4331be
call fcn.00433e96
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x4331cf
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x4331dc
or eax, 0xffffffff
jmp 0x433338
mov ecx, esi
call fcn.00432c98
mov dword [ebp - 0x14], eax
call fcn.0043652f
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x43325a
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x43325a
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x43325a
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.004304dd
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x43325a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x43325a
mov ecx, ebx
call fcn.004391fb
test eax, eax
je 0x43325a
push 0
mov ecx, ebx
call fcn.00439216
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.00437ea9
push dword [ebp - 0x14]
call fcn.00436487
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.00432f7b
xor edi, edi
cmp eax, edi
je 0x4332b7
test byte [esi + 0x3c], 0x10
je 0x4332a1
push 4
pop edi
mov ecx, esi
call fcn.004390e2
test ax, 0x100
je 0x433297
push 5
pop edi
push edi
mov ecx, esi
call fcn.0043601d
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x4332b7
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0043927d
or dword [ebp - 4], 0xffffffff
jmp 0x4332e2
cmp dword [ebp - 0x28], edi
je 0x4332f0
push 1
mov ecx, ebx
call fcn.00439216
cmp dword [ebp - 0x2c], edi
je 0x433300
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x433319
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x433319
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.00432cd2
cmp dword [esi + 0x58], edi
je 0x433335
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.00443c0a
ret
Function at 0x438fc6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x439009
call fcn.00433e96
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x439009
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x439024
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00438b7d
test ebx, ebx
mov esi, eax
je 0x439022
test edi, edi
je 0x439022
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x43a194
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x4762c4]
xor eax, ebp
mov dword [ebp + 0x88], eax
push esi
push edi
mov edi, dword [ebp + 0x94]
mov esi, 0x105
push esi
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x43a1cf
xor eax, eax
jmp 0x43a215
lea eax, [ebp - 0x80]
push eax
call fcn.00443ae0
cmp byte [ebp + eax - 0x81], 0x5c
pop ecx
je 0x43a1f9
push 0x462a84
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.00444248
add esp, 0xc
test eax, eax
jne 0x43a1cb
push edi
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.00444248
add esp, 0xc
test eax, eax
jne 0x43a1cb
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [ebp + 0x88]
pop edi
xor ecx, ebp
pop esi
call fcn.00440494
add ebp, 0x8c
leave
ret

Function at 0x440494
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4762c4]
jne 0x44049e
repz ret
jmp fcn.0044732f
Function at 0x44dc45
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x476f20]
je 0x44dc60
inc edi
cmp edi, 0x17
jb 0x44dc51
cmp edi, 0x17
jae 0x44dde0
push ebp
push 3
call fcn.00454d58
cmp eax, 1
pop ecx
je 0x44ddac
push 3
call fcn.00454d58
test eax, eax
pop ecx
jne 0x44dc94
cmp dword [0x476340], 1
je 0x44ddac
cmp ebx, 0xfc
je 0x44dddf
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x479e70
push ebp
call fcn.0044415c
add esp, 0xc
test eax, eax
je 0x44dcca
push esi
push esi
push esi
push esi
push esi
call fcn.004408ef
add esp, 0x14
push 0x104
mov esi, 0x479e89
push esi
push 0
mov byte [0x479f8d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x44dd0e
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0044415c
add esp, 0xc
test eax, eax
je 0x44dd0e
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004408ef
add esp, 0x14
push esi
call fcn.00443ae0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x44dd53
push esi
call fcn.00443ae0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x47a184
push 0x46719c
sub ecx, eax
push ecx
push eax
call fcn.00445cbc
add esp, 0x14
test eax, eax
je 0x44dd53
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.004408ef
add esp, 0x14
jmp 0x44dd55
xor esi, esi
push 0x467198
push ebx
push ebp
call fcn.00444248
add esp, 0xc
test eax, eax
je 0x44dd75
push esi
push esi
push esi
push esi
push esi
call fcn.004408ef
add esp, 0x14
push dword [edi*8 + 0x476f24]
push ebx
push ebp
call fcn.00444248
add esp, 0xc
test eax, eax
je 0x44dd97
push esi
push esi
push esi
push esi
push esi
call fcn.004408ef
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00454b9b
add esp, 0xc
jmp 0x44dddf
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x44dddf
cmp ebp, 0xffffffff
je 0x44dddf
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x476f24]
push dword [esi]
call fcn.00443ae0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x454b9b
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0044851c
xor ebx, ebx
cmp dword [0x47a3cc], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x454c71
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x454d51
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x468b38
push edi
call esi
cmp eax, ebx
je 0x454d51
push eax
call fcn.004484ae
mov dword [esp], 0x468b28
push edi
mov dword [0x47a3cc], eax
call esi
push eax
call fcn.004484ae
mov dword [esp], 0x468b14
push edi
mov dword [0x47a3d0], eax
call esi
push eax
call fcn.004484ae
mov dword [0x47a3d4], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00443e7c
test eax, eax
pop ecx
pop ecx
je 0x454c3f
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004408ef
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x454c71
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004484ae
cmp eax, ebx
pop ecx
mov dword [0x47a3dc], eax
je 0x454c71
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004484ae
pop ecx
mov dword [0x47a3d8], eax
mov eax, dword [0x47a3d8]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x454cf6
cmp dword [0x47a3dc], ecx
je 0x454cf6
push eax
call fcn.00448525
push dword [0x47a3dc]
mov esi, eax
call fcn.00448525
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x454cf6
cmp edi, ebx
je 0x454cf6
call esi
cmp eax, ebx
je 0x454cc3
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x454cc3
test byte [ebp - 0x18], 1
jne 0x454cf6
lea eax, [ebp - 0x10]
push eax
call fcn.00443eb3
test eax, eax
pop ecx
je 0x454cde
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004408ef
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x454ced
or dword [ebp + 0x10], 0x200000
jmp 0x454d31
or dword [ebp + 0x10], 0x40000
jmp 0x454d31
mov eax, dword [0x47a3d0]
cmp eax, dword [ebp - 8]
je 0x454d31
push eax
call fcn.00448525
cmp eax, ebx
pop ecx
je 0x454d31
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x454d31
mov eax, dword [0x47a3d4]
cmp eax, dword [ebp - 8]
je 0x454d31
push eax
call fcn.00448525
cmp eax, ebx
pop ecx
je 0x454d31
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x47a3cc]
call fcn.00448525
cmp eax, ebx
pop ecx
je 0x454d51
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x454d53
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x45a022
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4762c4]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00459fb7
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00440b30
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x45a071
cmp dword [ebp - 0x1c], 5
jb 0x45a089
jmp 0x45a085
cmp dword [ebp - 0x10], 1
jne 0x45a089
cmp dword [ebp - 0x1c], 4
ja 0x45a085
jne 0x45a089
cmp dword [ebp - 0x18], 0
jbe 0x45a089
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x468ca8
call fcn.00459ea8
test eax, eax
jge 0x45a0aa
mov byte [0x477ae1], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00440494
add ebp, 0x78
leave
ret
Function at 0x402df0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
mov dword [esp + 0x10], eax
lea eax, [ebp - 8]
mov dword [esp + 8], eax
lea eax, [ebp - 0xc]
mov dword [esp + 4], eax
lea eax, [ebp - 0x10]
mov dword [esp], eax
mov dword [esp + 0xc], 0
call sub.msvcrt.dll___getmainargs
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.msvcrt.dll___set_app_type
mov eax, dword [ebp - 8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.00402eb0
mov dword [esp], eax
call sub.msvcrt.dll_exit
nop
nop
nop
nop
push ebp
mov ebp, esp
call sub.msvcrt.dll___iob_func
mov edx, dword [ebp + 8]
pop ebp
shl edx, 5
add eax, edx
ret
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x6d151935
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
mov ecx, 0x46445b5c
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219