joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d600
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
lea eax, [esp + 8]
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x42d633
lea ecx, [esp + 8]
push ecx
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x42d633
pop edi
xor eax, eax
pop esi
pop ecx
ret
mov edx, dword [esp + 0x1c]
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42d640
sub eax, esi
push eax
mov eax, dword [esp + 0xc]
push edx
mov edx, dword [esp + 0x20]
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
pop ecx
ret

Function at 0x42d7b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x483bf0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
push 0x4ae07c
lea eax, [esp + 0x10]
push 0x48e258
push eax
mov esi, ecx
call fcn.00407e30
push str.___1
push eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x30], 0
call fcn.00407d70
add esp, 0x18
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
or edi, 0xffffffff
mov byte [esp + 0x18], 2
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42d820
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.htmlfile_shellopencommand
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.0042d6d0
test eax, eax
je 0x42d85f
push str.http_shellopencommand
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.0042d6d0
test eax, eax
je 0x42d85f
push str.https_shellopencommand
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.0042d6d0
test eax, eax
jne 0x42d891
mov eax, dword [esp + 8]
mov dword [esp + 0x18], edi
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x42d87e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
push str.ftp_shellopencommand
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.0042d6d0
test eax, eax
mov eax, dword [esp + 8]
mov dword [esp + 0x18], edi
je 0x42d867
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x42d8c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x10]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x42da30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x483c2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
mov eax, dword [0x4ac588]
push esi
push edi
mov dword [esp + 0x124], eax
mov dword [esp + 0x14], 0
call fcn.00461fc6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x134], 0
mov dword [esp + 0x14], 0x104
call fcn.004013b0
mov edx, dword [ebp + 0xc]
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x10]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x42db05
mov edx, dword [ebp + 0x14]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42dafa
lea eax, [esp + 0x18]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42dae2
sub eax, edx
push eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00401710
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0xc]
add esi, 0xfffffff0
push esi
call fcn.00401250
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov dword [esp + 0x134], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42db3f
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x124]
mov eax, edi
call fcn.0044af18
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x42e600
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x483c98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esp + 8], esi
mov dword [esi], method.CGopherLocator.virtual_0
mov dword [esi + 4], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], edi
mov dword [esi + 8], edi
lea ecx, [esi + 0x14]
mov dword [esp + 0x14], edi
call fcn.004609e2
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x2c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x28], 0x48fe78
mov dword [esi + 0x30], 0x11
mov dword [esi + 0x40], 0xa
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x42e6f0
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x483ceb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2d0
mov eax, dword [0x4ac588]
push ebx
push esi
push edi
mov dword [esp + 0x2d4], eax
mov ebx, ecx
push 0x4011
xor eax, eax
mov ecx, 0x58
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push 0x160
lea eax, [esp + 0x18]
push eax
push 0x10
push str..txt
call edi
mov dword [ebx + 0x44], eax
call fcn.00461fc6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0xc], esi
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x104
or eax, ecx
mov dword [esp + 0x2e4], 0
jge 0x42e796
push 0x104
lea ecx, [esp + 0x10]
call fcn.004014e0
mov esi, dword [esp + 0xc]
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test esi, esi
jne 0x42e7aa
xor eax, eax
jmp 0x42e7bb
mov eax, esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42e7b0
sub eax, edx
js 0x42e82e
cmp eax, dword [esi - 8]
jg 0x42e82e
push 0x4001
mov dword [esi - 0xc], eax
push 0x160
mov byte [eax + esi], 0
lea eax, [esp + 0x178]
push eax
push 0
push esi
call edi
mov ecx, dword [esp + 0x174]
lea eax, [esi - 0x10]
mov dword [ebx + 0x48], ecx
mov dword [esp + 0x2e4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42e80d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x2dc]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x2d4]
call fcn.0044af18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00401130
int3

Function at 0x42ea50
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x164
mov eax, dword [0x4ac588]
push ebx
push esi
push edi
mov edi, dword [esp + 0x178]
push 0x4001
mov dword [esp + 0x170], eax
push 0x160
lea eax, [esp + 0x14]
push eax
mov esi, ecx
mov ecx, dword [edi]
push 0
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x174]
push 1
push edx
push ebx
lea ecx, [esi + 0x14]
call fcn.00460c4c
push 1
push edi
push ebx
mov ecx, esi
call fcn.0042e890
mov ecx, dword [esp + 0x16c]
pop edi
pop esi
pop ebx
call fcn.0044af18
add esp, 0x164
ret 8
Function at 0x42f060
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x483da0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [0x4ac588]
push ebp
push esi
push edi
lea esi, [ecx + 0xc]
lea edi, [ecx + 8]
push esi
mov dword [esp + 0x38], eax
lea eax, [esp + 0x14]
push edi
push eax
call fcn.004019b0
push esi
lea ecx, [esp + 0x1c]
push edi
push ecx
mov dword [esp + 0x58], 0
call fcn.004019b0
add esp, 0x18
push 9
push str._skin.ini
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 1
call fcn.00401870
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
push ebp
push 0x20
lea edx, [esp + 0x1c]
push edx
push 0x488a08
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x489954
lea ecx, [esp + 0x4c]
call fcn.00401ac0
lea edx, [esp + 0x14]
push edx
push eax
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0x4c], 2
call fcn.00407d70
add esp, 0xc
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 3
call fcn.00401870
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov byte [esp + 0x40], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f141
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
mov byte [esp + 0x40], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f164
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edi, dword [esp + 0xc]
push 0x2050
push 0
push 0
push 0
push edi
push 0
call dword [sym.imp.USER32.dll_LoadImageA]
mov esi, eax
mov eax, dword [esp + 0x50]
mov dword [eax], esi
lea eax, [edi - 0x10]
mov byte [esp + 0x40], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f1a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov dword [esp + 0x40], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f1c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x38]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x2c]
pop ebp
call fcn.0044af18
add esp, 0x38
ret 0xc
Function at 0x42f1f0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x483da0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [0x4ac588]
push ebp
push esi
push edi
lea esi, [ecx + 0xc]
lea edi, [ecx + 8]
push esi
mov dword [esp + 0x38], eax
lea eax, [esp + 0x14]
push edi
push eax
call fcn.004019b0
push esi
lea ecx, [esp + 0x1c]
push edi
push ecx
mov dword [esp + 0x58], 0
call fcn.004019b0
add esp, 0x18
push 9
push str._skin.ini
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 1
call fcn.00401870
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
push ebp
push 0x20
lea edx, [esp + 0x1c]
push edx
push 0x488a08
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x489954
lea ecx, [esp + 0x4c]
call fcn.00401ac0
lea edx, [esp + 0x14]
push edx
push eax
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0x4c], 2
call fcn.00407d70
add esp, 0xc
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 3
call fcn.00401870
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov byte [esp + 0x40], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f2d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
mov byte [esp + 0x40], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f2f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edi, dword [esp + 0xc]
push 0x10
push 0x10
push 0x10
push 1
push edi
push 0
call dword [sym.imp.USER32.dll_LoadImageA]
mov esi, eax
mov eax, dword [esp + 0x50]
mov dword [eax], esi
lea eax, [edi - 0x10]
mov byte [esp + 0x40], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f330
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov dword [esp + 0x40], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f352
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x38]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x2c]
pop ebp
call fcn.0044af18
add esp, 0x38
ret 0xc
Function at 0x42f380
Capabilities:
Access peb ldr_data
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x483db8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov eax, dword [0x4ac588]
push ebx
mov dword [esp + 0x44], eax
lea eax, [ecx + 0xc]
push ebp
push eax
add ecx, 8
push ecx
lea ecx, [esp + 0x10]
push ecx
call fcn.004019b0
add esp, 0xc
push 9
xor ebx, ebx
push str._skin.ini
lea ecx, [esp + 0x10]
mov dword [esp + 0x5c], ebx
call fcn.00401870
mov ebp, dword [esp + 8]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
push ebp
push 0x20
lea edx, [esp + 0x30]
push edx
push 0x488a08
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x42f427
lea eax, [ebp - 0x10]
mov dword [esp + 0x54], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f420
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
jmp 0x42f4df
mov dl, byte [esp + 0x28]
push esi
xor eax, eax
cmp dl, bl
push edi
lea ecx, [esp + 0x30]
je 0x42f464
xor esi, esi
lea esp, [esp]
mov dl, byte [ecx]
cmp dl, 0x2c
jne 0x42f454
add eax, esi
mov byte [esp + eax + 0x18], bl
add esi, 8
xor eax, eax
jmp 0x42f45c
lea edi, [esi + eax]
mov byte [esp + edi + 0x18], dl
inc eax
mov dl, byte [ecx + 1]
inc ecx
cmp dl, bl
jne 0x42f440
xor esi, esi
mov word [esp + 0x10], bx
mov word [esp + 0x12], bx
mov word [esp + 0x14], bx
lea edi, [esp + 0x18]
lea esp, [esp]
push edi
call fcn.0044da2a
add esp, 4
mov word [esp + esi*2 + 0x10], ax
inc esi
add edi, 8
cmp esi, 3
jl 0x42f480
movzx ecx, byte [esp + 0x14]
movzx edx, byte [esp + 0x12]
movzx eax, byte [esp + 0x10]
shl ecx, 8
or ecx, edx
mov edx, dword [esp + 0x6c]
shl ecx, 8
or ecx, eax
mov dword [edx], ecx
lea eax, [ebp - 0x10]
mov dword [esp + 0x5c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
jg 0x42f4da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
mov ecx, dword [esp + 0x4c]
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x44]
pop ebx
call fcn.0044af18
add esp, 0x50
ret 0xc
Function at 0x430bd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x110
mov eax, dword [0x4ac588]
push esi
push edi
mov dword [esp + 0x114], eax
mov esi, ecx
xor eax, eax
mov byte [esp + 8], 0
mov ecx, 0x40
lea edi, [esp + 9]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 8]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x430c18
sub eax, edx
push eax
lea ecx, [esp + 0xc]
add esi, 0x10
push ecx
mov ecx, esi
call fcn.00401710
mov edx, dword [esi]
mov eax, dword [edx - 0xc]
dec eax
js 0x430c72
mov ecx, edx
cmp eax, dword [ecx - 0xc]
jg 0x430c72
movsx eax, byte [ecx + eax]
sub eax, 0x5c
je 0x430c52
push 0x5c
mov ecx, esi
call fcn.00407bd0
push 4
push str.Logo
mov ecx, esi
call fcn.00401870
mov ecx, dword [esp + 0x114]
call fcn.0044af18
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00401130
int3
Function at 0x431370
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x4ac588]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x9c], eax
cmp dword [ebx], 0
push esi
push edi
jne 0x4313cc
xor eax, eax
push eax
mov ecx, 0x22
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov esi, eax
cmp esi, 0xffffffff
je 0x4313cc
lea edx, [esp + 0x14]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
mov edi, dword [ebp + 0x10]
mov dword [edi], eax
jne 0x4313e1
xor al, al
mov ecx, dword [esp + 0xa4]
call fcn.0044af18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call fcn.0046705b
add esp, 4
push 0
lea ecx, [esp + 0x14]
push ecx
mov dword [ebx], eax
mov edx, dword [edi]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
push esi
setne bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
jne 0x431422
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
push eax
call fcn.00467056
add esp, 4
mov dword [esi], 0
mov ecx, dword [esp + 0xa4]
mov al, bl
call fcn.0044af18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x432040
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48415b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x13c
mov eax, dword [0x4ac588]
mov edx, dword [ebp + 8]
push esi
mov dword [esp + 0x138], eax
push edi
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call fcn.00431370
add esp, 0xc
test al, al
je 0x432164
mov esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x43212f
push 1
push 0x1b6
push 2
push esi
lea ecx, [esp + 0x28]
call fcn.0042f7a0
mov eax, dword [esp + 0x74]
test eax, eax
mov dword [esp + 0x14c], 0
jne 0x432101
lea ecx, [esp + 0x78]
mov dword [esp + 0x14c], 0xffffffff
call fcn.0042f8e0
lea ecx, [esp + 0x78]
mov dword [esp + 0x78], 0x48d12c
call fcn.0045cc0d
xor al, al
jmp 0x432196
lea ecx, [esp + 0x18]
call fcn.0042ef50
lea ecx, [esp + 0x78]
mov dword [esp + 0x14c], 0xffffffff
call fcn.0042f8e0
lea ecx, [esp + 0x78]
mov dword [esp + 0x78], 0x48d12c
call fcn.0045cc0d
xor eax, eax
mov ecx, 0x22
lea edi, [esp + 0xb0]
rep stosd dword es:[edi], eax
push 2
lea eax, [esp + 0xb4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov esi, eax
cmp esi, 0xffffffff
jne 0x432168
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00467056
add esp, 4
xor al, al
jmp 0x432196
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0
lea edx, [esp + 0x18]
push edx
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [esp + 0x144]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x13c]
call fcn.0044af18
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x433c90
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x24]
mov ecx, dword [0x4ade54]
push ebx
push ebp
push esi
push edi
push eax
push str.tab_page
call fcn.0042fc60
lea ecx, [esp + 0x10]
push ecx
mov esi, eax
push 0x18
push esi
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebp, eax
push esi
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov edi, dword [esp + 0x30]
mov ebx, dword [edi + 4]
mov dword [esp + 0x34], eax
cmp ebx, dword [edi + 0xc]
jge 0x433d27
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x14]
mov esi, dword [edi]
cmp esi, eax
jge 0x433d1a
mov edi, edi
mov eax, dword [esp + 0x18]
push 0xcc0020
push 0
push 0
push ebp
push eax
push ecx
mov ecx, dword [esp + 0x44]
push ebx
push esi
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + 8]
add esi, ecx
cmp esi, eax
jl 0x433cf0
mov esi, dword [esp + 0x18]
mov edx, dword [edi + 0xc]
add ebx, esi
cmp ebx, edx
jl 0x433ce8
mov edx, dword [esp + 0x34]
push edx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [0x4ade54]
call fcn.0042ead0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0xc

Function at 0x4345e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x484408
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
xor esi, esi
push edi
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], vtable.CPen.0
cmp dword [esp + 0x34], esi
mov ecx, dword [0x4ade54]
mov dword [esp + 0x24], esi
je 0x434634
lea eax, [esp + 0x34]
push eax
push str.active_border_color
push str.tab_page
call fcn.0042f380
mov ecx, dword [esp + 0x34]
push ecx
jmp 0x43464d
lea edx, [esp + 0x34]
push edx
push str.inactive_border_color
push str.tab_page
call fcn.0042f380
mov eax, dword [esp + 0x34]
push eax
push 1
push esi
call dword [sym.imp.GDI32.dll_CreatePen]
lea ecx, [esp + 0xc]
push eax
call fcn.0046c637
mov edi, dword [esp + 0x2c]
lea ecx, [esp + 0xc]
push ecx
mov ecx, edi
call fcn.0046c713
mov esi, dword [esp + 0x30]
mov edx, dword [esi + 0xc]
mov ebx, eax
mov eax, dword [esi]
push edx
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
call fcn.0046c0e8
mov edx, dword [esi + 4]
mov eax, dword [esi]
add edx, 3
push edx
push eax
mov ecx, edi
call fcn.0046bdcf
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ecx
add edx, 3
push edx
mov ecx, edi
call fcn.0046bdcf
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
sub ecx, 3
push eax
push ecx
mov ecx, edi
call fcn.0046bdcf
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
add edx, 3
push edx
push eax
mov ecx, edi
call fcn.0046bdcf
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
push ecx
push edx
mov ecx, edi
call fcn.0046bdcf
push ebx
mov ecx, edi
call fcn.0046c713
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0xc], vtable.CGdiObject.0
call fcn.0046c68e
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc