joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f410
Capabilities:
Get graphical window text

Disassembly:
cmp dword [esp + 0xc], 5
jl 0x44f530
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItemInt]
push esi
mov esi, dword [esp + 0xc]
push edi
push 0
push 0
push 0x62b
push esi
call ebx
mov edi, dword [esp + 0x14]
push 1
push 0
push 0x62f
push esi
mov dword [edi], eax
call ebx
mov ebx, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
push 0xbd9
push esi
mov dword [edi + 4], eax
call ebx
push 0x601
push esi
mov dword [edi + 8], eax
mov dword [edi + 0xc], 1
call ebx
cmp eax, 1
jne 0x44f475
mov dword [edi + 0xc], 2
push 0x600
push esi
call ebx
cmp eax, 1
jne 0x44f489
mov dword [edi + 0xc], 3
push 0xcbe
push esi
mov dword [edi + 0x10], 0
call ebx
cmp eax, 1
jne 0x44f4a0
mov dword [edi + 0x10], eax
push 0xcbd
push esi
call ebx
cmp eax, 1
jne 0x44f4b4
mov dword [edi + 0x10], 2
mov edi, dword [esp + 0x1c]
push 0x104
mov eax, dword [edi]
push eax
push 0x60c
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [edi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItemTextW]
push 0x40
push ecx
push 0xc17
push esi
call ebx
mov edx, dword [edi + 8]
push 0x40
push edx
push 0xc18
push esi
call ebx
mov eax, dword [edi + 0xc]
push 0x40
push eax
push 0xc19
push esi
call ebx
mov ecx, dword [edi + 0x10]
push 0x40
push ecx
push 0xc1a
push esi
call ebx
mov edx, dword [edi + 0x14]
push 0x40
push edx
push 0xc1b
push esi
call ebx
mov eax, dword [edi + 0x18]
push 0x40
push eax
push 0xc1c
push esi
call ebx
pop edi
pop esi
pop ebx
ret
Function at 0x450ab0
Capabilities:
Read .ini file

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 0x384
xor eax, eax
push ebx
push ebp
mov ebp, dword [esp + 0x390]
push esi
push edi
mov edi, ebp
rep stosd dword es:[edi], eax
mov ecx, 0xc0
lea edi, [esp + 0x90]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x5b9260
lea eax, [esp + 0x94]
push 0x181
push eax
push 0x5aae60
push str.AdvOptionsOrder
push str.Batch
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp + 0x90]
push ecx
call fcn.004d6713
add esp, 4
test eax, eax
jbe 0x450bb8
lea edx, [esp + 0x90]
push edx
call fcn.004d6713
add esp, 4
cmp word [esp + eax*2 + 0x8e], 0x2c
je 0x450b4c
lea eax, [esp + 0x90]
push 0x59bd7c
push eax
call fcn.004d62f1
add esp, 8
lea ecx, [esp + 0x90]
xor edi, edi
push ecx
xor esi, esi
call fcn.004d6713
add esp, 4
test eax, eax
jle 0x450bb8
cmp ebx, dword [esp + 0x39c]
jge 0x450bb8
mov ax, word [esp + edi*2 + 0x90]
cmp ax, 0x2c
jne 0x450b98
lea edx, [esp + 0x10]
mov word [esp + esi*2 + 0x10], 0
push edx
xor esi, esi
call fcn.004d6be0
add esp, 4
mov dword [ebp + ebx*4], eax
inc ebx
jmp 0x450ba3
cmp esi, 5
jge 0x450ba3
mov word [esp + esi*2 + 0x10], ax
inc esi
lea eax, [esp + 0x90]
inc edi
push eax
call fcn.004d6713
add esp, 4
cmp edi, eax
jl 0x450b64
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x384
ret
Function at 0x450df0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0xad8
push esi
mov esi, dword [esp + 0xae4]
push edi
mov edi, dword [esp + 0xae4]
push esi
push edi
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
je 0x45104b
lea eax, [esp + 0x18]
push 0x80
push eax
push esi
push edi
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x118]
xor esi, esi
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
push ecx
call fcn.004d6713
add esp, 4
test eax, eax
jle 0x450e7b
lea edi, [esp + 0x118]
mov ax, word [esp + esi*2 + 0x18]
cmp ax, 0x26
je 0x450e69
cmp ax, 0x3a
je 0x450e69
mov word [edi], ax
add edi, 2
lea edx, [esp + 0x18]
inc esi
push edx
call fcn.004d6713
add esp, 4
cmp esi, eax
jl 0x450e52
lea eax, [esp + 0x118]
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.004d631b
mov esi, dword [esp + 0xafc]
lea edx, [esp + 0x20]
push esi
push edx
lea eax, [esp + 0x128]
push str._s___.2d_
push eax
call fcn.004d5ee1
add esp, 0x18
cmp esi, 0x20
jne 0x451025
mov ecx, 0x170
xor eax, eax
lea edi, [esp + 0x520]
push 0x5b9260
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x524]
push 0x2e0
push ecx
push 0x5aae60
push str.AdvEffectsValue
push str.Batch
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x520], 0
je 0x451061
lea edx, [esp + 0x520]
xor esi, esi
push 0x7c
push edx
mov dword [esp + 0x14], esi
call fcn.004c9a70
add esp, 8
test eax, eax
jle 0x451061
mov edi, dword [esp + 0xaf0]
push ebx
mov ebx, dword [esp + 0xaf0]
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 0x20
lea eax, [esp + 0x32c]
push 0x7c
push eax
lea ecx, [esp + 0x534]
push esi
push ecx
call fcn.004c9ab0
lea edx, [esp + 0x33c]
push edx
call fcn.004d6713
add esp, 0x18
test eax, eax
jbe 0x450ffb
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
lea eax, [esp + 0x334]
push str._d_d__d
push eax
call fcn.004d6c09
mov eax, dword [esp + 0x24]
add esp, 0x14
cmp eax, 0xc8
jle 0x450ffb
cmp eax, 0x12c
jge 0x450ffb
sub eax, 0xc8
cmp eax, 1
mov dword [esp + 0x10], eax
jge 0x450fb1
mov eax, 1
jmp 0x450fbb
cmp eax, 0x2d
jle 0x450fbf
mov eax, 0x2d
mov dword [esp + 0x10], eax
push eax
lea ecx, [esp + 0x24]
push 0x20
push ecx
lea edx, [esp + 0x12c]
push str._s___.2d____.2d_
push edx
lea esi, [eax + 0x1f]
call fcn.004d5ee1
add esp, 0x14
lea eax, [esp + 0x120]
push eax
push 0
push 0x180
push ebx
call ebp
lea ecx, [esi + 1]
mov dword [edi + esi*4], ecx
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x528]
inc esi
push 0x7c
push edx
mov dword [esp + 0x1c], esi
call fcn.004c9a70
add esp, 8
cmp esi, eax
jl 0x450f34
pop ebp
pop ebx
pop edi
pop esi
add esp, 0xad8
ret
mov ecx, dword [esp + 0xaec]
lea eax, [esp + 0x118]
push eax
push 0
push 0x180
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
add esp, 0xad8
ret
mov edx, dword [esp + 0xaf4]
mov eax, dword [esp + 0xaf0]
mov dword [eax + edx*4 - 4], 0
pop edi
pop esi
add esp, 0xad8
ret
Function at 0x453b80
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword [esp + 4]
dec eax
je 0x453bb4
dec eax
je 0x453bad
sub eax, 6
jne 0x453bbb
push str._filelist
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.004d6acd
add esp, 8
test eax, eax
je 0x453bbb
mov eax, 1
ret
push str._gray
jmp 0x453b94
push str._reloadonloop
jmp 0x453b94
xor eax, eax
ret

Function at 0x453bc0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x208
push str._transpcolor
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.004d6acd
add esp, 8
test eax, eax
je 0x453c28
push 1
push 0x104
lea ecx, [esp + 8]
push 0xd
push ecx
push eax
call fcn.00453fb0
mov edx, dword [esp + 0x228]
mov eax, dword [esp + 0x224]
mov ecx, dword [esp + 0x220]
push edx
push eax
push ecx
lea edx, [esp + 0x20]
push str.__d__d__d_
push edx
call fcn.004d6c09
add esp, 0x28
mov eax, 1
add esp, 0x208
ret
xor eax, eax
add esp, 0x208
ret

Function at 0x453c40
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x208
sub eax, 0
push esi
mov esi, dword [esp + 0x210]
push edi
mov edi, dword [esp + 0x218]
mov dword [esi], 0
mov dword [edi], 0
je 0x453c75
dec eax
jne 0x453cb5
push str._pos
jmp 0x453c7a
push str._dpi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.004d6acd
add esp, 8
test eax, eax
je 0x453cb5
push 1
push 0x104
lea ecx, [esp + 0x10]
push 5
push ecx
push eax
call fcn.00453fb0
push edi
push esi
lea edx, [esp + 0x24]
push 0x599678
push edx
call fcn.004d6c09
add esp, 0x24
pop edi
pop esi
add esp, 0x208
ret

Function at 0x453cc0
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword [esp + 0x10]
sub esp, 0x208
test eax, eax
push ebx
mov ebx, dword [esp + 0x218]
push esi
mov esi, dword [esp + 0x214]
push edi
mov edi, dword [esp + 0x21c]
mov dword [esi], 0
mov dword [edi], 0
mov dword [ebx], 0
jne 0x453d39
push str._effect
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.004d6acd
add esp, 8
test eax, eax
je 0x453d39
push 1
push 0x104
lea ecx, [esp + 0x14]
push 8
push ecx
push eax
call fcn.00453fb0
push ebx
push edi
push esi
lea edx, [esp + 0x2c]
push str.__d__d__d_
push edx
call fcn.004d6c09
add esp, 0x28
pop edi
pop esi
pop ebx
add esp, 0x208
ret

Function at 0x453d50
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x208
test eax, eax
jne 0x453d64
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push esi
push edi
mov edi, dword [esp + 0x218]
push edi
push eax
call fcn.004d6acd
mov esi, eax
add esp, 8
test esi, esi
je 0x453daf
push 1
push 0x104
push edi
call fcn.004d6713
add esp, 4
push eax
lea eax, [esp + 0x14]
push eax
push esi
call fcn.00453fb0
lea ecx, [esp + 0x1c]
push ecx
call fcn.004d6be0
add esp, 0x18
pop edi
pop esi
add esp, 0x208
ret
pop edi
xor eax, eax
pop esi
add esp, 0x208
ret
Function at 0x453dc0
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x20c
test eax, eax
jne 0x453dd4
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push esi
push edi
mov edi, dword [esp + 0x21c]
push edi
push eax
call fcn.004d6acd
mov esi, eax
add esp, 8
test esi, esi
je 0x453e35
push 1
push 0x104
push edi
call fcn.004d6713
add esp, 4
push eax
lea eax, [esp + 0x18]
push eax
push esi
call fcn.00453fb0
push 0x2e
lea ecx, [esp + 0x24]
push 0x2c
push ecx
call fcn.004c8760
lea edx, [esp + 0x2c]
push edx
call fcn.004c5910
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
add esp, 0x24
pop edi
pop esi
add esp, 0x20c
ret
fld dword [0x552710]
pop edi
pop esi
add esp, 0x20c
ret

Function at 0x453e50
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x414
push str._display
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.004d6acd
add esp, 8
test eax, eax
je 0x453f85
push esi
push 1
push 0x104
lea ecx, [esp + 0x10]
push 0xa
push ecx
push eax
call fcn.00453fb0
push 0x7c
lea edx, [esp + 0x20]
push 0x2c
push edx
call fcn.004c8760
push 0x7c
lea eax, [esp + 0x2c]
push 0x29
push eax
call fcn.004c8760
lea ecx, [esp + 0x34]
push 0x7c
push ecx
xor esi, esi
call fcn.004c9a70
add esp, 0x34
test eax, eax
jle 0x453f78
push ebx
mov ebx, dword [esp + 0x434]
push ebp
mov ebp, dword [esp + 0x430]
push edi
mov edi, dword [esp + 0x440]
push 0x104
lea edx, [esp + 0x220]
push 0x7c
push edx
lea eax, [esp + 0x20]
push esi
push eax
call fcn.004c9ab0
lea ecx, [esp + 0x230]
push ecx
call fcn.004d6713
add esp, 0x18
test eax, eax
jbe case.default.0x453f1b
lea edx, [esp + 0x21c]
push edx
call fcn.004d6be0
add esp, 4
cmp esi, 6
mov dword [esp + 0x10], eax
ja case.default.0x453f1b
jmp dword [esi*4 + 0x453f90]
mov ecx, dword [esp + 0x428]
mov dword [ecx], eax
jmp case.default.0x453f1b
mov edx, dword [esp + 0x42c]
mov dword [edx], eax
jmp case.default.0x453f1b
mov ecx, dword [esp + 0x430]
mov dword [ecx], eax
jmp case.default.0x453f1b
mov dword [ebp], eax
jmp case.default.0x453f1b
fild dword [esp + 0x10]
mov edx, dword [esp + 0x438]
fstp qword [edx]
jmp case.default.0x453f1b
mov dword [ebx], eax
jmp case.default.0x453f1b
mov dword [edi], eax
lea eax, [esp + 0x14]
push 0x7c
push eax
inc esi
call fcn.004c9a70
add esp, 8
cmp esi, eax
jl 0x453ed4
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
add esp, 0x414
ret
xor eax, eax
add esp, 0x414
ret
Function at 0x454dd0
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x868
lea eax, [esp]
push ebx
push esi
push edi
mov edi, dword [esp + 0x878]
push eax
push edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x454e72
push ebp
lea ecx, [esp + 0x260]
push 3
push ecx
push edi
call fcn.004c93e0
mov edi, dword [esp + 0x88c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 0xc
cmp word [esp + 0x3c], 0x2e
je 0x454e5a
test byte [esp + 0x10], 0x10
jne 0x454e5a
lea edx, [esp + 0x3c]
lea eax, [esp + 0x260]
push edx
push eax
lea ecx, [esp + 0x470]
push str._s_s
push ecx
call fcn.004d5ee1
add esp, 0x10
lea edx, [esp + 0x468]
push edx
push 0
push 0x180
push edi
call ebp
inc esi
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x454e16
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x868
ret

Function at 0x455300
Capabilities:
Accept command line arguments

Disassembly:
push esi
push 2
push 0x8000
call fcn.004d61b4
mov esi, eax
add esp, 8
test esi, esi
je 0x45537f
mov eax, dword [esp + 0xc]
push edi
xor edi, edi
cmp eax, 1
jne 0x455347
push str._file
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.004d6acd
push edi
push 0x8000
push 6
push esi
push eax
call fcn.00453fb0
add esp, 0x1c
jmp 0x455365
push 0
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.00453fb0
add esp, 0x14
mov edi, 1
mov eax, dword [esp + 0xc]
push edi
push 0
push 1
push eax
push esi
call fcn.004b1ca0
push esi
call fcn.004d59c1
add esp, 0x18
pop edi
pop esi
ret
Function at 0x45abc0
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x2414
call fcn.004d6340
push ebx
push ebp
push esi
push edi
push 0x5b9260
call fcn.004a56d0
lea eax, [esp + 0x428]
push 0
push eax
call fcn.00457f00
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
add esp, 0xc
mov ebx, eax
push 0x5b9260
push 1
push str.OpenIndex
push 0x59ba00
call esi
push 0x5b9260
push 0
push str.UseNewDlg
push 0x59ba00
mov ebp, eax
call esi
push 0
mov dword [esp + 0x14], eax
call fcn.0047da80
mov edx, dword [0x5b5574]
add esp, 4
lea ecx, [esp + 0x21c]
mov esi, eax
push 0x104
push ecx
push 0x466
push edx
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [esp + 0x2430]
mov ecx, 0x82
lea edi, [esp + 0x14]
mov dword [eax], 0
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x242c]
cmp word [eax], 0
jne 0x45ac96
push 0x5b9260
lea ecx, [esp + 0x18]
push 0x104
push ecx
push 0x598470
push str.OpenDir
push 0x59ba00
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x45aca4
lea edx, [esp + 0x14]
push eax
push edx
call fcn.004d631b
add esp, 8
call fcn.004c5c90
test eax, eax
jne 0x45acb1
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x2428]
mov ecx, dword [esp + 0x2430]
lea eax, [esp + 0x10]
push eax
push ecx
lea edx, [esp + 0x224]
push esi
push edx
push ebp
lea eax, [esp + 0x438]
push ebx
lea ecx, [esp + 0x2c]
push eax
push ecx
push edi
call fcn.0045aa70
add esp, 0x24
test eax, eax
jne 0x45acf4
cmp dword [esp + 0x10], 0x3e7
je 0x45acb8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2414
ret
Function at 0x45b8a0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 0x10]
sub esp, 0x288
test eax, eax
je 0x45b8c2
mov eax, dword [esp + 0x294]
lea ecx, [esp]
push eax
push str.MoveDir_d
push ecx
jmp 0x45b8d4
mov edx, dword [esp + 0x294]
lea eax, [esp]
push edx
push str.CopyDir_d
push eax
call fcn.004d5ee1
mov eax, dword [esp + 0x2a8]
add esp, 0xc
test eax, eax
je 0x45b92e
mov edx, dword [esp + 0x290]
mov eax, dword [esp + 0x28c]
lea ecx, [esp + 0x80]
push 0x104
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
lea ecx, [esp + 0x80]
push 0x5b9260
lea edx, [esp + 4]
push ecx
push edx
push str.Copy_Move
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esp, 0x288
ret
push 0x5b9260
lea eax, [esp + 0x84]
push 0x104
push eax
lea ecx, [esp + 0xc]
push str.C:TEMP
push ecx
push str.Copy_Move
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esp + 0x290]
mov ecx, dword [esp + 0x28c]
lea edx, [esp + 0x80]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
add esp, 0x288
ret

Function at 0x45c5e0
Capabilities:
Read .ini file

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 0x480
lea eax, [esp]
push esi
push 0x5b9260
push 0x140
push eax
push 0x5aae60
push str.CustomSize
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [esp + 4]
push edx
call fcn.004d6713
add esp, 4
test eax, eax
jbe 0x45c685
lea eax, [esp + 4]
push 0x7c
push eax
xor esi, esi
call fcn.004c9a70
add esp, 8
test eax, eax
jle 0x45c685
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push edi
mov edi, dword [esp + 0x490]
push pe_nt_image_headers32
lea ecx, [esp + 0x290]
push 0x7c
push ecx
lea edx, [esp + 0x18]
push esi
push edx
call fcn.004c9ab0
add esp, 0x14
lea eax, [esp + 0x28c]
push eax
push 0xffffffffffffffff
push 0x14a
push edi
call ebx
lea ecx, [esp + 0xc]
push 0x7c
push ecx
inc esi
call fcn.004c9a70
add esp, 8
cmp esi, eax
jl 0x45c640
pop edi
pop ebx
pop esi
add esp, 0x480
ret
Function at 0x4610b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push ebp
push esi
push edi
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x461160
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
push ebp
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov esi, eax
push 0
push 0x147
push esi
call edi
mov ecx, dword [esp + 0x18]
push 0
shr ecx, 0x10
test cx, cx
jge 0x46110d
dec eax
xor edx, edx
test eax, eax
setle dl
dec edx
and eax, edx
push eax
push 0x14e
push esi
call edi
jmp 0x46113d
push 0
push 0x146
push esi
lea ebx, [eax + 1]
call edi
cmp ebx, eax
jge 0x461122
mov eax, ebx
jmp 0x46112e
push 0
push 0
push 0x146
push esi
call edi
push 0
push eax
push 0x14e
push esi
call edi
mov ebx, dword [esp + 0x14]
and ebp, 0xffff
push 0
or ebp, 0x10000
push ebp
push 0x111
push ebx
call edi
push ebx
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebp
pop ebx
ret
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push ebp
push esi
call edi
mov ebx, dword [sym.imp.USER32.dll_IsWindowEnabled]
push eax
call ebx
test eax, eax
je 0x4611ab
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x4611ab
push 0
push ebp
push esi
call edi
push eax
mov eax, dword [esp + 0x20]
push eax
push 0x114
push esi
call fcn.004d2b00
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
ret
mov ebp, dword [esp + 0x24]
push ebp
push esi
call edi
push eax
call ebx
test eax, eax
je 0x4611d4
push 0
push ebp
push esi
call edi
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push 0x115
push esi
call fcn.004d2b00
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x462ec0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x264
push esi
push edi
mov edi, dword [esp + 0x274]
push 0x5b9260
lea eax, [esp + 0x70]
push pe_nt_image_headers32
mov esi, dword [edi]
push eax
push str.0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_0_
push str.ColorDialogCustom
push 0x59aa2c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp + 0x44]
lea edx, [esp + 0x40]
push ecx
lea eax, [esp + 0x40]
push edx
lea ecx, [esp + 0x40]
push eax
lea edx, [esp + 0x40]
push ecx
lea eax, [esp + 0x40]
push edx
lea ecx, [esp + 0x40]
push eax
lea edx, [esp + 0x40]
push ecx
lea eax, [esp + 0x40]
push edx
lea ecx, [esp + 0x40]
push eax
lea edx, [esp + 0x40]
push ecx
lea eax, [esp + 0x40]
push edx
lea ecx, [esp + 0x40]
push eax
lea edx, [esp + 0x40]
push ecx
lea eax, [esp + 0x40]
push edx
lea ecx, [esp + 0x40]
push eax
push ecx
lea edx, [esp + 0xac]
push str._d__d__d__d__d__d__d__d__d__d__d__d__d__d__d__d_
push edx
call fcn.004d6c09
mov eax, dword [esp + 0x2b8]
lea ecx, [esp + 0x50]
mov dword [esp + 0x94], eax
mov dword [esp + 0xa0], ecx
mov ecx, dword [0x5b561c]
xor eax, eax
add esp, 0x48
cmp ecx, eax
mov dword [esp + 0x48], 0x24
mov dword [esp + 0x54], esi
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], 3
mov dword [esp + 0x64], eax
je 0x462fab
mov dword [esp + 0x5c], 0x13
mov dword [esp + 0x64], 0x462e50
lea edx, [esp + 0x48]
mov dword [esp + 0x68], eax
push edx
call dword [0x5aae28]
test eax, eax
jne 0x462fc7
pop edi
pop esi
add esp, 0x264
ret
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push eax
lea ecx, [esp + 0xac]
push str._d__d__d__d__d__d__d__d__d__d__d__d__d__d__d__d_
push ecx
call fcn.004d5ee1
add esp, 0x48
lea edx, [esp + 0x6c]
push 0x5b9260
push edx
push str.ColorDialogCustom
push 0x59aa2c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [esp + 0x54]
mov dword [edi], eax
pop edi
mov eax, 1
pop esi
add esp, 0x264
ret
Function at 0x465930
Capabilities:
Read .ini file

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItemInt]
push edi
mov ecx, 0x890
xor eax, eax
mov edi, esi
push eax
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x18]
push eax
push 0xbeb
push edi
call ebx
push 0
push 0
push 0xbec
push edi
mov dword [esi], eax
call ebx
push 0
push 0
push 0xbed
push edi
mov dword [esi + 4], eax
call ebx
push 0
push 0
push 0xbee
push edi
mov dword [esi + 8], eax
call ebx
mov ebx, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
push 0xc4a
push edi
mov dword [esi + 0xc], eax
mov dword [esi + 0x24], 0
call ebx
test eax, eax
je 0x4659a6
mov dword [esi + 0x24], 1
push 0xc4c
push edi
call ebx
test eax, eax
je 0x4659b9
mov dword [esi + 0x24], 2
push 0xc4b
push edi
call ebx
test eax, eax
je 0x4659cc
mov dword [esi + 0x24], 3
push 0xca3
push edi
call ebx
test eax, eax
je 0x4659df
mov dword [esi + 0x24], 9
lea ebp, [esi + 0x40]
push 0x800
push ebp
push 0x5e2
push edi
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
mov eax, dword [esp + 0x18]
push 0x7c
push 0x1000
push eax
push ebp
call fcn.004cab90
add esp, 0x10
mov dword [esi + 0x10], 1
push 0xcbf
push edi
call ebx
xor ebp, ebp
test eax, eax
je 0x465a21
mov dword [esi + 0x10], ebp
push 0x764
push edi
call ebx
test eax, eax
je 0x465a34
mov dword [esi + 0x10], 2
push 0x5e6
push edi
mov dword [esi + 0x14], ebp
call ebx
test eax, eax
je 0x465a4a
mov dword [esi + 0x14], 1
push 0x765
push edi
call ebx
test eax, eax
je 0x465a5d
mov dword [esi + 0x14], 2
push 0xcc8
push edi
call ebx
dec eax
push 0xcc1
neg eax
sbb eax, eax
push edi
inc eax
mov dword [esi + 0x28], eax
call ebx
dec eax
push 0xcc2
neg eax
sbb eax, eax
push edi
inc eax
mov dword [esi + 0x2c], eax
call ebx
dec eax
push 0xcc3
neg eax
sbb eax, eax
push edi
inc eax
mov dword [esi + 0x30], eax
call ebx
dec eax
push 1
neg eax
sbb eax, eax
push ebp
inc eax
push 0x5f8
push edi
mov dword [esi + 0x34], eax
call dword [sym.imp.USER32.dll_GetDlgItemInt]
push 0xbff
push edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ebp
call ebx
test eax, eax
je 0x465ac9
mov dword [esi + 0x3c], 1
push 0xc00
push edi
call ebx
test eax, eax
je 0x465adc
mov dword [esi + 0x3c], 2
push 0x5e4
push edi
call ebx
dec eax
push 0xc9e
neg eax
sbb eax, eax
push edi
inc eax
mov dword [esi + 0x20], eax
call ebx
dec eax
push 0xbfc
neg eax
sbb eax, eax
push edi
inc eax
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], eax
call ebx
test eax, eax
je 0x465b14
mov dword [esi + 0x18], 1
push 0xbfd
push edi
call ebx
test eax, eax
je 0x465b27
mov dword [esi + 0x18], 2
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x465b4e
push 0x5b9260
add esi, 0x2040
push 0x40
push esi
push 0x5aae60
push str.Outline1
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
pop edi
pop esi
pop ebp
pop ebx
ret