joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434e20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a2009
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x4cba68]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov esi, dword [esp + 0x38]
push 0x4a5956
mov ecx, esi
mov dword [esp + 0x34], ebx
call fcn.00403080
mov eax, dword [esp + 0x3c]
cmp eax, 3
mov dword [esp + 0x30], ebx
mov dword [esp + 0xc], 1
ja case.default.0x434e78
jmp dword [eax*4 + 0x435034]
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4a5956
call fcn.00403080
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.Language
mov dword [esp + 0x3c], 1
call fcn.00403080
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.SOFTWAREESTsoftALUpdate
mov byte [esp + 0x40], 2
call fcn.00403080
lea eax, [esp + 0x48]
push reloc.WSOCK32.dll_accept
push eax
mov byte [esp + 0x44], bl
call fcn.00430400
add esp, 0x14
push eax
mov ecx, esi
mov dword [esp + 0x34], 3
call fcn.00402260
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x30], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x435012
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x4a5956
call fcn.00403080
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.Language
mov dword [esp + 0x3c], 4
call fcn.00403080
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.SOFTWAREESTsoftALUpdate
mov byte [esp + 0x40], 5
call fcn.00403080
lea ecx, [esp + 0x1c]
push reloc.OLEAUT32.dll_SysReAllocString
push ecx
mov byte [esp + 0x44], bl
call fcn.00430400
add esp, 0x14
push eax
mov ecx, esi
mov dword [esp + 0x34], 6
call fcn.00402260
mov eax, dword [esp + 0x10]
jmp 0x434ffe
lea ecx, [esp + 0x14]
push ecx
call fcn.00432a10
add esp, 4
push eax
mov ecx, esi
mov dword [esp + 0x34], 7
call fcn.00402260
mov eax, dword [esp + 0x14]
jmp 0x434ffe
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x4a5956
call fcn.00403080
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x4a9e38
mov dword [esp + 0x3c], 8
call fcn.00403080
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.SOFTWAREESTsoftALUpdate
mov byte [esp + 0x40], 9
call fcn.00403080
lea ecx, [esp + 0x24]
push reloc.OLEAUT32.dll_SysReAllocString
push ecx
mov byte [esp + 0x44], bl
call fcn.00430400
add esp, 0x14
push eax
mov ecx, esi
mov dword [esp + 0x34], 0xa
call fcn.00402260
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x30], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg case.default.0x434e78
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret
Function at 0x435310
Capabilities:
Get common file path

Disassembly:
sub esp, 0x10c
mov eax, dword [0x4cba68]
xor eax, esp
mov dword [esp + 0x108], eax
push esi
mov esi, dword [esp + 0x114]
push 0x104
lea eax, [esp + 0xc]
push 0
push eax
mov dword [esp + 0x10], 0
call fcn.00483480
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.00403080
mov ecx, dword [esp + 0x10c]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004820a1
add esp, 0x10c
ret

Function at 0x435380
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a20d8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cba68]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, dword [esp + 0x80]
push esi
lea ecx, [esp + 0x18]
call fcn.00403080
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x7c], 0
call fcn.00432830
add esp, 4
test eax, eax
mov eax, dword [esp + 0x14]
sete bl
add eax, 0xfffffff0
mov dword [esp + 0x78], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4353fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x435414
xor eax, eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
push 0x3c
lea ecx, [esp + 0x38]
push 0
push ecx
call fcn.00483480
add esp, 0xc
cmp dword [esp + 0x90], 0
mov dword [esp + 0x34], 0x3c
mov dword [esp + 0x38], 0x40
je 0x435450
call fcn.00431730
test eax, eax
je 0x435450
mov dword [esp + 0x40], str.runas
mov edx, dword [esp + 0x84]
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x54], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x435502
cmp dword [esp + 0x8c], 0
je 0x4354f7
mov ecx, dword [esp + 0x6c]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x3e8
push ecx
call ebp
cmp eax, 0x102
jne 0x4354f7
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
nop
push 1
push 0
push 0
push 0
lea edx, [esp + 0x28]
push edx
call esi
test eax, eax
je 0x4354e4
lea eax, [esp + 0x18]
push eax
call edi
lea ecx, [esp + 0x18]
push ecx
call ebx
push 1
push 0
push 0
push 0
lea edx, [esp + 0x28]
push edx
call esi
test eax, eax
jne 0x4354c3
mov eax, dword [esp + 0x6c]
push 0x3e8
push eax
call ebp
cmp eax, 0x102
je 0x4354b0
mov ecx, dword [esp + 0x6c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
Function at 0x435520
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a2128
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, dword [0x4cba68]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
xor esi, esi
push 0x4a5956
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], esi
call fcn.00403080
push 0x4a5956
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], esi
call fcn.00403080
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
cmp dword [ecx - 0xc], esi
mov byte [esp + 0x24], 1
jne 0x4355b1
mov eax, dword [esp + 8]
add eax, 0xfffffff0
push eax
call fcn.004017c0
mov esi, dword [esp + 0x30]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
add esp, 4
mov byte [esp + 0x24], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x435688
push ecx
lea edx, [esp + 0x10]
push str.SOFTWAREESTSOFTALUpdate_s
push edx
call fcn.00402320
add esp, 8
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x4a5956
call fcn.00403080
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.NewProjectName
mov byte [esp + 0x30], 2
call fcn.00403080
mov eax, dword [esp + 0x14]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov esi, esp
push eax
mov byte [esp + 0x34], 3
call fcn.004017c0
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [esp + 0x3c]
push reloc.WSOCK32.dll_accept
push eax
mov byte [esp + 0x38], 1
call fcn.00430400
add esp, 0x14
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 4
call fcn.00402260
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x24], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435656
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 8]
add eax, 0xfffffff0
push eax
call fcn.004017c0
mov esi, dword [esp + 0x30]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
add esp, 4
mov byte [esp + 0x24], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435694
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x24], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4356b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x20
ret
Function at 0x4356d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a2168
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x4cba68]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
push 0x4a5956
lea ecx, [esp + 0xc]
call fcn.00403080
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0xc]
push str.SoftwareESTsoftALUpdate_s
push edx
mov dword [esp + 0x2c], 0
call fcn.00402320
add esp, 8
mov ecx, esp
mov dword [esp + 0x10], esp
push 0x4a5956
call fcn.00403080
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.NewProject
mov byte [esp + 0x2c], 1
call fcn.00403080
mov eax, dword [esp + 0x10]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov esi, esp
push eax
mov byte [esp + 0x30], 2
call fcn.004017c0
add eax, 0x10
add esp, 4
mov dword [esi], eax
push reloc.WSOCK32.dll_accept
mov byte [esp + 0x30], 0
call fcn.0042fda0
mov esi, eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 0x10
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4357a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret
Function at 0x4357c0
Capabilities:
Access peb ldr_data
Persist via run registry key

Disassembly:
push 0xffffffffffffffff
push 0x4a21b8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x4cba68]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 0x4a5956
lea ecx, [esp + 0x14]
call fcn.00403080
push 0x4a5956
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
call fcn.00403080
push 0x31
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call fcn.00401dd0
lea eax, [esp + 0x14]
push eax
call fcn.00435120
mov edi, dword [esp + 0x34]
mov ecx, dword [edi]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x18]
push str.__s___afterreboot__s
push eax
mov byte [esp + 0x3c], 2
call fcn.00402320
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 0x14
mov byte [esp + 0x28], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43586e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov esi, esp
push eax
call fcn.004017c0
add eax, 0x10
mov dword [esi], eax
mov eax, dword [edi]
sub eax, 0x10
mov dword [esp + 0x20], esp
mov esi, esp
push eax
mov byte [esp + 0x34], 3
call fcn.004017c0
add eax, 0x10
mov dword [esi], eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
mov byte [esp + 0x38], 4
call fcn.004017c0
add eax, 0x10
add esp, 4
mov dword [esi], eax
push reloc.WSOCK32.dll_accept
mov byte [esp + 0x38], 1
call fcn.0042fda0
mov esi, eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4358fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435923
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret
Function at 0x435940
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4a2220
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
mov eax, dword [0x4cba68]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 0x4a5956
lea ecx, [esp + 0x10]
call fcn.00403080
push 0x4a5956
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0
call fcn.00403080
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
mov ebx, 1
push 0x4a5956
mov byte [esp + 0x30], bl
call fcn.00403080
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.SelfUpdate
mov byte [esp + 0x34], 2
call fcn.00403080
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.SoftwareESTsoftALUpdate
mov byte [esp + 0x38], 3
call fcn.00403080
lea eax, [esp + 0x1c]
push reloc.WSOCK32.dll_accept
push eax
mov byte [esp + 0x3c], bl
call fcn.00430400
add esp, 0x14
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 4
call fcn.00402260
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x28], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435a17
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4a5956
call fcn.00403080
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.SetupReady
mov byte [esp + 0x34], 5
call fcn.00403080
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.SoftwareESTsoftALUpdateALUpdateUpdateInfo
mov byte [esp + 0x38], 6
call fcn.00403080
lea ecx, [esp + 0x1c]
push reloc.WSOCK32.dll_accept
push ecx
mov byte [esp + 0x3c], bl
call fcn.00430400
add esp, 0x14
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 7
call fcn.00402260
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x28], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x435a9d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc]
push 0x4a5c14
push ecx
call fcn.00481621
add esp, 8
test eax, eax
jne 0x435ac9
mov edx, dword [esp + 8]
push 0x4a5c14
push edx
call fcn.00481621
add esp, 8
test eax, eax
je 0x435acb
xor ebx, ebx
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435af0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435b18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x24
ret
Function at 0x436af0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push edi
mov edi, ecx
cmp byte [edi + 4], 0
jne 0x436b19
push 0x4c9e04
lea ecx, [esp + 8]
call fcn.004810ab
push 0x4c0eac
lea eax, [esp + 8]
push eax
call fcn.00481c90
xor edx, edx
cmp dword [edi + 0x3cc], edx
jle 0x436b46
mov eax, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x1c]
lea esp, [esp]
mov cl, byte [esi]
xor byte [eax], cl
add edx, 1
add esi, 1
add eax, 1
cmp edx, dword [edi + 0x3cc]
jl 0x436b30
pop esi
pop edi
add esp, 0xc
ret 8
Function at 0x461244
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0xe0]
sub esp, 0x160
mov eax, dword [0x4cba68]
xor eax, ebp
mov dword [ebp + 0xdc], eax
cmp dword [ebp + 0xec], 0x800
mov eax, dword [ebp + 0xe8]
push esi
mov dword [ebp - 0x3c], eax
mov esi, ecx
lea eax, [ebp - 0x40]
jne 0x4612dc
push 0x4b1a34
push 4
push eax
call fcn.0048668a
push eax
call fcn.00401050
add esp, 0x10
push ebx
push edi
call fcn.00486b9e
mov edi, dword [eax]
call fcn.00486b9e
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.004839c7
add esp, 0x18
mov dword [ebp - 0x3c], eax
call fcn.00486b9e
cmp dword [eax], ebx
je 0x4612f3
call fcn.00486b9e
push dword [eax]
call fcn.0045ff68
pop ecx
jmp 0x4612fa
push 4
push eax
push 3
push dword [ebp + 0xec]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x461290
jmp 0x46136c
call fcn.00486b9e
mov dword [eax], edi
cmp dword [ebp - 0x3c], 0xffffffff
je 0x461368
cmp dword [ebp - 0x3c], esi
jae 0x461368
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x7c]
push ebx
push eax
mov dword [ebp - 0x80], 0x40
call fcn.00483480
add esp, 0xc
push str.KERNEL32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
je 0x46135a
push str.FindActCtxSectionStringA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x46135a
lea ecx, [ebp - 0x80]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x46135a
push ebx
push ebx
push esi
jmp 0x461360
push ebx
push ebx
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x46136a
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp + 0xdc]
xor ecx, ebp
pop esi
call fcn.004820a1
add ebp, 0xe0
leave
ret
Function at 0x46420e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x4a2dcc
call fcn.00486971
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.004608f5
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x464259
call fcn.004608f5
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x46426a
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x464277
or eax, 0xffffffff
jmp 0x4643d3
mov ecx, esi
call fcn.00463d55
mov dword [ebp - 0x14], eax
call fcn.004699cd
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x4642f5
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x4642f5
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4642f5
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.00413a70
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x4642f5
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x4642f5
mov ecx, ebx
call fcn.00466a42
test eax, eax
je 0x4642f5
push 0
mov ecx, ebx
call fcn.00466a5d
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.0046b4f5
push dword [ebp - 0x14]
call fcn.00469925
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.00464016
xor edi, edi
cmp eax, edi
je 0x464352
test byte [esi + 0x3c], 0x10
je 0x46433c
push 4
pop edi
mov ecx, esi
call fcn.004668ff
test ax, 0x100
je 0x464332
push 5
pop edi
push edi
mov ecx, esi
call fcn.004694ed
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x464352
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.00466c12
or dword [ebp - 4], 0xffffffff
jmp 0x46437d
cmp dword [ebp - 0x28], edi
je 0x46438b
push 1
mov ecx, ebx
call fcn.00466a5d
cmp dword [ebp - 0x2c], edi
je 0x46439b
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x4643b4
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x4643b4
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.00463d8f
cmp dword [esi + 0x58], edi
je 0x4643d0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.00486a16
ret
Function at 0x464ab8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x464afe
call fcn.004608f5
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 0x464afe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x464b41
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x464b2a
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 0x464b2a
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x464b3e
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 0x46aac5
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x46aafe
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004609d6
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00416f50
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x46c715
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x46c758
call fcn.004608f5
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x46c758
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x46c773
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0046c2cc
test ebx, ebx
mov esi, eax
je 0x46c771
test edi, edi
je 0x46c771
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4