joyce8/EMBER2024-capa huggingface dataset:
Function at 0x84a4b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x698015
lea edi, [esi - 0x297015]
push edi
or ebp, 0xffffffff
jmp 0x84a4d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x84a4d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x84a4c8
mov eax, 1
add ebx, ebx
jne 0x84a4eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x84a4fc
jne 0x84a51b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x84a51b
dec eax
add ebx, ebx
jne 0x84a508
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x84a4e0
add ebx, ebx
jne 0x84a517
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x84a56d
xor ecx, ecx
sub eax, 3
jb 0x84a533
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x84a5a2
sar eax, 1
mov ebp, eax
jmp 0x84a53e
add ebx, ebx
jne 0x84a53e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x84a50c
inc ecx
add ebx, ebx
jne 0x84a54c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x84a50c
add ebx, ebx
jne 0x84a559
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x84a54e
jne 0x84a56a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x84a54e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x84a58c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x84a57e
jmp 0x84a4ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x84a58c
add edi, ecx
jmp 0x84a4ce
pop esi
mov edi, esi
mov ecx, 0xb854
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x84a5aa
cmp byte [edi], 0x2e
jne 0x84a5aa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x84a5af
lea edi, [esi + 0x437000]
mov eax, dword [edi]
or eax, eax
je 0x84a61e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x44a000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x44a028]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x84a5dc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x44a030]
or eax, eax
je 0x84a618
mov dword [ebx], eax
add ebx, 4
jmp 0x84a5f9
call dword [esi + 0x44a02c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x84a64f
cmp al, 0xef
ja 0x84a642
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x84a624
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x84a631
mov ebp, dword [esi + 0x44a034]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x84a683
sub esp, 0xffffff80
jmp 0x45b740
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x430002
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
mov ecx, 0x360b5cb5
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..rsrc
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x3ec22896
nop
nop
nop
nop
nop
test eax, eax
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x864340
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1d4000]
push edi
or ebp, 0xffffffff
jmp 0x864362
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x864369
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x864358
mov eax, 1
add ebx, ebx
jne 0x86437b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x86438c
jne 0x8643ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8643ab
dec eax
add ebx, ebx
jne 0x864398
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x864370
add ebx, ebx
jne 0x8643a7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x8643fd
xor ecx, ecx
sub eax, 3
jb 0x8643c3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x864432
sar eax, 1
mov ebp, eax
jmp 0x8643ce
add ebx, ebx
jne 0x8643ce
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x86439c
inc ecx
add ebx, ebx
jne 0x8643dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x86439c
add ebx, ebx
jne 0x8643e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x8643de
jne 0x8643fa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x8643de
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x86441c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x86440e
jmp 0x86435e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x86441c
add edi, ecx
jmp 0x86435e
pop esi
mov edi, esi
mov ecx, 0x69da
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x86443a
cmp byte [edi], 0x13
jne 0x86443a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x86443f
lea edi, [esi + 0x45b000]
mov eax, dword [edi]
or eax, eax
je 0x8644b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x468b94]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x468cd4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x86446c
mov ecx, edi
jns 0x86449b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x468cd8]
or eax, eax
je 0x8644b1
mov dword [ebx], eax
add ebx, 4
jmp 0x864489
call dword [esi + 0x468ce8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x8644e8
cmp al, 0xef
ja 0x8644db
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x8644bd
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x8644ca
mov ebp, dword [esi + 0x468cdc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x86451c
sub esp, 0xffffff80
jmp 0x4af4c0
Function at 0x44aba0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword fs:[0x14]
mov edx, esp
sub esp, 0x24c
mov dword [esp], esp
mov dword [esp + 4], 0x24c
call dbg.runtime.memclrNoHeapPointers
lea ecx, [esp + 0x30]
mov dword fs:[0x14], ecx
mov ebx, esp
sub esp, 0xe4
mov dword [ecx], esp
mov dword [ebx], esp
mov dword [esp], esp
mov dword [esp + 4], 0xe4
call dbg.runtime.memclrNoHeapPointers
lea ebx, [esp + 0xe4]
mov dword [esp + 0x18], ebx
lea ecx, [esp - 0x8000]
mov dword [esp], ecx
add ecx, 0xb70
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 4], edx
push eax
push dword [ebp + 0x10]
call dword [ebp + 8]
pop ecx
pop eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov esp, dword [ecx + 4]
pop dword fs:[0x14]
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4010f0
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Get file size
Read file on windows

Disassembly:
mov eax, 0xeeeb4
call fcn.0043f9a0
mov eax, dword [0x46acb0]
xor eax, esp
mov dword [esp + 0xeeeb0], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventA]
push esi
push edi
push 0
push 0
push 0
push 0
mov esi, ecx
call ebx
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocStringLen
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
mov esi, eax
lea eax, [esp + 0x10]
push eax
push esi
lea ecx, [esp + 0x20]
push ecx
push edi
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor eax, eax
test esi, esi
jbe 0x40116f
xor byte [esp + eax + 0x14], 0x7b
inc eax
cmp eax, esi
jb 0x401165
push 0x40
push 0x3000
push 0xeeea8
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0xeeea8
lea edx, [esp + 0x18]
mov esi, eax
push edx
push esi
call fcn.0043ca60
add esp, 0xc
call dword [0x46ea14]
push 0
push 0
push 1
push 0
mov edi, eax
call ebx
push 0
push 0
push 0x64
push 0
push esi
mov ebx, eax
push edi
lea eax, [esp + 0x28]
push eax
call dword [0x46eb10]
test eax, eax
je 0x4011e6
push 0xffffffffffffffff
push ebx
call dword [0x46eb14]
test eax, eax
je 0x4011e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WaitForSingleObject_failed___d__n
call fcn.0043cdc5
add esp, 8
mov ecx, dword [esp + 0xeeebc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043c6f3
add esp, 0xeeeb4
ret

Function at 0x401600
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, word [esp + 4]
mov dword [esp + 4], edx
jmp fcn.00409b92

Function at 0x40512d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x405175
call fcn.00408517
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x405175
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x4051b8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x4051a1
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x4051a1
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4051b5
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x407692
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
mov eax, 0x44f8ad
call fcn.0043d792
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.0040370f
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x4076f4
call fcn.00407dd9
cmp eax, 1
jne 0x4076f4
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0040682f
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00403891
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401c94
mov dword [ebp + 8], SysReAllocStringLen
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401c94
mov eax, esi
call fcn.0043d86a
ret 0x10

Function at 0x40771d
Capabilities:
Set registry value

Disassembly:
push 0
mov eax, 0x44f8ad
call fcn.0043d792
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.0040370f
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x40777f
call fcn.00407dd9
cmp eax, 1
jne 0x40777f
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0040682f
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00403891
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401c94
mov dword [ebp + 8], SysReAllocStringLen
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401c94
mov eax, esi
call fcn.0043d86a
ret 0x14

Function at 0x4077ab
Capabilities:
Delete registry key

Disassembly:
push 0
mov eax, 0x44f8ad
call fcn.0043d792
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.0040370f
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x40780d
call fcn.00407dd9
cmp eax, 1
jne 0x40780d
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0040682f
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00403891
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401c94
mov dword [ebp + 8], SysReAllocStringLen
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401c94
mov eax, esi
call fcn.0043d86a
ret 8
Function at 0x408d60
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x44f971
call fcn.0043d792
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x408d85
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x408dcb
lea ecx, [ebp - 0x10]
call fcn.0040310d
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040859b
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401c94
mov eax, esi
call fcn.0043d86a
ret 8

Function at 0x409afb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00408517
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x409b34
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0040974c
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x409b92
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x409bb6
cmp dword [edi + 0x54], 0
jne 0x409bb6
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00408517
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
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00409b53
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4108bc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x410903
call fcn.00408517
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x410903
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41091f
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00410436
mov esi, eax
test edi, edi
je 0x41091d
test ebx, ebx
je 0x41091d
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4139f5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 4], ecx
call fcn.00408517
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x413a22
xor eax, eax
jmp 0x413ac8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x413a1b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x413a1b
movzx eax, word [esi + 6]
push ebx
push edi
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00401c1f
pop ecx
mov edi, eax
xor ecx, ecx
xor eax, eax
cmp cx, word [esi + 6]
jae 0x413a79
lea ecx, [esi + 8]
movzx edx, word [ecx]
mov dword [edi + eax*4], edx
movzx edx, word [esi + 6]
inc eax
inc ecx
inc ecx
cmp eax, edx
jl 0x413a68
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 4]
push eax
push edi
call fcn.004126e7
push edi
mov ebx, eax
call fcn.00401c4e
pop ecx
test ebx, ebx
je 0x413abb
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
lea esi, [ecx + 7]
mov ecx, dword [ebp - 4]
push eax
lea edx, [eax + 7]
push esi
push edx
call fcn.00412da8
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.00412e5c
mov ebx, eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, ebx
pop ebx
pop esi
leave
ret 4
Function at 0x43c6f3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46acb0]
jne 0x43c6fd
repz ret
jmp fcn.004417d1

Function at 0x449f7f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00441949
and dword [ebp - 4], 0
cmp dword [0x46e9a0], 0
mov ebx, eax
jne 0x44a030
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x44a0e1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x45b850
push edi
call esi
test eax, eax
je 0x44a0e1
push eax
call fcn.004418d7
mov dword [esp], 0x45b840
push edi
mov dword [0x46e9a0], eax
call esi
push eax
call fcn.004418d7
mov dword [esp], 0x45b82c
push edi
mov dword [0x46e9a4], eax
call esi
push eax
call fcn.004418d7
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x46e9a8], eax
call esi
push eax
call fcn.004418d7
pop ecx
mov dword [0x46e9b0], eax
test eax, eax
je 0x44a030
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004418d7
pop ecx
mov dword [0x46e9ac], eax
mov eax, dword [0x46e9ac]
cmp eax, ebx
je 0x44a088
cmp dword [0x46e9b0], ebx
je 0x44a088
push eax
call fcn.00441952
push dword [0x46e9b0]
mov esi, eax
call fcn.00441952
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x44a088
test edi, edi
je 0x44a088
call esi
test eax, eax
je 0x44a07f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x44a07f
test byte [ebp - 0xc], 1
jne 0x44a088
or dword [ebp + 0x10], 0x200000
jmp 0x44a0c1
mov eax, dword [0x46e9a4]
cmp eax, ebx
je 0x44a0c1
push eax
call fcn.00441952
pop ecx
test eax, eax
je 0x44a0c1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x44a0c1
mov eax, dword [0x46e9a8]
cmp eax, ebx
je 0x44a0c1
push eax
call fcn.00441952
pop ecx
test eax, eax
je 0x44a0c1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x46e9a0]
call fcn.00441952
pop ecx
test eax, eax
je 0x44a0e1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x44a0e3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret