joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45d994
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45d9ab
add esp, 0xfffffff0
call fcn.00403b8c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041b0e8
mov eax, dword [0x47b3cc]
cmp word [eax + 2], 0
jne 0x45d9d3
mov eax, dword [0x47b3cc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045f45c
mov eax, dword [0x47b484]
cmp word [eax + 2], 0
jne 0x45d9ed
mov eax, dword [0x47b484]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045f668
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4125a8]
call fcn.00403838
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4125a8]
call fcn.00403838
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x4125a8]
call fcn.00403838
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x41f860]
call fcn.004272cc
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x45dba4
mov eax, dword [0x47b2e0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004276a0
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45fd28
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x47b2e0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d084
test eax, eax
je 0x45daf4
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408e90
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d0b8
test eax, eax
je 0x45db08
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404904
mov byte [ebx + 0xd4], 0
push ebx
push 0x45efa4
call fcn.0041c264
mov dword [ebx + 0xc8], eax
mov eax, dword [0x47b1b8]
cmp byte [eax], 0
jne 0x45db59
mov eax, ebx
call fcn.0045dce8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0045ff04
mov eax, ebx
call fcn.00460a64
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45db99
call fcn.00403be4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45df68
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x47f584]
cmp dword [eax + 0x30], 0
je 0x45e012
cmp dword [ebx + 0x94], 0
jne 0x45e00c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45def8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45e00c
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45dfd2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45e00c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00414ae0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45dfe1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45ed2c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x45ed61
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404784
jmp 0x45ed6e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004046e8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4600e8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x460156
mov eax, esi
call fcn.00449ce4
test al, al
je 0x460156
mov eax, dword [ebx + 0x84]
call fcn.00449944
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x460156
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x46014a
push 0
mov eax, dword [ebx + 0x84]
call fcn.00449944
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00441c20
jmp 0x460156
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045ff24
pop esi
pop ebx
ret
Function at 0x466400
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x46642e
mov eax, ebx
call fcn.00466eb4
cmp dword [ebx + 0x40], 0
je 0x466427
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x46649f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x466491
cmp dword [ebx + 8], 0
je 0x466450
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x466462
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x466491
cmp dword [ebx + 8], 0
je 0x466443
cmp eax, 3
je 0x466475
dec eax
jne 0x466443
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x466443
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x466443
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4664bd
cmp dword [ebx + 0x14], 0xcc
je 0x4664bd
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004664c8
pop ebx
ret
Function at 0x406b30
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x14]
push esi
xor eax, eax
push edi
xor edi, edi
mov dword [ebp - 4], eax
cmp edx, eax
jbe 0x406bb8
xor esi, esi
cmp eax, edx
jae 0x406b5e
jmp 0x406b50
cmp byte [eax + ebx], 0x20
jne 0x406b5c
inc eax
inc esi
cmp eax, edx
jb 0x406b50
cmp eax, edx
je 0x406bb1
mov ecx, edx
sub ecx, eax
cmp ecx, 2
jb 0x406b76
cmp byte [eax + ebx], 0xd
jne 0x406b76
cmp byte [eax + ebx + 1], 0xa
je 0x406bac
mov cl, byte [eax + ebx]
cmp cl, 0xa
je 0x406bac
test esi, esi
jne 0x406bca
cmp cl, 0x3d
jne 0x406b8d
inc edi
cmp edi, 2
ja 0x406bca
cmp cl, 0x7f
ja 0x406bca
movzx ecx, cl
mov cl, byte [ecx + 0x437da8]
cmp cl, 0x7f
je 0x406bca
cmp cl, 0x40
jae 0x406ba9
test edi, edi
jne 0x406bca
inc dword [ebp - 4]
inc eax
cmp eax, edx
jb 0x406b45
mov ecx, dword [ebp - 4]
test ecx, ecx
jne 0x406bd6
mov edx, dword [ebp + 0x10]
pop edi
pop esi
mov dword [edx], 0
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xffffffd4
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
lea ecx, [ecx + ecx*2]
lea ecx, [ecx + ecx + 7]
shr ecx, 3
sub ecx, edi
test esi, esi
je 0x406c82
cmp dword [ebp + 0xc], ecx
jb 0x406c82
xor edx, edx
mov edi, 3
mov dword [ebp - 4], edx
cmp eax, edx
jbe 0x406c71
mov cl, byte [ebx]
cmp cl, 0xd
je 0x406c6a
cmp cl, 0xa
je 0x406c6a
cmp cl, 0x20
je 0x406c6a
movzx ecx, cl
mov cl, byte [ecx + 0x437da8]
xor ebx, ebx
cmp cl, 0x40
sete bl
movzx ecx, cl
and ecx, 0x3f
shl edx, 6
or edx, ecx
mov ecx, dword [ebp - 4]
inc ecx
sub edi, ebx
mov dword [ebp - 4], ecx
cmp ecx, 4
jne 0x406c67
mov dword [ebp - 4], 0
test edi, edi
je 0x406c52
mov ecx, edx
shr ecx, 0x10
mov byte [esi], cl
inc esi
cmp edi, 1
jbe 0x406c5f
mov ecx, edx
shr ecx, 8
mov byte [esi], cl
inc esi
cmp edi, 2
jbe 0x406c67
mov byte [esi], dl
inc esi
mov ebx, dword [ebp + 0x14]
inc ebx
dec eax
mov dword [ebp + 0x14], ebx
jne 0x406c04
sub esi, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
pop edi
mov dword [edx], esi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
pop edi
pop esi
mov dword [eax], ecx
mov eax, 0xffffffd6
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x407e40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42db61
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x44205c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor ebx, ebx
mov edx, 1
mov dword [esi + 4], ebx
mov dword [esi + 8], edx
mov dword [ebp - 4], ebx
fldz
mov dword [esi], vtable.gge::ggeGuiWindow.0
or ecx, 0xffffffff
mov dword [esi + 0xc], ecx
mov edi, dword [eax]
mov dword [esi + 0x10], edi
mov edi, dword [eax + 4]
mov dword [esi + 0x14], edi
mov edi, dword [eax + 8]
mov dword [esi + 0x18], edi
mov edi, dword [eax + 0xc]
mov dword [esi + 0x1c], edi
mov eax, dword [eax + 0x10]
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], 0x10100
mov byte [esi + 0x28], bl
xor eax, eax
mov word [esi + 0x2a], ax
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x30], bl
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
fst dword [esi + 0x60]
fst dword [esi + 0x64]
mov byte [esi + 0x70], dl
fst dword [esi + 0x68]
mov eax, 0xff000000
fst dword [esi + 0x6c]
mov dword [esi + 0x74], ecx
fst dword [esi + 0x78]
mov dword [esi + 0x88], ecx
fst dword [esi + 0x7c]
mov dword [esi + 0x8c], eax
fst dword [esi + 0x80]
mov dword [esi + 0x90], ebx
fst dword [esi + 0x84]
fst dword [esi + 0x94]
fst dword [esi + 0x98]
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
fst dword [esi + 0xa4]
fst dword [esi + 0xa8]
mov byte [esi + 0xb4], dl
fst dword [esi + 0xac]
fst dword [esi + 0xb0]
mov dword [esi + 0xb8], ecx
fst dword [esi + 0xbc]
mov dword [esi + 0xcc], ecx
fst dword [esi + 0xc0]
mov dword [esi + 0xd0], eax
fst dword [esi + 0xc4]
mov dword [esi + 0xd4], ebx
fst dword [esi + 0xc8]
fst dword [esi + 0xd8]
fstp dword [esi + 0xdc]
mov byte [ebp - 4], 2
mov ecx, esi
mov dword [esi + 0xe0], ebx
call dword [sym.imp.galaxy2d.dll_private:_void___thiscall_gge::ggeGuiWindow::_CreateWindowData_void_]
fldz
sub esp, 0x10
fst dword [esp + 0xc]
fst dword [esp + 8]
fst dword [esp + 4]
fstp dword [esp]
push ebx
call dword [sym.imp.galaxy2d.dll_class_gge::ggeSprite____stdcall_gge::Sprite_Create_class_gge::ggeTexture___float__float__float__float_]
fld dword [esi + 0x18]
fadd dword [esi + 0x10]
mov dword [esi + 0x54], eax
mov eax, esi
fstp dword [esi + 0x18]
fld dword [esi + 0x14]
fadd dword [esi + 0x1c]
fstp dword [esi + 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41a3e0
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esi]
test eax, eax
je 0x41a3f8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esi + 0x24]
mov edx, dword [0x447408]
push ecx
push 0xffffd8f0
push edx
call dword [sym.imp.lua51.dll_luaL_unref]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.lua51.dll_lua_close]
add esp, 0x10
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push esi
call fcn.0041bfde
add esp, 4
mov eax, esi
ret

Function at 0x41ba6b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44205c]
jne 0x41ba75
repz ret
jmp fcn.0041c6f7

Function at 0x420e7a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x44205c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0041e3d4
and dword [ebp - 0x14], 0
cmp dword [0x4473d0], 0
mov dword [ebp - 0x18], eax
jne 0x420f2d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x420fd5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x420fd5
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4473d0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4473d4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4473d8], eax
call edi
push eax
call esi
mov dword [0x4473e0], eax
test eax, eax
je 0x420f2d
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4473dc], eax
mov eax, dword [0x4473dc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x420f86
cmp dword [0x4473e0], ecx
je 0x420f86
push eax
call esi
push dword [0x4473e0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x420f86
test ebx, ebx
je 0x420f86
call edi
test eax, eax
je 0x420f7d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x420f7d
test byte [ebp - 8], 1
jne 0x420f86
or dword [ebp + 0x10], 0x200000
jmp 0x420fb9
mov eax, dword [0x4473d4]
cmp eax, dword [ebp - 0x18]
je 0x420fb9
push eax
call esi
test eax, eax
je 0x420fb9
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x420fb9
mov eax, dword [0x4473d8]
cmp eax, dword [ebp - 0x18]
je 0x420fb9
push eax
call esi
test eax, eax
je 0x420fb9
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4473d0]
call esi
test eax, eax
je 0x420fd5
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x420fd7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041ba6b
leave
ret
Function at 0x429280
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x24
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov eax, dword [edx + 0x78]
mov ebx, dword [edx + 0x8c]
cmp eax, ebx
mov eax, dword [edx + 0x34]
mov ebx, dword [edx + 0x7c]
jl 0x4292a5
shr ebx, 2
dec ebx
shl ebx, 0x10
or ebx, eax
mov dword [esp], ebx
mov eax, dword [edx + 0x90]
mov ebx, dword [edx + 0x74]
cmp ebx, eax
jl 0x4292bd
mov ebx, eax
mov dword [esp + 0x18], ebx
mov esi, dword [edx + 0x38]
mov dword [esp + 4], esi
mov ebp, dword [edx + 0x6c]
lea edi, [ebp + esi]
mov dword [esp + 0x20], edi
mov eax, edi
neg eax
and eax, 3
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x2c]
sub eax, 0x106
sub ebp, eax
jg 0x4292ec
xor ebp, ebp
mov eax, dword [edx + 0x78]
mov dword [esp + 0x1c], eax
add esi, eax
mov dword [esp + 8], esi
movzx ebx, word [edi]
mov dword [esp + 0x10], ebx
movzx ebx, word [eax + edi - 1]
mov dword [esp + 0xc], ebx
mov edi, dword [edx + 0x40]
mov edx, dword [esp]
jmp 0x42932e
and ecx, edx
movzx ecx, word [edi + ecx*2]
cmp ecx, ebp
jbe 0x429402
sub edx, 0x10000
js 0x429402
movzx eax, word [ecx + esi - 1]
cmp eax, ebx
jne 0x429314
mov eax, dword [esp + 4]
movzx eax, word [ecx + eax]
cmp eax, dword [esp + 0x10]
jne 0x429314
mov dword [esp], edx
mov esi, dword [esp + 4]
mov edi, dword [esp + 0x20]
add esi, ecx
mov eax, dword [esp + 0x14]
mov edx, 0xfffffef8
lea edi, [eax + edi + 0x108]
lea esi, [eax + esi + 0x108]
mov eax, dword [edx + esi]
xor eax, dword [edx + edi]
jne 0x429385
mov eax, dword [edx + esi + 4]
xor eax, dword [edx + edi + 4]
jne 0x429382
add edx, 8
jne 0x429369
jmp 0x4293f3
add edx, 4
test eax, 0xffff
jne 0x429392
add edx, 2
shr eax, 0x10
sub al, 1
adc edx, 0
lea eax, [edx + edi]
mov edi, dword [esp + 0x20]
sub eax, edi
cmp eax, 0x102
jge 0x4293f3
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
cmp eax, ebx
jg 0x4293c6
mov esi, dword [esp + 8]
mov edi, dword [edx + 0x40]
mov ebx, dword [esp + 0xc]
mov edx, dword [esp]
jmp 0x429314
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov dword [edx + 0x70], ecx
cmp eax, ebx
jge 0x429402
mov esi, dword [esp + 4]
add esi, eax
mov dword [esp + 8], esi
movzx ebx, word [eax + edi - 1]
mov edi, dword [edx + 0x40]
mov dword [esp + 0xc], ebx
mov edx, dword [esp]
jmp 0x429314
mov edx, dword [esp + 0x38]
mov dword [esp + 0x1c], 0x102
mov dword [edx + 0x70], ecx
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
mov eax, dword [edx + 0x74]
cmp ebx, eax
jg 0x429413
mov eax, ebx
add esp, 0x24
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0xf7c370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0xf7c38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0xfa5074
push ecx
mov edi, eax
call fcn.00f90198
mov esi, eax
add esp, 8
test esi, esi
jne 0xf7c3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00f9002e
push esi
call fcn.00f8ffb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xf7f850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0xf7f8ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0xfaa720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xf7f8ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.00f901e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0xf7f8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xfaa720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xf7f92a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00f91082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xf7f957
mov word [eax], si
add eax, 2
push eax
call fcn.00f91030
add esp, 4
jmp 0xf7f959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0xf7f8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xf7f8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0xf7fff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0xf80080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0xf800c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0xfa5458
push ecx
call fcn.00f901e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.00f901e1
add esp, 0x10
jmp 0xf800d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.00f9020b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00f8fdff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00f80050
mov eax, dword [0xfaa728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0xf8013b
push esi
call fcn.00f7ffb0
add esp, 4
mov dword [0xfaa728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0xf8014c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.00f7fff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0xf83440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0xf834b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0xf8348e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xf83471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xf8347e
add edx, ecx
cmp ebx, edx
jb 0xf8348a
inc edi
add eax, 0x28
cmp edi, esi
jb 0xf83467
xor ecx, ecx
jmp 0xf834a2
test eax, eax
jne 0xf83492
xor ecx, ecx
jmp 0xf834a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.00f833c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0xf838f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0xf83921
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
jne 0xf83946
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0xf8396e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
cmp word [esi], 0x5a4d
jne 0xf83993
push ecx
push esi
call fcn.00f834c0
add esp, 8
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret