joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428a40
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
push esi
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, ebx
mov esi, eax
call fcn.0046ab0d
test eax, eax
je 0x428b9d
and esi, 0x800
cmp esi, 0x800
je 0x428b9d
mov ecx, dword [ebx + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x428b9d
mov edx, dword [0x4dd198]
push edi
mov edi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
and edx, 0xffff
push edx
call edi
test eax, eax
je 0x428abd
mov eax, dword [0x4dd198]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
mov dword [ebp - 8], esi
jmp 0x428ad6
push 1
call edi
test eax, eax
je 0x428b96
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 8], eax
mov esi, eax
test esi, esi
je 0x428b96
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [ebx + 0x50]
push 1
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
call edi
test eax, eax
je 0x428b02
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov edi, eax
dec edi
jmp 0x428b05
mov edi, dword [ebp - 0x10]
mov ecx, ebx
call fcn.00428be0
mov eax, dword [ebx + 0x58]
cmp eax, 0xffffffff
jne 0x428b25
mov esi, dword [ebx + 0x50]
push edi
push esi
mov ecx, ebx
mov dword [ebp - 4], esi
call fcn.00428c80
jmp 0x428b4a
mov edx, dword [ebx + 0x5c]
mov esi, eax
push edx
push eax
mov ecx, ebx
mov dword [ebp - 4], esi
call fcn.00428c10
push edi
push esi
mov ecx, ebx
call fcn.00428c80
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, ebx
call fcn.00428450
mov eax, dword [ebx + 0x44]
lea ecx, [esi + edi]
cmp ecx, eax
jbe 0x428b58
sub eax, esi
mov edi, eax
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov ecx, edi
mov edi, dword [ebx + 0x3c]
add edi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x10]
mov ecx, edx
and ecx, 3
push 0x105
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x1c]
push 0
push 0
push ecx
mov dword [ebx + 0x50], eax
call dword [sym.imp.USER32.dll_RedrawWindow]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42af70
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x4ed1a0]
push ebx
xor ebx, ebx
push esi
push edi
cmp eax, ebx
mov dword [ebp - 0x10], ecx
mov edi, 1
je 0x42b0e4
push eax
call dword [sym.imp.ole32.dll_OleIsCurrentClipboard]
test eax, eax
jne 0x42b0e4
mov ax, word [0x4edd4c]
lea edx, [ebp - 0x24]
mov word [ebp - 0x24], ax
mov eax, dword [0x4ed1a0]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x14]
test eax, eax
jne 0x42b003
mov eax, dword [0x4ed1a0]
lea edx, [ebp - 0xc]
push edx
lea edx, [ebp - 0x24]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [ebp - 8]
mov esi, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x42b006
mov esi, dword [ebp - 0x10]
cmp esi, 0xffff
jbe 0x42b03f
shr esi, 0xa
push esi
lea edx, [ebp - 0x124]
push str.There_is__u_Kb_of_data_currently_in_the_Clipboard._nWould_you_like_to_leave_this_data_for_other_applications_
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x124]
push ebx
push 0x24
push eax
call fcn.0047712c
cmp eax, 6
jne 0x42b0d8
mov eax, dword [0x4ed1a0]
lea edx, [ebp - 0xc]
push edx
lea edx, [ebp - 0x24]
mov word [ebp - 0x24], di
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
push ebx
call dword [sym.imp.ole32.dll_OleSetClipboard]
cmp dword [ebp - 8], ebx
jne 0x42b0a8
lea eax, [ebp - 0x124]
push str.Failed_to_allocate_sufficient_memory_to_complete_this_operation._nClipboard_contents_has_been_cleared.
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
lea ecx, [ebp - 0x124]
push ebx
push 0x30
push ecx
call fcn.0047712c
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
mov ecx, dword [ebp - 8]
push ecx
push edi
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 0x10]
push ebx
call fcn.0042b890
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 7
jne 0x42b0e4
push ebx
call dword [sym.imp.ole32.dll_OleSetClipboard]
mov ecx, dword [ebp - 0x10]
push ebx
call fcn.0042b890
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4318a0
Capabilities:
Get file attributes
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp byte [esi], 0x2a
je 0x4318d9
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4318d4
mov dword [edi + 0x104], 2
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp byte [esi], 0x2a
jne 0x4318de
mov dword [ebp + 8], edi
mov esi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x4318fb
mov byte [ebp + 0x10], 1
mov eax, OleUIInsertObjectA
mov dword [ebp - 4], 2
jmp 0x43191c
mov al, byte [ebp + 0x10]
test al, al
je 0x431910
mov eax, OleUIInsertObjectA
mov dword [ebp - 4], 2
jmp 0x43191c
mov eax, 0xc0000000
mov dword [ebp - 4], 4
push 0
push 0x80
push 3
push 0
push 1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x43195d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp ax, 0x20
jne 0x4319e7
mov dword [edi + 0x104], 3
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x43198d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x104], 6
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov al, byte [ebp + 0xc]
test al, al
je 0x431a23
test ebx, ebx
jne 0x4319c6
mov ecx, dword [ebp + 8]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp + 0x10]
push 1
and edx, 0xff
mov ecx, edi
push edx
push ebx
push ebx
push esi
call fcn.004314a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 4]
push 0
push 0
push 0
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
mov dword [ebp + 0xc], eax
jne 0x4319fc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x104], 0x17
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 8]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push edx
push ebx
push 0
push eax
push esi
mov ecx, edi
call fcn.004314a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push ebx
call fcn.0042edf0
add esp, 4
test eax, eax
jne 0x431a4c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x104], 1
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push ebx
push 0
push eax
call fcn.0042ee10
add esp, 0xc
mov dword [ebp + 0xc], eax
test eax, eax
je 0x431a30
lea ecx, [ebp - 4]
push 0
push ecx
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 8]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push eax
push ebx
push ecx
push 0
push 0
mov ecx, edi
call fcn.004314a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4395c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x496c18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov edx, dword [ebp + 0xc]
mov eax, dword [ecx]
push ebx
push esi
push edi
push edx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
push edx
call dword [eax + 0x10c]
mov ebx, eax
lea ecx, [ebp - 0x4c]
push ebx
call fcn.0046b16f
mov al, byte [ebx + 4]
lea esi, [ebx + 0x10]
mov byte [ebp - 0x48], al
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebx + 0xc]
mov ecx, 8
lea edi, [ebp - 0x3c]
mov dword [ebp - 0x40], edx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebx + 0x34]
mov dword [ebp - 0x18], ecx
mov dl, byte [ebx + 0x38]
mov byte [ebp - 0x14], dl
mov al, byte [ebx + 0x39]
mov byte [ebp - 0x13], al
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 0x4c]
push ecx
mov ecx, dword [ebp - 0x10]
push edx
mov dword [ebp - 4], 0
call fcn.00439670
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0xffffffff
call fcn.0046b3fa
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x462b10
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.00443000
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x462bdb
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 0x462bdb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x462b8e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x462b99
or bh, 8
and edi, 0x8000000
je 0x462bb4
mov eax, dword [0x8f23dc]
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 0x462bdb
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 0x462fb0
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 0x462fdb
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 0x462fff
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 0x46301a
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 0x466dea
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x466e0c
cmp dword [edi + 0x3c], 0
jne 0x466e0c
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.004835d5
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.00466e39
pop edi
pop esi
pop ebx
ret 8

Function at 0x466e87
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.004835d5
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x466eb8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.00466ecb
pop edi
pop esi
pop ebx
ret 8

Function at 0x46849f
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4684d7
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.0046b8a1
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046b879
jmp 0x4684e3
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x469f6d
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 0x469faf
call fcn.004835d5
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 0x469faf
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x469fa6
xor eax, eax
jmp 0x469fb7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00469fbd
pop edi
pop esi
pop ebx
ret 4

Function at 0x4723e3
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x4988c0
call fcn.00445628
push ecx
push ecx
push esi
push 0x10
call fcn.0046b9a1
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
and dword [ebp - 4], 0
test esi, esi
je 0x472430
mov ecx, esi
call fcn.0046c5e2
mov eax, dword [0x4bf204]
lea ecx, [esi + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
mov byte [ebp - 4], 2
mov dword [esi], vtable.CArchiveException.0
mov dword [esi + 8], eax
call fcn.0046b583
jmp 0x472432
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
push 0x4b51d8
push eax
mov dword [ebp - 0x10], esi
call fcn.00443a2b
pop esi
Function at 0x4844db
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 8], ecx
call fcn.004835d5
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x484518
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x484518
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x48451c
xor eax, eax
jmp 0x48459a
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.0046b9a1
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x484554
mov ecx, ebx
lea eax, [esi + 8]
movzx edx, word [eax]
inc dword [ebp - 4]
mov dword [ecx], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 4
inc eax
cmp dword [ebp - 4], edx
jl 0x48453e
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.0048468b
push ebx
mov edi, eax
call fcn.0046b9ca
test edi, edi
pop ecx
je 0x484596
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
lea esi, [ecx + 7]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [eax + 7]
push eax
push esi
push edx
call fcn.00484454
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.0048459f
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x432000
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
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x432072
nop
mov ebx, 0x40c7d0
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x3c344a6d
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x432060
mov eax, section..rdata
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4320d2
nop
nop
nop
mov ebx, 0x42f314
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x1c791efd
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x40ce40
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
push ebp
push esi
push edi
mov ecx, dword [0x45569c]
mov esi, dword [0x4556a8]
mov eax, 0x73b2d479
imul esi, esi, 0x212c
imul ecx
mov ecx, dword [0x455690]
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x27e98ca1
imul ecx
sar edx, 0xa
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub esi, ecx
mov ecx, dword [0x455694]
mov eax, 0x5d0a95d5
imul ecx
mov ecx, dword [0x45568c]
imul ecx, ecx, 0x11be
sar edx, 0xb
mov eax, edx
mov edi, dword [esp + 0x1c]
shr eax, 0x1f
add esi, edx
lea edx, [esp + 0x10]
add eax, esi
push edx
add eax, ecx
xor ebp, ebp
push edi
mov dword [esp + 0x18], ebp
mov dword [0x455684], eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebp
je 0x40d08e
mov ecx, dword [0x455690]
mov eax, 0x5d0a95d5
imul ecx
mov ecx, dword [0x4556a0]
push ebx
imul ecx, ecx, 0x11be
mov ebx, dword [0x4556a8]
imul ebx, ebx, 0x212c
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, ebx
add eax, ecx
mov ecx, dword [0x45568c]
mov ebx, eax
mov eax, 0x4b438bdf
imul ecx
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add ebx, edx
mov edx, dword [0x455694]
add eax, ebx
sub eax, edx
add eax, 0x1e03
push esi
mov dword [0x45568c], eax
call fcn.0043b0e2
add esp, 4
mov ebx, eax
push ebx
push esi
push ebp
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x40d084
mov esi, dword [0x455684]
mov ecx, dword [0x45568c]
imul esi, esi, 0x1603
mov edx, dword [0x455698]
imul ecx, ecx, 0x11be
imul edx, edx, 0xe0e
add esi, ecx
mov ecx, dword [0x45569c]
add esi, edx
mov eax, 0x4b438bdf
imul ecx
mov ecx, dword [0x4556a4]
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
lea edx, [esi + ecx - 0x544]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x4461b8
push ebx
mov dword [0x455694], edx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], ebp
call sub.VERSION.dll_VerQueryValueA
test eax, eax
mov esi, dword [0x45568c]
je 0x40d032
mov ecx, dword [0x45569c]
mov eax, 0x73b2d479
imul ecx
imul ecx, ecx, 0x1603
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4556a4]
mov edi, eax
mov eax, 0xd816735f
imul edx
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebp, eax
mov eax, 0x5d0a95d5
imul esi
mov eax, dword [esp + 0x10]
sub ebp, edi
add ebp, ecx
sar edx, 0xb
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x455688]
imul edx, edx, 0xd9b
sub ebp, ecx
add ebp, edx
mov dword [0x4556a4], ebp
mov bp, word [eax + 0x14]
mov ecx, dword [0x455694]
mov edi, dword [0x455690]
mov eax, 0x27e98ca1
imul edi, edi, 0x2367
imul ecx
imul ecx, ecx, 0x544
sar edx, 0xa
add edi, edx
mov eax, edx
mov edx, esi
imul edx, edx, 0x15e3
shr eax, 0x1f
add eax, edi
add eax, edx
mov edi, eax
mov eax, 0x48dbb693
imul esi
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
add edi, ecx
mov dword [0x45569c], edi
push ebx
call fcn.0043b0e7
add esp, 4
pop ebx
pop edi
pop esi
mov ax, bp
pop ebp
add esp, 0xc
ret
Function at 0x42a852
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x449650
call fcn.0042ba98
mov edi, 0x94
mov eax, edi
call fcn.00429c90
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [0x445308]
mov ecx, dword [esi + 0x10]
mov dword [0x56b7ac], ecx
mov eax, dword [esi + 4]
mov dword [0x56b7b8], eax
mov edx, dword [esi + 8]
mov dword [0x56b7bc], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x56b7b0], esi
cmp ecx, 2
je 0x42a8b2
or esi, 0x8000
mov dword [0x56b7b0], esi
shl eax, 8
add eax, edx
mov dword [0x56b7b4], eax
xor esi, esi
push esi
mov edi, dword [0x445228]
call edi
cmp word [eax], 0x5a4d
jne 0x42a8ed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42a8ed
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x42a905
cmp eax, 0x20b
je 0x42a8f2
mov dword [ebp - 0x1c], esi
jmp 0x42a919
cmp dword [ecx + 0x84], 0xe
jbe 0x42a8ed
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x42a913
cmp dword [ecx + 0x74], 0xe
jbe 0x42a8ed
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.0042de12
pop ecx
test eax, eax
jne 0x42a92d
push 0x1c
call fcn.0042a82e
pop ecx
call fcn.0042cc4d
test eax, eax
jne 0x42a93e
push 0x10
call fcn.0042a82e
pop ecx
call fcn.0042d361
mov dword [ebp - 4], esi
call fcn.004309df
test eax, eax
jge 0x42a957
push 0x1b
call fcn.0042a809
pop ecx
call dword [0x445114]
mov dword [0x56d0c0], eax
call fcn.004308bd
mov dword [0x56b7f8], eax
call fcn.0043081b
test eax, eax
jge 0x42a97d
push 8
call fcn.0042a809
pop ecx
call fcn.004305e8
test eax, eax
jge 0x42a98e
push 9
call fcn.0042a809
pop ecx
push 1
call fcn.004299fd
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x42a9a4
push eax
call fcn.0042a809
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [0x445110]
call fcn.0043058b
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x42a9c5
movzx eax, word [ebp - 0x40]
jmp 0x42a9c8
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.004361ae
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x42a9e6
push edi
call fcn.00429b2a
call fcn.00429b4c
jmp 0x42aa18
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.0042bad3
ret