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

Disassembly:
push 0xffffffffffffffff
push 0x4733a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0043b6e1
lea ecx, [esp + 0xc]
mov dword [esi + 0x34], eax
call fcn.0043b1c0
mov edi, dword [0x49e924]
lea ecx, [esp + 8]
call fcn.0043b1c0
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
jae 0x40e4fc
inc eax
mov dword [edi + 4], eax
lea ecx, [esp + 8]
call fcn.0043b25c
lea ecx, [esp + 0xc]
call fcn.0043b25c
lea eax, [esi + 4]
lea ecx, [esi + 0x14]
lea edx, [esi + 0x18]
mov dword [esi + 0xc], eax
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], edx
lea eax, [esi + 8]
lea ecx, [esi + 0x24]
lea edx, [esi + 0x28]
mov dword [esi + 0x10], eax
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], edx
mov dword [eax], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov edx, dword [esi + 0xc]
mov dword [edx], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov ecx, dword [esi + 0x2c]
mov dword [ecx], 0
mov edx, dword [esp + 0x24]
push 0
push 0
push 0
push edx
mov ecx, esi
mov dword [esp + 0x2c], 0
mov dword [esi], vtable.std::strstreambuf.0
call fcn.0043c1b5
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x41a260
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x314
push ebp
call fcn.0041a220
test eax, eax
je 0x41a3cc
mov ebp, dword [esp + 0x324]
lea ecx, [esp + 0xc]
push ecx
push 0
test ebp, ebp
push 0
je 0x41a28c
push 2
jmp 0x41a28e
push 7
push 0
call eax
xor edx, edx
test eax, eax
setge dl
mov eax, edx
test eax, eax
je 0x41a3cc
push esi
push 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
call dword [0x479814]
lea eax, [esp + 0xc]
push eax
push 0x482ec8
push 1
push 0
push 0x482eb8
call dword [0x4797dc]
mov esi, eax
test esi, esi
jl 0x41a3bb
mov eax, dword [esp + 0xc]
lea edx, [esp + 8]
push edx
push 0x482ed8
mov ecx, dword [eax]
push eax
call dword [ecx]
mov esi, eax
test esi, esi
jl 0x41a3b1
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x320]
push edi
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x328]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
jl 0x41a3a6
mov esi, dword [0x479394]
lea edx, [esp + 0x14]
push 0x494be4
push edx
call esi
test ebp, ebp
je 0x41a351
lea eax, [esp + 0x14]
push ebp
push eax
call esi
lea ecx, [esp + 0x14]
push 0x494be4
push ecx
call esi
lea edx, [esp + 0x14]
push 0
push edx
call dword [0x4793b4]
lea eax, [esp + 0x14]
push edi
push eax
call esi
lea ecx, [esp + 0x14]
push str..lnk
push ecx
call esi
lea edx, [esp + 0x118]
push 0x104
push edx
lea eax, [esp + 0x1c]
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [0x479388]
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x118]
push 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop edi
mov eax, dword [esp + 0xc]
push eax
mov edx, dword [eax]
call dword [edx + 8]
call dword [0x4797e0]
mov eax, esi
pop esi
pop ebp
add esp, 0x314
ret
mov eax, dword [esp + 4]
pop ebp
add esp, 0x314
ret
Function at 0x4479d7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push 0x80000000
call dword [0x479004]
test eax, eax
jne 0x447a2f
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push dword [ebp + 8]
push esi
push esi
push 0x49bfc8
push dword [ebp - 4]
call dword [0x479034]
test eax, eax
jne 0x447a22
push 1
pop esi
push dword [ebp - 4]
call dword [section..rdata]
mov eax, esi
jmp 0x447a31
xor eax, eax
pop esi
leave
ret 4
Function at 0x44ab40
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 [0x479160]
mov edi, dword [ebp + 8]
push edi
call dword [0x479540]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0042ba80
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x44ac0b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [0x4795d0]
test eax, eax
je 0x44ac0b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x44abbe
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x44abc9
or bh, 8
and edi, 0x8000000
je 0x44abe4
mov eax, dword [0x49fefc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [0x47916c]
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 [0x47960c]
test edi, edi
je 0x44ac0b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [0x47916c]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4502af
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4502e7
push dword [esi + 0x1c]
call dword [0x479540]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00453858
push eax
push dword [esi + 0x1c]
call dword [0x4795d0]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00453830
jmp 0x4502f3
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4502f7
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x49ddf8
mov ecx, edi
call fcn.0045353a
cmp dword [esi + 0x34], 0
push dword [esp + 0xc]
jne 0x45034a
push dword [esi + 0x1c]
call dword [0x4796ac]
mov esi, eax
test esi, esi
je 0x45035d
push esi
call dword [0x479540]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.00453858
push eax
push esi
call dword [0x4795d0]
push 0xffffffffffffffff
mov ecx, edi
call fcn.00453830
jmp 0x45035d
mov ecx, esi
call fcn.00452d0d
test eax, eax
je 0x45035d
push edi
mov ecx, eax
call fcn.004502af
mov eax, dword [edi]
pop edi
pop esi
mov eax, dword [eax - 8]
ret 8
Function at 0x403070
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x403085
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4030c6
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x4030c2
nop word [eax + eax]
cmp esi, edx
jae 0x4030c6
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x4030b0
cmp esi, edx
jb 0x4030cb
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret
Function at 0x404da0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5cbe6c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov edx, 0x5a853c
mov dword [ebp - 0xc], 4
lea ecx, [ebp - 0x14]
mov dword [ebp - 8], 4
call fcn.00403ec0
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push str.State
push dword [eax]
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov edx, dword [ebp - 0x14]
mov esi, eax
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x404e07
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
pop esi
jne 0x404e22
cmp dword [ebp - 0x10], 0
jne 0x404e22
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054afe4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.0054afe4
mov esp, ebp
pop ebp
ret

Function at 0x4052d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.00422867

Function at 0x405c10
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5cbe6c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
cmp dword [edi + 0x5c], 0
je 0x405c79
cmp dword [edi + 0x50], 0
je 0x405c8a
mov ecx, dword [edi + 0x94]
mov eax, 0x92492493
sub ecx, dword [edi + 0x90]
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x405c8a
lea eax, [ebp - 8]
push eax
push 4
push edi
push 0x4061c0
push 0
push 0
call fcn.005536c7
add esp, 0x18
mov dword [edi + 0x78], eax
test eax, eax
je 0x405c79
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054afe4
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x80]
test ecx, ecx
je 0x405c79
mov eax, dword [ecx]
lea edx, [ebp - 8]
push esi
push edx
push ecx
call dword [eax + 0x18]
mov eax, dword [edi + 0x80]
lea edx, [ebp - 0xc]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov ecx, dword [ebp - 0xc]
mov eax, ecx
mov edx, dword [edi + 0x80]
neg eax
push 0
push eax
push dword [ebp - 8]
mov esi, dword [edx]
push ecx
push 0
push dword [edi + 0x38]
push dword [edi + 0x34]
push 0
push 0
push dword [edi + 0x60]
push edx
call dword [esi + 0x20]
pop esi
test eax, eax
jne 0x405c79
push eax
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop edi
call fcn.0054afe4
mov esp, ebp
pop ebp
ret
Function at 0x405d00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x5a8530
push dword [ebp + 8]
mov dword [ebp - 4], ecx
push dword [0x5d6b60]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x405dac
push esi
push dword [0x5d6b60]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x405dac
push esi
push dword [0x5d6b60]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push 0x22
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x405dac
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x405da5
test esi, esi
je 0x405da5
mov ebx, dword [ebp + 8]
push ebx
push eax
push esi
call fcn.0054dca0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 4]
push ebx
push edi
call fcn.004056e0
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x409811
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x409856
call fcn.00413efc
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x409856
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x409872
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0042601f
mov ebx, eax
test edi, edi
je 0x409870
test esi, esi
je 0x409870
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40a245
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x40a303
cmp dword [esi + 0x20], 0
je 0x40a303
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40a303
cmp dword [ebp + 8], 0
je 0x40a303
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.00413efc
push str.AFX_DIALOG_LAYOUT
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x40a2d4
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40a303
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.00428a8a
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x40a2f4
test edi, edi
je 0x40a2f4
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x40a2ff
mov ecx, esi
call fcn.00409fe8
mov eax, ebx
jmp 0x40a305
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40f187
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x576399
call fcn.0054ba36
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x40f1ad
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x40f20c
call fcn.0041043d
push eax
lea ecx, [ebp - 0x10]
call fcn.00403ba0
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call fcn.0054b9f9
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.00553c4b
push eax
call fcn.0040eac1
add esp, 0x14
test esi, esi
je 0x40f1ff
push esi
call fcn.00553bc0
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00403bd0
mov eax, ebx
call fcn.0054b9ff
ret 8
Function at 0x416379
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
mov eax, ecx
push edi
mov edi, esi
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], esi
je 0x4163c3
call fcn.00413efc
push 0xf0
push dword [ebp + 0xc]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4163c0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x416411
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov eax, dword [ebp - 4]
xor ebx, ebx
inc ebx
test esi, esi
je 0x4163ef
mov ecx, dword [eax]
push dword [ebp + 0x10]
push esi
mov esi, dword [ecx + 0x20]
mov ecx, esi
push dword [ebp + 8]
call fcn.0054b9f9
mov ecx, dword [ebp - 4]
call esi
mov ebx, eax
test edi, edi
je 0x4163ef
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x70]
test edi, edi
je 0x41640f
mov eax, dword [edi]
push dword [ebp + 0x10]
mov esi, dword [eax + 0xa0]
mov ecx, esi
call fcn.0054b9f9
mov ecx, edi
call esi
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x421f3f
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0x56b854
call fcn.0054ba36
mov eax, ecx
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp + 0x10]
xor edi, edi
mov ecx, dword [ebp + 0x14]
push edi
mov dword [ebx], edi
mov dword [ecx], edi
cmp dword [eax + 0x58], edi
je 0x421fe9
push dword [ebp + 8]
mov ecx, eax
call fcn.00422274
mov esi, eax
test esi, esi
je 0x42207c
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], edi
push eax
push edi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push eax
push edi
push dword [ebp + 0xc]
mov dword [ebp - 0x14], edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
test eax, eax
jne 0x421fd2
push edx
call fcn.00406fe2
pop ecx
lea ecx, [ebp - 0x14]
mov dword [ebx], eax
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x421fd2
xor edi, edi
inc edi
jmp 0x421fdc
push dword [ebx]
call fcn.00406feb
pop ecx
mov dword [ebx], edi
lea ecx, [ebp - 0x24]
call fcn.00421e04
jmp 0x42207a
mov esi, dword [eax]
lea eax, [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov esi, dword [esi + 0x84]
mov ecx, esi
push eax
call fcn.0054b9f9
mov ecx, dword [ebp - 0x18]
call esi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov esi, dword [eax - 0xc]
mov dword [ebp - 0x18], esi
test esi, esi
je 0x422072
mov ecx, dword [ebp + 0x14]
mov eax, esi
shr eax, 1
push eax
mov dword [ecx], eax
call fcn.00406fe2
mov dword [ebx], eax
pop ecx
test esi, esi
jle 0x42206c
mov esi, dword [ebp + 0x10]
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 0x10]
call fcn.00444988
push edi
lea ecx, [ebp - 0x10]
lea ebx, [eax - 1]
shl bl, 4
sub bl, 0x41
call fcn.00444988
add al, bl
mov edx, edi
test edx, edx
jns 0x42205d
add edx, 1
sar edx, 1
mov ecx, dword [esi]
add edi, 2
mov byte [edx + ecx], al
cmp edi, dword [ebp - 0x18]
jl 0x422034
mov eax, dword [ebp - 0x10]
xor edi, edi
inc edi
lea ecx, [eax - 0x10]
call fcn.00403bd0
mov eax, edi
call fcn.0054b9ff
ret 0x10

Function at 0x422084
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x4220d7
push esi
push dword [ebp + 8]
call fcn.00422274
mov edi, eax
test edi, edi
jne 0x4220a7
mov eax, dword [ebp + 0x10]
jmp 0x4220e9
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4220a2
mov eax, dword [ebp - 8]
jmp 0x4220e9
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4228cc
Capabilities:
Extract resource via kernel32 functions

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

Function at 0x42bb10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
je 0x42bb2a
mov edi, dword [esi + 0xc]
jmp 0x42bb6a
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x42bb43
call fcn.00411f49
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x42bb58
call fcn.00411f49
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x42bb6a
call fcn.00411f49
call fcn.00413efc
cmp dword [eax + 0x3c], 0
je 0x42bb7f
push edi
mov ecx, ebx
call fcn.0042b1a4
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0042bd5c
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x42bba8
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x42bbb4
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x43efd1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
test esi, esi
jne 0x43efea
call fcn.00413efc
mov esi, dword [eax + 0xc]
push 0x57e25c
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
je 0x43f040
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x43f03f
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x43f020
xor esi, esi
jmp 0x43f036
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.0043f048
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4baee3
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.0040ed7b
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4baf1f
call fcn.004bb105
mov dword [esi + 0xc], 1
jmp 0x4baf24
call fcn.004bb105
cmp dword [esi], 0
je 0x4baf6d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x4baf47
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.004073d9
jmp 0x4baf58
push 0xff
mov ecx, esi
call fcn.00403860
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00407621
jmp 0x4baf91
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x4baf91
push dword [esi]
push dword [ebp - 4]
call fcn.00429c29
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4bb05a
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.004bb105
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4bb0a2
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004073d9
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00407621
jmp 0x4bb0ad
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00429c29
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x51137f
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.00546970
call fcn.00413f50
cmp dword [eax + 0x14], 0
jne 0x51139a
mov ecx, esi
pop esi
jmp fcn.005106c7
pop esi
ret
Function at 0x52cb4a
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.00403060
call fcn.00413f50
cmp dword [eax + 0x14], 0
jne 0x52cb65
mov ecx, esi
pop esi
jmp fcn.0052c3c8
pop esi
ret

Function at 0x564a98
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00564758