joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f770
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4fa82a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
mov eax, dword [0x531d28]
push esi
mov esi, ecx
push edi
lea ecx, [esi + 4]
mov dword [esp + 0x110], eax
mov dword [esp + 8], esi
mov dword [esi], 0x50b738
call fcn.00401270
mov dword [esp + 0x11c], 0
mov dword [esi + 0x24], 0
lea edi, [esi + 0x28]
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x11c], 1
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x2c], eax
push 0x104
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x124], 2
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [esp + 0xc]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44f810
sub eax, edx
push eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call fcn.00401880
push 0xd
push str.ShortCut.ini
mov ecx, edi
call fcn.00401bb0
mov ecx, esi
call fcn.0044eb00
mov ecx, dword [esp + 0x114]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x10c]
mov eax, esi
pop esi
call fcn.004d40be
add esp, 0x118
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x4fae3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x50be5c
mov eax, dword [esi + 0x28]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x14], edi
mov dword [esi + 0x24], 0x502cc4
je 0x453e5e
mov eax, dword [eax]
cmp eax, edi
jne 0x453e58
mov ecx, dword [esi + 0x38]
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
call fcn.004e3c8f
mov dword [esi + 0x38], edi
add esi, 4
lea eax, [esi + 8]
push eax
mov dword [esp + 0x18], 0xffffffff
mov dword [esi], 0x5028c4
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, esi
call fcn.004ca013
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4560b0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4fb181
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x284
push ebp
push esi
push edi
mov esi, ecx
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ebp, [eax + 0x10]
mov dword [esp + 0xc], ebp
mov eax, dword [esi + 0x120]
cmp eax, 1
mov dword [esp + 0x298], 0
jbe 0x4561ca
test eax, eax
jbe 0x456109
mov eax, dword [esi + 0x124]
jmp 0x45610b
xor eax, eax
push ebx
mov bl, byte [eax]
mov byte [esp + 0x18], bl
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
movsx eax, bl
push eax
lea ecx, [esp + 0x18]
push 0x50c218
push ecx
mov byte [esp + 0x2a8], 1
call fcn.00401c40
mov edi, dword [esp + 0x20]
add esp, 0xc
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4561a3
mov ebx, dword [esp + 0x18]
push ebx
call fcn.0042cb60
mov ecx, eax
call fcn.00459110
test eax, eax
jne 0x4561a3
mov edx, dword [esi + 0x17c]
push edx
lea ecx, [esp + 0x20]
call fcn.004585c0
push ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0x2a0], 2
call fcn.00458540
lea ecx, [esp + 0x1c]
call fcn.004e5b25
lea ecx, [esp + 0x1c]
mov byte [esp + 0x29c], 1
call fcn.00458460
lea eax, [edi - 0x10]
or edi, 0xffffffff
mov byte [esp + 0x29c], 0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop ebx
jg 0x4561cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x4561cd
or edi, 0xffffffff
mov ecx, esi
call fcn.004446e0
test eax, eax
jne 0x456260
cmp dword [esi + 0x120], 1
lea eax, [esi + 8]
lea ecx, [esp + 0xc]
push eax
jbe 0x456209
push 0x50c1f4
push ecx
call fcn.00401c40
mov esi, dword [esi + 0x17c]
add esp, 0xc
test esi, esi
jne 0x456210
xor eax, eax
jmp 0x456213
push 0x50c1d4
jmp 0x4561f2
mov eax, dword [esi + 0x1c]
mov esi, dword [esp + 0xc]
push 0x40
push 0x503594
push esi
push eax
call fcn.0042bd20
lea eax, [esi - 0x10]
add esp, 0x10
mov dword [esp + 0x298], edi
lea edx, [eax + 0xc]
lock xadd dword [edx], edi
dec edi
test edi, edi
jg 0x456246
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x284]
mov dword fs:[0], ecx
add esp, 0x290
ret
mov ecx, esi
call fcn.00455e80
mov esi, eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x298], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x456287
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x290]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x290
ret
Function at 0x456800
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fb236
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
push edi
lea ecx, [esi + 4]
mov dword [esp + 0x10], esi
mov dword [esi], 0x50c224
call fcn.00401270
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], eax
lea edi, [esi + 0x30]
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi], eax
lea eax, [esp + 0xc]
push eax
mov byte [esp + 0x20], 1
call fcn.00483220
push str.WallPaperWallPaper.ini
push eax
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0x2c], 2
call fcn.00401e30
add esp, 0x10
push eax
mov ecx, edi
mov byte [esp + 0x20], 3
call fcn.00403fd0
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov byte [esp + 0x1c], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4568a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x1c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4568c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x45727a
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4fb318
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
lea ebx, [esi + 4]
push edi
mov ecx, ebx
mov dword [esp + 0x18], ebx
call fcn.00401300
mov eax, dword [esi + 0x30]
sub eax, 0x10
push eax
mov dword [esp + 0x28], 0
call fcn.004013d0
add esp, 4
add eax, 0x10
push 0x80
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov byte [esp + 0x24], 1
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
lea edi, [esi + 0x24]
push edi
push 0x50b73c
push 0x502f4c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 2
call fcn.0047eef0
lea ebp, [esi + 0x28]
push ebp
push str.Type
push 0x502f4c
lea ecx, [esp + 0x1c]
call fcn.0047eef0
lea eax, [esp + 0x14]
push eax
push str.File
push 0x502f4c
lea ecx, [esp + 0x1c]
call fcn.0047f010
mov ecx, dword [esp + 0x14]
mov edx, dword [edi]
mov eax, dword [ebp]
push ecx
push edx
push eax
mov ecx, esi
call fcn.004568e0
test eax, eax
je 0x457337
mov dword [esi + 0x2c], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x24], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45735a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x24], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45737d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebx]
mov ecx, ebx
mov dword [esp + 0x24], 0xffffffff
call dword [eax + 0x14]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret

Function at 0x457f30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fb41e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
lea edi, [esi + 4]
mov ecx, edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x50c6bc
call fcn.00401270
mov dword [esp + 0x1c], 0
lea ebp, [esi + 0x24]
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp], eax
mov ecx, edi
mov byte [esp + 0x1c], 1
mov dword [esp + 0x10], edi
call fcn.00401300
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
push eax
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x28]
push eax
push str._s_d.dat
push ebp
mov byte [esp + 0x2c], 2
mov dword [esi + 0x34], ecx
mov dword [esi + 0x38], edx
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
call fcn.00401c40
mov edx, dword [edi]
add esp, 0x10
mov ecx, edi
mov byte [esp + 0x1c], 1
call dword [edx + 0x14]
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret 0x10
Function at 0x458ed0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4fb528
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], 0
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov dword [esp + 0x18], 0
xor esi, esi
movsx eax, byte [edi + 4]
push esi
push eax
lea ecx, [esp + 0x14]
push str.D:Swap_c_d.sys
push ecx
call fcn.00401c40
lea edx, [esp + 0x1c]
push edx
call fcn.00487690
mov eax, dword [esp + 0x20]
add esp, 0x14
push eax
call ebx
test eax, eax
je 0x458f49
inc esi
cmp esi, 0x10
jl 0x458f16
mov esi, dword [esp + 0xc]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
add esi, 0xfffffff0
call dword [edx + 0x10]
mov edx, dword [esi + 0xc]
test edx, edx
lea ecx, [esi + 0xc]
jl 0x458f73
cmp eax, dword [esi]
jne 0x458f73
mov eax, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x458fa6
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 1
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
jne 0x458f88
call fcn.0041bff0
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 4]
inc ecx
mov edx, ecx
shr ecx, 2
add esi, 0x10
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x20]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x458fd5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x458ff0
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x4fb548
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
push edi
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
movsx eax, byte [esp + 0x24]
push eax
lea ecx, [esp + 0xc]
push 0x50c218
push ecx
mov dword [esp + 0x28], 0
call fcn.00401c40
mov edi, dword [esp + 0x14]
add esp, 0xc
push 0
push 0
lea edx, [esp + 0x14]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov esi, eax
neg esi
sbb esi, esi
lea eax, [edi - 0x10]
neg esi
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45907b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x459aa0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4fb639
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
xor edi, edi
mov ecx, 0x11
mov eax, 0xa
mov dword [esp + 8], esi
mov dword [esi], 0x50c8dc
mov dword [esi + 4], edi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], eax
mov dword [esp + 0x18], edi
mov dword [esi + 0x1c], 0x50c8e8
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], eax
lea ecx, [esi + 0x38]
mov byte [esp + 0x18], 1
call fcn.00401270
push 0xf4
mov byte [esp + 0x1c], 2
call fcn.004e50ce
add esp, 4
mov dword [esp + 0xc], eax
cmp eax, edi
mov byte [esp + 0x18], 3
je 0x459b37
push esi
mov ecx, eax
call fcn.0045a3e0
jmp 0x459b39
xor eax, eax
mov ecx, esi
mov byte [esp + 0x18], 2
mov dword [esi + 0x58], eax
call fcn.00459920
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x4fb8b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 4]
push edi
mov ecx, ebx
mov dword [esp + 0xc], ebx
call fcn.00401300
mov edi, dword [esp + 0x20]
mov eax, dword [edi + 4]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 8]
mov dword [esi + 0x2c], ecx
mov edx, dword [edi + 0xc]
lea eax, [edi + 0x10]
push eax
lea ecx, [esi + 0x34]
mov dword [esp + 0x1c], 0
mov dword [esi + 0x30], edx
call fcn.0040fff0
mov cx, word [edi + 0x18]
mov word [esi + 0x3c], cx
mov edx, dword [edi + 0x1c]
mov dword [esi + 0x40], edx
mov al, byte [edi + 0x20]
mov byte [esi + 0x44], al
mov ecx, dword [edi + 0x24]
mov dword [esi + 0x48], ecx
mov edx, dword [ebx]
mov ecx, ebx
mov dword [esp + 0x18], 0xffffffff
call dword [edx + 0x14]
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x45c490
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x4fb928
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
xor ebx, ebx
mov dword [esp + 0x28], ebx
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
lea eax, [esp + 0xb]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, esi
mov byte [esp + 0x34], 1
call fcn.0045c340
test eax, eax
je 0x45c5cd
push ebp
push edi
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
movsx eax, byte [esp + 0x13]
push eax
lea ecx, [esp + 0x20]
push 0x50c218
push ecx
mov byte [esp + 0x3c], 2
call fcn.00401c40
mov esi, dword [esp + 0x28]
add esp, 0xc
push ebx
push ebx
lea edx, [esp + 0x28]
push edx
push esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
lea eax, [esi - 0x10]
mov byte [esp + 0x30], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c56e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x30], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c590
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c5b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, edi
pop edi
mov edx, ebp
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x28], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c5ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c615
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x20]
pop esi
xor eax, eax
xor edx, edx
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x467740
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fc41b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
lea edi, [esi + 4]
mov ecx, edi
mov dword [esp + 8], esi
mov dword [esi], 0x50e50c
call fcn.00493e40
mov dword [edi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], 0
push 0xa
lea ecx, [esi + 0x10]
mov dword [esp + 0x18], 0
call fcn.004e4803
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
mov ecx, dword [esp + 0xc]
add eax, 0x10
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], 0
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x469380
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4fc5ff
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x400
mov eax, dword [0x531d28]
push ebx
push esi
push edi
mov edi, dword [esp + 0x41c]
mov dword [esp + 0x408], eax
lea eax, [esp + 0x10]
push edi
xor ebx, ebx
push eax
mov esi, ecx
mov dword [esp + 0x1c], ebx
call fcn.00479d80
add esp, 8
mov edx, dword [str.Buttons]
push edi
push 0x3e8
lea ecx, [esp + 0x28]
push ecx
push 0x502a56
push str.CheckButton
push edx
mov dword [esp + 0x42c], ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov al, byte [esp + 0x20]
test al, al
je 0x46945f
push 1
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.00479e30
push eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x42c], 1
mov dword [esp + 0x2c], 1
call fcn.004092f0
add esp, 0x18
mov edi, dword [eax]
add esi, 0x64
mov ebx, 3
mov ecx, esi
mov dword [esp + 0x414], 2
mov dword [esp + 0x14], ebx
call fcn.004ed255
push 0
push edi
mov ecx, esi
call fcn.004631c0
test eax, eax
mov byte [esp + 0xf], 0
jne 0x469464
mov byte [esp + 0xf], 1
or esi, 0xffffffff
test bl, 2
mov dword [esp + 0x414], 1
je 0x46949b
mov eax, dword [esp + 0x18]
and ebx, 0xfffffffd
add eax, 0xfffffff0
mov dword [esp + 0x14], ebx
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46949b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, 1
mov dword [esp + 0x414], 0
je 0x4694c8
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4694c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, byte [esp + 0xf]
test al, al
mov eax, dword [esp + 0x10]
mov dword [esp + 0x414], esi
je 0x4694f6
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x4694f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
jmp 0x469512
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x46950d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
mov ecx, dword [esp + 0x40c]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x400]
pop ebx
call fcn.004d40be
add esp, 0x40c
ret 4
Function at 0x46b410
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4fc7c4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3f4
mov eax, dword [0x531d28]
push esi
push edi
mov edi, dword [esp + 0x40c]
mov esi, ecx
lea ecx, [esi + 0x1f4]
push edi
mov dword [esp + 0x3fc], eax
call fcn.00403fd0
mov eax, dword [edi]
lea ecx, [esi + 0x78]
push eax
call fcn.00477cd0
mov eax, dword [edi]
push eax
lea eax, [esp + 0x10]
push eax
call fcn.00479d80
add esp, 8
mov eax, dword [edi]
push eax
push 0x3e8
lea ecx, [esp + 0x18]
push ecx
push 0x502a56
push str.Bitmap
push str.Buttons
mov dword [esp + 0x41c], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x5c
call fcn.004e50ce
add esp, 4
mov dword [esp + 8], eax
test eax, eax
mov byte [esp + 0x404], 1
je 0x46b4b9
mov ecx, eax
call fcn.00410370
jmp 0x46b4bb
xor eax, eax
lea edx, [esp + 0x10]
mov dword [esi + 0x74], eax
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
mov byte [esp + 0x410], 0
call fcn.00401e30
add esp, 0xc
mov eax, dword [eax]
mov ecx, dword [esi + 0x74]
push eax
mov byte [esp + 0x408], 2
call fcn.00467dc0
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov byte [esp + 0x404], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46b516
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [edi]
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
push ebp
push eax
push 0x12
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push str.ButtonNormalText
push str.Buttons
call ebp
mov ecx, dword [esi + 0x74]
mov dword [ecx + 0x30], eax
mov eax, dword [edi]
push eax
push 0x12
call ebx
push eax
push str.ButtonDisableText
push str.Buttons
call ebp
mov edx, dword [esi + 0x74]
mov dword [edx + 0x34], eax
mov eax, dword [edi]
push eax
push 0
push str.LeftWidth
push str.Buttons
call ebp
mov ecx, dword [esi + 0x74]
mov dword [ecx + 0x3c], eax
mov edi, dword [edi]
push edi
push 0
push str.RightWidth
push str.Buttons
call ebp
mov edx, dword [esi + 0x74]
mov dword [edx + 0x40], eax
mov eax, dword [esi + 0x1d4]
test eax, eax
pop ebp
pop ebx
je 0x46b5c8
mov eax, dword [esi + 0x1c]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0xc00000
je 0x46b5ae
push esi
lea ecx, [esi + 0x78]
call fcn.00474e10
mov ecx, dword [esi + 0x1c]
push esi
push 0x46ade0
push ecx
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov dword [esi + 0x1d4], 0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x404], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
pop edi
pop esi
jg 0x46b5f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x3f4]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x3f0]
mov eax, 1
call fcn.004d40be
add esp, 0x400
ret 4
Function at 0x46b8c0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x12c
mov eax, dword [0x531d28]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push ebp
push esi
mov esi, dword [esp + 0x13c]
push edi
mov edi, dword [esp + 0x144]
push esi
push 0
push str.Left
push edi
mov dword [esp + 0x148], eax
mov ebp, ecx
call ebx
push esi
push 0
push 0x508f54
push edi
mov dword [esp + 0x20], eax
call ebx
push esi
push 0
push str.Right
push edi
mov dword [esp + 0x24], eax
call ebx
push esi
push 0
push str.Bottom
push edi
mov dword [esp + 0x28], eax
call ebx
push esi
push 0
push str.Width
push edi
mov dword [esp + 0x2c], eax
call ebx
push esi
push 0
push str.Height
push edi
mov dword [esp + 0x30], eax
call ebx
push esi
push 0xff
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x40]
push eax
push 0x502a56
push str.Align
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ecx
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.00401fd0
mov ecx, ebp
call fcn.0046b6e0
mov edi, dword [ebp + 0x204]
mov ecx, dword [esp + 0x14c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x148]
lea esi, [ebp + 0x200]
lea edx, [esp + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 4]
push edx
push eax
mov dword [esp + 0x34], ecx
push edi
mov ecx, esi
call fcn.0046b270
push 1
mov ecx, esi
mov ebx, eax
call fcn.0046b820
mov dword [edi + 4], ebx
mov ecx, dword [ebx + 4]
mov dword [ecx], ebx
mov ecx, dword [esp + 0x138]
call fcn.004d40be
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x12c
ret 0x10