joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420ff0
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x18
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push edi
push str.ntdll.dll
call esi
push str.user32.dll
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4211da
test ebx, ebx
je 0x4211da
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RtlGetNtVersionNumbers
push edi
call esi
test eax, eax
je 0x4211cb
push 0x48cba0
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
push ecx
call eax
mov eax, dword [0x48cba0]
and eax, 0xfffffff
cmp dword [esp + 0x10], 0xa
mov dword [0x48cba0], eax
jne 0x4211cb
cmp dword [esp + 0x14], 0
jne 0x4211cb
cmp eax, 0x4563
jb 0x4211cb
push 0x800
push 0
push str.uxtheme.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4211cb
push 0x31
push edi
call esi
push 0x68
push edi
mov dword [0x48cbac], eax
call esi
push 0x6a
push edi
mov dword [0x48cbb4], eax
call esi
push 0x84
push edi
call esi
push 0x85
push edi
mov dword [0x48cbc0], eax
call esi
push 0x87
push edi
mov dword [0x48cbbc], eax
call esi
cmp dword [0x48cba0], 0x47ba
jae 0x4210df
mov dword [0x48cbb8], eax
jmp 0x4210e4
mov dword [0x48cba8], eax
push 0x89
push edi
call esi
push str.SetWindowCompositionAttribute
push ebx
mov dword [0x48cbb0], eax
call esi
cmp dword [0x48cbac], 0
mov dword [0x48cbc4], eax
je 0x4211cb
cmp dword [0x48cbb4], 0
je 0x4211cb
cmp dword [0x48cbc0], 0
je 0x4211cb
cmp dword [0x48cbbc], 0
je 0x4211cb
mov ecx, dword [0x48cbb8]
mov eax, dword [0x48cba8]
test ecx, ecx
jne 0x421149
test eax, eax
je 0x4211cb
cmp dword [0x48cbb0], 0
je 0x4211cb
mov byte [0x48cba5], 1
test ecx, ecx
je 0x421163
push 1
call ecx
jmp 0x42116b
test eax, eax
je 0x42116b
push 1
call eax
call dword [0x48cbb4]
call dword [0x48cbc0]
test al, al
je 0x4211ba
xor eax, eax
mov dword [esp + 0x18], 0xc
push eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1c]
push eax
push 0xc
push 0x42
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x4211a9
mov al, byte [esp + 0x1c]
and al, 1
jne 0x4211ba
pop edi
mov al, 1
pop esi
mov byte [0x48cba4], al
movzx eax, al
pop ebx
add esp, 0x18
ret
pop edi
xor al, al
pop esi
mov byte [0x48cba4], al
movzx eax, al
pop ebx
add esp, 0x18
ret
mov al, byte [0x48cba4]
pop edi
pop esi
movzx eax, al
pop ebx
add esp, 0x18
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x422930
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468d65
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x488540]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 1
push 0
push 0
mov dword [ebp - 4], 0
push dword [ebp + 8]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
or edi, 0xffffffff
cmp eax, 0x20
jg 0x4229e1
call fcn.00431d31
mov ecx, eax
test ecx, ecx
je 0x422a13
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x10]
push dword [ebp + 8]
push str.url.dll_FileProtocolHandler__s
push eax
call fcn.00408d30
mov esi, dword [ebp - 0x10]
add esp, 0xc
push 1
push 0
push esi
push str.rundll32.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4229e1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x422a00
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00402eb0
int3
Function at 0x426560
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x488540]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push edi
mov edi, ecx
push dword [edi + 0xd4]
push SysReAllocString
push 0x479fc4
push str.Setting
call esi
push dword [edi + 0xd4]
mov ebx, eax
push SysReAllocString
push 0x479fc8
push str.Setting
call esi
mov esi, eax
lea eax, [esp + 0x34]
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
add eax, ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x38]
add eax, esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x50], eax
lea eax, [esp + 0x44]
push 0
push eax
call dword [sym.imp.USER32.dll_MonitorFromRect]
test eax, eax
jne 0x42660e
push eax
mov ecx, edi
call fcn.004346fe
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0044c3da
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x20]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push eax
push 5
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x18], 0x24
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
cmp dword [esp + 0x24], 0
jg 0x4266b6
cmp dword [esp + 0x20], 0
jg 0x4266b6
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
sub ecx, dword [esp + 0x58]
sub eax, dword [esp + 0x54]
cmp ecx, eax
jle 0x4266a4
cmp ebx, eax
jl 0x4266ac
push 5
push 0
push 0
mov eax, ebx
push esi
push eax
jmp 0x4266be
cmp esi, ecx
jge 0x4266aa
mov esi, ecx
mov eax, ebx
push 5
push 0
push 0
push esi
push eax
jmp 0x4266be
push 5
push 0
push 0
push esi
push ebx
push 0
mov ecx, edi
call fcn.00433038
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0044c3da
mov esp, ebp
pop ebp
ret
Function at 0x427510
Capabilities:
Read .ini file

Disassembly:
movzx ecx, byte [esp + 8]
push esi
mov eax, ecx
shl eax, 8
push edi
push dword [esp + 0x14]
or eax, ecx
shl eax, 8
or eax, ecx
push eax
push dword [esp + 0x14]
push str.Color
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [esp + 0xc]
or edi, 0xffffffff
movzx esi, ax
add edx, 0xfffffff0
movzx ecx, al
shr esi, 8
shl ecx, 8
or esi, ecx
shr eax, 0x10
movzx eax, al
shl esi, 8
or esi, eax
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42756e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x427587
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
pop edi
mov eax, esi
pop esi
ret 0xc
Function at 0x42b420
Capabilities:
Get file version info

Disassembly:
sub esp, 0x210
mov eax, dword [0x488540]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push esi
push edi
push 0x200
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], 0
push 0
push eax
mov ebx, edx
mov dword [esp + 0x18], 0
mov esi, ecx
call fcn.0044e5d0
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
xor ecx, ecx
mov dword [esp + 0x10], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00440bf8
add esp, 4
mov edi, eax
push edi
push dword [esp + 0x14]
push 0
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x42b530
mov esi, dword [sym.imp.VERSION.dll_VerQueryValueW]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x10]
push eax
push 0x475ab8
push edi
call esi
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x10]
push eax
push 0x47b510
push edi
call esi
mov eax, dword [esp + 0xc]
push 0x47b544
mov ecx, dword [eax]
mov eax, ecx
shr eax, 0x10
push eax
movzx eax, cx
push eax
lea eax, [esp + 0x24]
push str.StringFileInfo_04X_04X_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x20]
push eax
push edi
call esi
push dword [esp + 0xc]
lea eax, [esp + 0x1c]
push 0x100
push eax
call fcn.00453233
add esp, 0xc
test ebx, ebx
je 0x42b530
push dword [esp + 0xc]
push 0x100
push ebx
call fcn.00453233
add esp, 0xc
push edi
call fcn.00440bf3
add esp, 4
lea eax, [esp + 0x18]
mov ecx, 0x4753f0
pop edi
pop esi
pop ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42b56b
test dx, dx
je 0x42b567
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42b56b
add eax, 4
add ecx, 4
test dx, dx
jne 0x42b545
xor eax, eax
jmp 0x42b570
sbb eax, eax
or eax, 1
test eax, eax
je 0x42b5a1
lea eax, [esp + 0xc]
push eax
call fcn.00457242
fmul qword [0x47dcc0]
add esp, 4
call fcn.0044ccc0
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0044c3da
add esp, 0x210
ret
mov ecx, dword [esp + 0x20c]
xor eax, eax
xor ecx, esp
call fcn.0044c3da
add esp, 0x210
ret
Function at 0x42b5c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4677e5
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x488540]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x14], ecx
call fcn.00431d31
mov ecx, eax
test ecx, ecx
je 0x42b772
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.00402800
test al, al
jne 0x42b649
test esi, esi
jne 0x42b623
xor ecx, ecx
jmp 0x42b63f
mov ecx, esi
lea edx, [ecx + 2]
jmp 0x42b630
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42b630
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x10]
call fcn.004029e0
push str._3D
push 0x47b5b8
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 1
call fcn.0041a010
push 0x47b5bc
push 0x478604
lea ecx, [ebp - 0x10]
call fcn.0041a010
push dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp - 0x10]
push 0x100
push ebx
push dword [ebp + 8]
push edi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x18], eax
call fcn.00431d31
mov ecx, eax
test ecx, ecx
je 0x42b77c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push ebx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00402800
test al, al
jne 0x42b6e9
test ebx, ebx
jne 0x42b6c6
xor ecx, ecx
jmp 0x42b6df
mov ecx, ebx
lea edx, [ecx + 2]
jmp 0x42b6d0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42b6d0
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x14]
call fcn.004029e0
push 0x47b5b8
push str._3D
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.0041a010
push 0x478604
push 0x47b5bc
lea ecx, [ebp - 0x14]
call fcn.0041a010
mov esi, dword [ebp - 0x14]
push esi
push 0x100
push ebx
call fcn.00453233
lea edx, [esi - 0x10]
mov byte [ebp - 4], 1
or esi, 0xffffffff
add esp, 0xc
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42b741
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x42b75d
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402eb0
push 0x80004005
call fcn.00402eb0
int3
Function at 0x4320ce
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x84], 0
mov esi, dword [ebx + 0x8c]
mov edi, dword [ebx + 0x88]
je 0x432116
call fcn.0043d13c
push 5
push dword [ebx + 0x84]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x432116
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x432123
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
xor eax, eax
inc eax
test esi, esi
je 0x43215f
mov edx, 0xffff
lea ecx, [esi + 0xc]
cmp word [esi + 2], dx
jne 0x432142
movzx edi, word [esi + 0x12]
movzx edx, word [esi + 0x14]
jmp 0x43214b
movzx edx, word [ecx]
mov ecx, esi
movzx edi, word [esi + 0xa]
test dword [ecx], 0x1801
jne 0x43215d
test di, di
jne 0x43215d
test dx, dx
je 0x43215f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x432164
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [esi + 0x84], edi
test edi, 0xffff0000
jne 0x43218f
cmp dword [esi + 0x80], 0
jne 0x43218f
movzx eax, di
mov dword [esi + 0x80], eax
call fcn.0043d13c
push 5
push edi
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4321bf
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4321bf
push ebx
push dword [ebp + 0xc]
mov ecx, esi
push eax
call fcn.004323e3
jmp 0x4321c1
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4324b8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x469cf7
call fcn.0044c8cf
mov edi, ecx
mov dword [ebp - 0x24], edi
mov ebx, dword [edi + 0x8c]
mov esi, dword [edi + 0x88]
mov dword [ebp - 0x18], ebx
call fcn.0043d13c
cmp dword [edi + 0x84], 0
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
je 0x432517
call fcn.0043d13c
push 5
push dword [edi + 0x84]
mov ebx, dword [eax + 0xc]
push ebx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x43252b
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, dword [ebp - 0x18]
mov esi, eax
test esi, esi
je 0x432527
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 0x18], eax
test ebx, ebx
jne 0x432533
or eax, 0xffffffff
jmp 0x432685
mov ecx, edi
call fcn.00432ac2
mov ebx, eax
mov dword [ebp - 0x2c], ebx
call fcn.00433d45
xor esi, esi
and dword [ebp - 0x1c], esi
and dword [ebp - 0x28], esi
mov dword [ebp - 0x14], esi
test ebx, ebx
je 0x4325bf
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebx, eax
je 0x4325bf
push ebx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4325bf
push esi
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x14], 1
call fcn.00432038
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x4325bc
mov ecx, dword [esi]
mov esi, dword [ecx + 0x150]
mov ecx, esi
call dword [0x46c6b4]
mov ecx, dword [ebp - 0x1c]
call esi
test eax, eax
je 0x4325bc
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.00432e6f
test eax, eax
je 0x4325bc
push 0
mov ecx, esi
call fcn.00432cf5
mov dword [ebp - 0x28], 1
mov esi, dword [ebp - 0x14]
and dword [ebp - 4], 0
push edi
call fcn.00433b96
push ebx
call fcn.00435085
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.0043245b
test eax, eax
jne 0x432608
cmp dword [edi + 0x9c], eax
jne 0x432608
call fcn.0043d13c
push ebx
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
call fcn.00435085
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.0043245b
and dword [edi + 0x9c], 0
jmp 0x432633
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x28], 0
je 0x432647
mov ecx, dword [ebp - 0x1c]
push 1
call fcn.00432cf5
test esi, esi
je 0x432654
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
test ebx, ebx
je 0x43266a
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi + 0x20]
jne 0x43266a
push ebx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [edi]
mov esi, dword [eax + 0x60]
mov ecx, esi
call dword [0x46c6b4]
mov ecx, edi
call esi
mov ecx, edi
call fcn.00432a79
mov eax, dword [edi + 0x68]
call fcn.0044c834
ret
Function at 0x435018
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
cmp dword [ebp + 8], esi
je 0x435057
call fcn.0043d13c
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x435057
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x43505f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.004310f1
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x435729
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x4357b5
cmp dword [esi + 0x20], 0
je 0x4357b5
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4357b5
cmp dword [ebp + 8], 0
je 0x4357b5
xor edi, edi
mov ebx, edi
call fcn.0043d13c
push 0x46d898
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
test eax, eax
je 0x435799
mov ebx, dword [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 8]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4357b5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.00444a37
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4357b1
mov ecx, esi
call fcn.00435503
mov eax, edi
jmp 0x4357b7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x43c199
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 0x43c1ec
push esi
push dword [ebp + 8]
call fcn.0043c382
mov edi, eax
test edi, edi
je 0x43c1e7
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_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x43c1e7
mov eax, dword [ebp - 8]
jmp 0x43c1fe
mov eax, dword [ebp + 0x10]
jmp 0x43c1fe
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
leave
ret 0xc
Function at 0x43c204
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46a20e
mov eax, dword fs:[0]
push eax
mov eax, 0x201c
call fcn.0044c9e0
mov eax, dword [0x488540]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x201c], edi
mov dword [ebp - 0x2024], eax
cmp dword [ecx + 0x58], ebx
je 0x43c335
push ebx
push edx
call fcn.0043c382
mov ebx, eax
test ebx, ebx
jne 0x43c26c
push esi
jmp 0x43c35d
lea ecx, [ebp - 0x2014]
call fcn.00408e80
xor ecx, ecx
lea eax, [ebp - 0x2018]
push eax
push ecx
lea eax, [ebp - 0x2020]
mov dword [ebp - 4], ecx
push eax
push ecx
push dword [ebp - 0x2024]
mov dword [ebp - 0x2020], ecx
push ebx
mov dword [ebp - 0x2018], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x201c], eax
test eax, eax
jne 0x43c2f4
mov eax, dword [ebp - 0x2018]
lea ecx, [ebp - 0x2014]
shr eax, 1
push eax
call fcn.00402d40
lea ecx, [ebp - 0x2018]
push ecx
push eax
lea eax, [ebp - 0x2020]
push eax
push 0
push dword [ebp - 0x2024]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x2014]
mov dword [ebp - 0x201c], eax
call fcn.00431ee1
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x201c], 0
jne 0x43c322
mov esi, dword [ebp - 0x2014]
add esi, 0xfffffff0
push esi
call fcn.00402510
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.00402e00
jmp 0x43c364
push esi
mov ecx, edi
call fcn.00402b40
mov ecx, dword [ebp - 0x2014]
lea ecx, [ecx - 0x10]
jmp 0x43c31b
test esi, esi
jne 0x43c33e
mov esi, 0x4753f0
push dword [ecx + 0x6c]
lea ecx, [ebp - 0x2010]
push 0x1000
push ecx
push esi
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x2010]
push eax
mov ecx, edi
call fcn.00402b40
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044c3da
leave
ret 0x10

Function at 0x43d283
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.0043d2dc
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x43d2cb
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00431ebe
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00431ee1
jmp 0x43d2d6
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004433c3
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x4400d9
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
lea eax, [ebp - 4]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x440103
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x440109
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
pop esi
leave
ret
lea ecx, [esi + 0xc]
call fcn.00402670
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.00449061
int3

Function at 0x4403e4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
push esi
mov esi, ecx
jne 0x4403f5
xor eax, eax
jmp 0x440411
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x440416
mov eax, dword [ebp - 4]
pop esi
leave
ret 8
lea ecx, [esi + 0xc]
call fcn.00402670
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.00449061
int3

Function at 0x4404b4
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
push 0
push dword [ebp + 0xc]
mov eax, dword [edi]
push dword [ebp + 8]
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x46c6b4]
mov ecx, edi
call esi
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x4404e7
pop edi
pop esi
pop ebp
ret 8
lea ecx, [edi + 0xc]
call fcn.00402670
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.00449061
int3

Function at 0x4405c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
test esi, esi
je 0x4405eb
push 0
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4405f1
cmp dword [ebp - 4], esi
jne 0x440608
pop edi
pop esi
leave
ret 8
lea ecx, [edi + 0xc]
call fcn.00402670
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.00449061
lea ecx, [edi + 0xc]
call fcn.00402670
push eax
push 0xffffffffffffffff
push 0xd
call fcn.00448cb7
int3