joyce8/EMBER2024-capa huggingface dataset:
Function at 0x489bd0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4e7a4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x41c
push ebx
push ebp
push esi
mov ebx, ecx
push edi
push ecx
xor esi, esi
xor ebp, ebp
mov ecx, esp
mov dword [esp + 0x14], esp
push str.SearchEngine.ini
mov dword [esp + 0x2c], ebx
mov dword [ebx + 4], esi
mov dword [esp + 0x30], 1
mov dword [esp + 0x28], ebp
call fcn.004c57f5
mov ecx, dword [0x52790c]
lea eax, [esp + 0x14]
push eax
call fcn.0047dea0
mov dword [esp + 0x434], esi
jmp 0x489c36
mov ebx, dword [esp + 0x24]
lea ecx, [esp + 0x15]
push 0xa
push ecx
push ebp
mov byte [esp + 0x20], 0x4e
call fcn.004b0136
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x2c]
push edx
push 0x400
push eax
lea ecx, [esp + 0x20]
push 0x5269d8
push ecx
push str.SearchEngine
call edi
cmp eax, esi
jne 0x489c7e
mov dword [esp + 0x28], esi
jmp 0x489d91
push 0x14
call fcn.004c5dbe
add esp, 4
cmp eax, esi
je 0x489ca9
mov edx, dword [0x52251c]
mov esi, eax
mov dword [eax + 8], edx
mov ecx, dword [0x52251c]
mov dword [eax + 0xc], ecx
mov edx, dword [0x52251c]
mov dword [eax + 0x10], edx
lea eax, [esp + 0x2c]
lea ecx, [esi + 8]
push eax
call fcn.004c5910
lea ecx, [esp + 0x15]
push 0xa
push ecx
push ebp
call fcn.004b0136
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x14]
push edx
push 0x400
push eax
push 0x5269d8
push ecx
push str.SearchEngine
mov byte [esp + 0x2c], 0x53
call edi
lea edx, [esp + 0x2c]
lea ecx, [esi + 0xc]
push edx
call fcn.004c5910
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x2c]
push eax
push 0x400
push ecx
lea edx, [esp + 0x20]
push 0x5269d8
push edx
push str.SearchEngine
mov byte [esp + 0x2c], 0x49
call edi
lea ebp, [esi + 0x10]
lea eax, [esp + 0x2c]
push eax
mov ecx, ebp
call fcn.004c5910
mov ecx, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push ecx
lea edx, [esp + 0x18]
push 0
push edx
push str.SearchEngine
mov byte [esp + 0x24], 0x43
call edi
mov dword [esi], eax
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push 0
push ecx
push str.SearchEngine
mov byte [esp + 0x24], 0x50
call edi
lea edi, [ebx + 8]
mov dword [esi + 4], eax
push 0xffffffffffffffff
mov ecx, edi
mov ebx, dword [edi + 8]
lea edx, [ebx + 1]
push edx
call fcn.0040d4c0
mov eax, dword [edi + 4]
mov dword [eax + ebx*4], esi
mov ecx, dword [ebp]
mov eax, dword [ecx - 8]
test eax, eax
je 0x489d91
mov eax, dword [esp + 0x24]
inc dword [eax + 4]
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
xor esi, esi
inc ebp
cmp eax, esi
mov dword [esp + 0x20], ebp
jne 0x489c32
lea ecx, [esp + 0x10]
mov dword [esp + 0x434], 0xffffffff
call fcn.004c5787
mov ecx, dword [esp + 0x42c]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x428
ret
Function at 0x48c330
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
lea eax, [esp + 4]
mov dword [esp], 0xfffffc19
push eax
push str.PerfStatsStatData
push reloc.OLEAUT32.dll_SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x48c388
lea ecx, [esp + 8]
lea edx, [esp]
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push str.Dial_Up_AdapterTotalBytesRecvd
push ecx
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp]
add esp, 0x10
ret

Function at 0x48e023
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi]
call dword [eax + 0x104]
test eax, eax
je 0x48e0d2
push ebx
lea ecx, [esp + 8]
push edi
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push edx
push eax
mov ecx, esi
call fcn.0048df90
xor ecx, ecx
cmp eax, 0x14
sete cl
push 1
mov edi, ecx
call dword [sym.imp.USER32.dll_GetKeyState]
mov ebx, dword [esi + 0xec]
xor ecx, ecx
test ax, ax
setl cl
test edi, edi
je 0x48e083
test ecx, ecx
je 0x48e083
mov eax, 1
jmp 0x48e085
xor eax, eax
mov edx, dword [esi + 0xf0]
mov dword [esi + 0xec], eax
test edi, edi
je 0x48e0a0
test ecx, ecx
jne 0x48e0a0
mov ecx, 1
jmp 0x48e0a2
xor ecx, ecx
xor eax, ebx
pop edi
mov dword [esi + 0xf0], ecx
pop ebx
jne 0x48e0b6
xor ecx, edx
jne 0x48e0b6
xor eax, eax
jmp 0x48e0bb
mov eax, 1
test eax, eax
je 0x48e0d2
mov edx, dword [esi + 0x1c]
push 0
push 0
push 0x85
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
pop esi
add esp, 8
ret 8
Function at 0x48e0f0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4e8028
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov dword [esp + 0x24], eax
lea esi, [eax + 0xb]
add eax, 0xfffffffd
lea edx, [ecx + 0xb]
mov dword [esp + 0x24], eax
mov eax, dword [edi]
sub ecx, 2
add edx, 2
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x40]
mov dword [esp + 0x20], ecx
test eax, eax
mov dword [esp + 0x28], edx
je 0x48e158
push 0x14
call ebx
push eax
push 0x10
call ebx
push eax
lea eax, [esp + 0x28]
push eax
jmp 0x48e16e
mov eax, dword [edi + 4]
test eax, eax
je 0x48e175
push 0x10
call ebx
push eax
push 0x14
call ebx
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, esi
call fcn.004d1b82
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.GDI32.dll_GetTextColor]
mov edx, dword [esi]
push 0x12
mov ebp, eax
mov dword [esp + 0x44], edx
call ebx
push eax
mov eax, dword [esp + 0x44]
mov ecx, esi
call dword [eax + 0x30]
push 1
mov ecx, esi
call fcn.004c8719
mov ebx, eax
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], vtable.CFont.0
mov ecx, dword [esi + 8]
push 0x58
push ecx
mov dword [esp + 0x40], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 0x60
push 0x3c
call dword [sym.imp.KERNEL32.dll_MulDiv]
push 0
push str.Marlett
push eax
lea ecx, [esp + 0x24]
call fcn.004d1c17
mov edx, dword [esi]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call dword [edx + 0x28]
push 0x521dd4
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], eax
call fcn.004c57f5
mov ecx, dword [edi + 0xc]
mov eax, dword [eax]
mov edi, dword [edi + 8]
mov edx, dword [esi]
mov dword [esp + 0x40], ecx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x48]
add edi, 2
push eax
push edi
mov ecx, esi
mov byte [esp + 0x48], 1
call dword [edx + 0x5c]
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 0
call fcn.004c5787
mov eax, dword [esp + 0x14]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x28]
push ebx
mov ecx, esi
call fcn.004c8719
mov edx, dword [esi]
push ebp
mov ecx, esi
call dword [edx + 0x30]
mov dword [esp + 0x18], vtable.CGdiObject.0
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 2
call fcn.004c901f
pop edi
pop esi
mov ecx, dword [esp + 0x28]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
Function at 0x48f530
Capabilities:
Access peb ldr_data
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4e829c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x834
mov eax, dword [str.state]
mov edx, dword [str.name]
mov dword [esp + 0xc], ecx
push ebx
mov cx, word [0x51c894]
push ebp
push esi
mov dword [esp + 0x30], eax
mov al, byte [0x51c88c]
mov word [esp + 0x34], cx
mov ecx, dword [0x51c884]
mov dword [esp + 0x1c], edx
mov edx, dword [0x52251c]
xor esi, esi
push edi
mov dword [esp + 0x3a], esi
mov byte [esp + 0x24], al
mov dword [esp + 0x25], esi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], esi
xor ebx, ebx
mov dword [esp + 0x10], edx
mov ebp, dword [esp + 0x854]
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x84c], esi
cmp ecx, 9
jne 0x48f5f6
push str.LastVisit.ini
lea eax, [esp + 0x1c]
push 0x52702c
push eax
call fcn.004c5a1c
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x850], 1
call fcn.004c58c0
lea ecx, [esp + 0x18]
mov byte [esp + 0x84c], bl
call fcn.004c5787
jmp 0x48f649
push str.PreviousVisit.ini
lea ecx, [esp + 0x1c]
push 0x52702c
push ecx
call fcn.004c5a1c
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x850], 2
call fcn.004c58c0
lea ecx, [esp + 0x18]
mov byte [esp + 0x84c], 0
call fcn.004c5787
mov edx, dword [esp + 0x1c]
push 0
push 0
push 0x1004
mov eax, dword [edx + 0xbc]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, eax
mov ecx, dword [0x52251c]
mov dword [esp + 0x14], ecx
mov byte [esp + 0x84c], 3
lea edx, [esp + 0x24]
push 0xa
push edx
push esi
call fcn.004b0136
lea eax, [esp + 0x3b]
push 0xa
push eax
push esi
call fcn.004b0136
mov ecx, dword [esp + 0x28]
add esp, 0x18
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x44]
push ecx
push 0x800
push edx
lea eax, [esp + 0x38]
push 0
push eax
push ebp
call edi
mov al, byte [esp + 0x44]
test al, al
je 0x48f746
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x18]
call fcn.004c5910
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x44]
push edx
push 0x800
push eax
lea ecx, [esp + 0x2c]
push 0
push ecx
push ebp
call edi
lea edx, [esp + 0x39]
push 0xa
push edx
push esi
call fcn.004b0136
mov eax, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0x34]
push eax
push 0xffffffffffffffff
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 0xa
jg 0x48f6f7
cmp eax, 0xffffffff
jne 0x48f710
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call fcn.004c54fc
call fcn.0041bbc0
add esp, 4
mov ecx, dword [esp + 0x1c]
push 0
push eax
push 0
lea edx, [esp + 0x50]
push 0
lea edi, [ecx + 0xa0]
push edx
push ebx
push 3
mov ecx, edi
call fcn.004be754
mov eax, dword [esp + 0x14]
mov ecx, edi
push eax
push 1
push ebx
call fcn.004be84f
inc ebx
inc esi
jmp 0x48f65b
lea ecx, [esp + 0x14]
mov byte [esp + 0x84c], 0
call fcn.004c5787
lea ecx, [esp + 0x10]
mov dword [esp + 0x84c], 0xffffffff
call fcn.004c5787
mov ecx, dword [esp + 0x844]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x840
ret 4
Function at 0x48f790
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4e82b8
push eax
mov eax, dword [0x52790c]
mov dword fs:[0], esp
sub esp, 0x30
push ebx
mov ebx, ecx
mov ecx, dword [eax + 0x240]
push esi
dec ecx
js 0x48f8f3
push str.PreviousVisit.ini
lea edx, [esp + 0xc]
push 0x52702c
push edx
call fcn.004c5a1c
mov eax, dword [esp + 8]
mov dword [esp + 0x40], 0
push eax
push 0xffffffffffffffff
push str.Last
push str.Settings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0xc], esi
jne 0x48f81a
lea ecx, [esp + 8]
mov dword [esp + 0x40], eax
call fcn.004c5787
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret
mov ecx, dword [0x52790c]
mov eax, dword [ecx + 0x240]
dec eax
cmp esi, eax
jle 0x48f831
mov dword [esp + 0xc], eax
mov esi, eax
push ebp
push edi
mov ebp, esi
push ebp
lea edx, [esp + 0x30]
push str.LastVisit_d
push edx
call fcn.004ae2d7
mov eax, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0x18]
lea edx, [esp + 0x2c]
push eax
push 0x14
push ecx
push 0
push str.Time
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x48f8c8
push eax
push eax
mov eax, dword [ebx + 0xbc]
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x24]
mov esi, eax
push 0
lea edi, [ebx + 0xa0]
push ecx
push esi
push 3
mov ecx, edi
call fcn.004be754
push str._________________________________________________________________
push 1
push esi
mov ecx, edi
call fcn.004be84f
lea edx, [esp + 0x2c]
mov ecx, ebx
push edx
call fcn.0048f530
mov esi, dword [esp + 0x14]
test ebp, ebp
jne 0x48f8d7
mov eax, dword [0x52790c]
mov ebp, dword [eax + 0x240]
dec ebp
cmp ebp, esi
jne 0x48f835
lea ecx, [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
call fcn.004c5787
pop edi
pop ebp
mov ecx, dword [esp + 0x38]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret
Function at 0x48f910
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4e82e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x820
mov eax, dword [str.name]
mov edx, dword [0x51c884]
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov dword [esp + 0x18], eax
mov cl, byte [0x51c88c]
push str.LastClose.ini
lea eax, [esp + 0x18]
xor esi, esi
push 0x52702c
push eax
mov byte [esp + 0x28], cl
mov dword [esp + 0x29], esi
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], esi
call fcn.004c5a1c
mov ecx, dword [0x52251c]
mov dword [esp + 0x838], esi
mov dword [esp + 0x10], ecx
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov byte [esp + 0x838], 1
lea edx, [esp + 0x1c]
push 0xa
push edx
push esi
call fcn.004b0136
lea eax, [esp + 0x33]
push 0xa
push eax
push esi
call fcn.004b0136
mov ecx, dword [esp + 0x2c]
add esp, 0x18
lea edx, [esp + 0x30]
lea eax, [esp + 0x24]
push ecx
push 0x800
push edx
push 0
push eax
push str.LastClose
call ebp
mov al, byte [esp + 0x30]
test al, al
je 0x48fa42
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x14]
call fcn.004c5910
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x30]
push edx
push 0x800
push eax
lea ecx, [esp + 0x24]
push 0
push ecx
push str.LastClose
call ebp
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.004c54fc
call fcn.0041bbc0
add esp, 4
lea edi, [ebx + 0xa0]
mov ecx, edi
push 0
push eax
push 0
lea eax, [esp + 0x3c]
push 0
push eax
push esi
push 3
call fcn.004be754
mov ecx, dword [esp + 0x10]
push ecx
push 1
push esi
mov ecx, edi
call fcn.004be84f
inc esi
jmp 0x48f98b
lea ecx, [esp + 0x10]
mov byte [esp + 0x838], 0
call fcn.004c5787
lea ecx, [esp + 0x14]
mov dword [esp + 0x838], 0xffffffff
call fcn.004c5787
mov ecx, dword [esp + 0x830]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x82c
ret
Function at 0x491210
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e84b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebp
push esi
push edi
mov dword [esp + 0x30], 0
mov eax, dword [0x52790c]
mov dword [esp + 0xc], 8
xor ebp, ebp
mov ecx, dword [eax + 0x6a4]
test ecx, ecx
jbe 0x4912f7
mov edx, dword [eax + 0x9f4]
lea ecx, [esp + 0xc]
push ecx
push ebp
push 0x1305
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [esp + 0x24]
test edi, edi
je 0x4912e5
mov esi, dword [esp + 0x38]
mov eax, dword [edi + 0xdc]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x49129e
test cl, cl
je 0x49129a
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x49129e
add eax, 2
add esi, 2
test cl, cl
jne 0x49127a
xor eax, eax
jmp 0x4912a3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4912e5
mov eax, dword [edi + 0xf8]
mov esi, dword [esp + 0x3c]
add eax, 0x200
mov eax, dword [eax]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4912dc
test cl, cl
je 0x4912d8
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4912dc
add eax, 2
add esi, 2
test cl, cl
jne 0x4912b8
xor eax, eax
jmp 0x4912e1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x49132b
mov eax, dword [0x52790c]
inc ebp
cmp ebp, dword [eax + 0x6a4]
jb 0x491250
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 0
call fcn.004c5787
lea ecx, [esp + 0x3c]
mov dword [esp + 0x30], 0xffffffff
call fcn.004c5787
pop edi
pop esi
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 0
call fcn.004c5787
lea ecx, [esp + 0x3c]
mov dword [esp + 0x30], 0xffffffff
call fcn.004c5787
mov ecx, dword [esp + 0x28]
pop edi
mov eax, ebp
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x493a80
Capabilities:
Read .ini file

Disassembly:
sub esp, 0xc
push esi
lea esi, [ecx + 0xe4]
push esi
call fcn.0041c940
add esp, 4
test eax, eax
jl 0x493b0d
push 0
push eax
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call fcn.004be87a
mov ecx, dword [0x527030]
mov edx, dword [esp + 4]
push ecx
push 0
push str._GB_Option
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
xor eax, dword [esp + 0x14]
jne 0x493ad9
mov eax, dword [0x527030]
mov ecx, dword [esp + 4]
push eax
push 0
push str._GB_Option
push ecx
jmp 0x493afe
lea edx, [esp + 8]
push 0xa
push edx
push eax
call fcn.004b0136
mov eax, dword [0x527030]
mov edx, dword [esp + 0x10]
add esp, 0xc
lea ecx, [esp + 8]
push eax
push ecx
push str._GB_Option
push edx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esp + 4]
call fcn.004c5787
pop esi
add esp, 0xc
ret 4

Function at 0x496550
Capabilities:
Copy file
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4e9266
push eax
mov eax, 0x8010
mov dword fs:[0], esp
call fcn.004ae580
push ebp
push esi
mov ebp, ecx
xor esi, esi
push edi
push esi
mov eax, dword [ebp + 0x100]
push esi
push 0x1004
push eax
mov dword [esp + 0x28], ebp
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
cmp edi, 2
jl 0x496697
push str..bak
lea ecx, [esp + 0x14]
push 0x527030
push ecx
call fcn.004c5a1c
mov eax, dword [eax]
mov edx, dword [0x527030]
push esi
push eax
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x10]
call fcn.004c5787
mov ecx, dword [0x52790c]
push esi
call fcn.00464d50
mov eax, dword [0x52251c]
mov dword [esp + 0xc], eax
cmp edi, esi
mov dword [esp + 0x8024], esi
jle 0x49667c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
add ebp, 0xe4
push 0
lea ecx, [esp + 0x18]
push esi
push ecx
mov ecx, ebp
call fcn.004be87a
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x802c], 1
call fcn.004c58c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x8028], 0
call fcn.004c5787
push str..bak
lea edx, [esp + 0x1c]
push 0x527030
push edx
call fcn.004c5a1c
mov eax, dword [eax]
mov ecx, dword [esp + 0x10]
push eax
lea eax, [esp + 0x24]
push 0x8000
push eax
push ecx
call ebx
lea ecx, [esp + 0x18]
call fcn.004c5787
mov edx, dword [0x527030]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x20]
push edx
push eax
push ecx
invalid
invalid
invalid
Function at 0x496c20
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4e932b
push eax
mov dword fs:[0], esp
sub esp, 0x108
push ebx
push esi
mov esi, dword [esp + 0x120]
push 0x51c7bc
mov ebx, ecx
push esi
call fcn.004ad970
add esp, 8
test eax, eax
je 0x496ccd
push 0x51c94c
push esi
call fcn.004ad970
add esp, 8
test eax, eax
je 0x496c92
push edi
lea edi, [eax + 3]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
jmp 0x496cb1
mov ecx, dword [0x527030]
lea edx, [esp + 0xc]
push ecx
push 0x104
push edx
push 0
push str._GB_PageTitle
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [esp + 0x124]
lea eax, [esp + 0xc]
push eax
push 1
push ecx
lea ecx, [ebx + 0xe4]
call fcn.004be84f
jmp 0x496d41
mov edx, dword [0x527030]
lea eax, [esp + 0xc]
push edx
push 0x104
push eax
push 0
push str._GB_UserName
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [0x52251c]
mov dword [esp + 8], ecx
lea edx, [esp + 8]
lea eax, [esp + 0xc]
push edx
push eax
mov dword [esp + 0x120], 0
call fcn.00409be0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x12c]
add esp, 8
push ecx
push 1
push edx
lea ecx, [ebx + 0xe4]
call fcn.004be84f
lea ecx, [esp + 8]
mov dword [esp + 0x118], 0xffffffff
call fcn.004c5787
mov ecx, dword [esp + 0x110]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x114
ret 8

Function at 0x499840
Capabilities:
Get file system object information

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x160
lea ecx, [esp]
push eax
push 0x160
push ecx
push 0
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [esp + 4]
add esp, 0x160
ret 8

Function at 0x49a2e0
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x160
lea eax, [esp]
push esi
push 0x4001
push 0x160
push eax
push 0
mov esi, ecx
push 0x51e538
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x49a31b
mov ecx, dword [esi + 0x1c]
push eax
push 0
push 0x1109
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
pop esi
add esp, 0x160
ret
Function at 0x4a1500
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4ea110
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
xor eax, eax
push esi
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], vtable.CPen.0
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
push ecx
push eax
push eax
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x14]
call fcn.004c8fc8
mov esi, dword [esp + 0x30]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.004c86a4
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
mov ecx, esi
lea eax, [edi + 2]
push eax
lea eax, [esp + 0x1c]
push ebx
push eax
call fcn.004c8aa4
lea eax, [edi + 5]
mov ecx, esi
push eax
push ebx
call fcn.004c8af0
lea ebp, [edi + 3]
lea eax, [ebx + 1]
push ebp
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
call fcn.004c8aa4
lea eax, [edi + 6]
mov ecx, esi
push eax
lea eax, [ebx + 1]
push eax
call fcn.004c8af0
lea eax, [edi + 4]
lea ecx, [ebx + 2]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call fcn.004c8aa4
lea eax, [edi + 7]
mov ecx, esi
push eax
lea eax, [ebx + 2]
push eax
call fcn.004c8af0
lea eax, [ebx + 3]
push ebp
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
call fcn.004c8aa4
lea eax, [edi + 6]
mov ecx, esi
push eax
lea eax, [ebx + 3]
push eax
call fcn.004c8af0
lea eax, [edi + 2]
lea ecx, [ebx + 4]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call fcn.004c8aa4
lea eax, [edi + 5]
mov ecx, esi
push eax
lea eax, [ebx + 4]
push eax
call fcn.004c8af0
lea ecx, [edi + 1]
lea eax, [ebx + 5]
push ecx
lea edx, [esp + 0x1c]
push eax
push edx
mov ecx, esi
call fcn.004c8aa4
lea eax, [edi + 4]
mov ecx, esi
push eax
lea eax, [ebx + 5]
push eax
call fcn.004c8af0
add ebx, 6
push edi
lea eax, [esp + 0x1c]
push ebx
push eax
mov ecx, esi
call fcn.004c8aa4
push ebp
push ebx
mov ecx, esi
call fcn.004c8af0
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, esi
call fcn.004c86a4
lea ecx, [esp + 0x10]
call fcn.004c901f
mov dword [esp + 0x10], vtable.CGdiObject.0
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 1
call fcn.004c901f
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x4bc030
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 [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.004ae580
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x4bc0fb
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4bc0fb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x4bc0ae
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4bc0b9
or bh, 8
and edi, 0x8000000
je 0x4bc0d4
mov eax, dword [0x52b81c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
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 [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x4bc0fb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret