Function at 0x414470
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x46e1b7
mov eax, dword fs:[0]
push eax
sub esp, 0x948
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4946c0]
xor eax, esp
push eax
lea eax, [esp + 0x95c]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x24], edi
push 0
lea ecx, [esp + 0x68]
call fcn.004268e0
mov dword [esp + 0x964], 0
xor esi, esi
lea eax, [edi + 0x244]
cmp byte [eax - 0x1d4], 0
lea ecx, [eax - 0x1d8]
mov dword [esp + 0x1c], ecx
je 0x414523
cmp byte [eax], 0
lea edx, [eax - 4]
mov dword [esp + 0x1c], edx
je 0x414518
cmp byte [eax + 0x1d4], 0
lea ecx, [eax + 0x1d0]
mov dword [esp + 0x1c], ecx
je 0x41451b
cmp byte [eax + 0x3a8], 0
lea edx, [eax + 0x3a4]
mov dword [esp + 0x1c], edx
je 0x414520
add esi, 4
add eax, 0x750
cmp esi, 0x100
jl 0x4144c1
jmp 0x41452f
inc esi
jmp 0x414523
add esi, 2
jmp 0x414523
add esi, 3
cmp esi, 0x100
mov dword [esp + 0x18], esi
jl 0x414548
push 0x30
push 0xea61
push 0xea75
call fcn.0041a120
add esp, 0xc
jmp 0x41490a
mov ecx, dword [esp + 0x1c]
mov eax, esi
imul eax, eax, 0x584
push 0x1d4
push 0
push ecx
lea ebx, [eax + edi + 0x1d46c]
call fcn.00451440
mov eax, dword [esp + 0x978]
add esp, 0xc
test eax, eax
je 0x4145bd
push eax
lea ecx, [esp + 0x18]
call fcn.00406cc0
push eax
lea ecx, [esp + 0x414]
mov byte [esp + 0x968], 1
call fcn.00405ef0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x964], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4145bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0x4967c0
push 0
push str.defaultcoord
push str.window
call ebp
push 0x4967c0
push 0x32
push str.defaultposx
push str.window
mov dword [esp + 0x2ac], eax
call ebp
push 0x4967c0
push 0x32
push str.defaultposy
push str.window
mov dword [esp + 0x8e4], eax
call ebp
push 0x4967c0
push 0x320
push str.defaultsizx
push str.window
mov dword [esp + 0x8e8], eax
call ebp
push 0x4967c0
push 0x258
push str.defaultsizy
push str.window
mov dword [esp + 0x8ec], eax
call ebp
lea ecx, [esp + 0x64]
mov dword [esp + 0x8e0], eax
mov dword [esp + 0x2cc], 0
call fcn.00429380
cmp eax, 1
jne 0x41490a
mov ecx, dword [esp + 0x410]
cmp dword [ecx - 0xc], 0
je 0x41490a
lea edx, [esp + 0x64]
push edx
push ebx
call fcn.00412880
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x6c]
push eax
push ecx
call fcn.0040beb0
mov eax, ebx
add esp, 0x10
lea edx, [eax + 1]
jmp 0x4146a0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4146a0
sub eax, edx
jne 0x414898
call fcn.0043149b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4146c9
push 0x80004005
call fcn.00401a00
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x410]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x968], 2
call fcn.00405ef0
mov edi, dword [esp + 0x14]
push 0x5c
push edi
call fcn.004537e1
add esp, 8
test eax, eax
jne 0x41470a
or esi, 0xffffffff
jmp 0x41470e
sub eax, edi
mov esi, eax
push 0x4967c0
push 0
push str.namefromfolder
push str.window
call ebp
test eax, eax
je 0x41478a
push esi
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x1c]
call fcn.00405d80
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x968], 3
call fcn.00405ef0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x964], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41476e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x14]
push 0x5c
push edi
call fcn.004537e1
add esp, 8
test eax, eax
jne 0x414786
or esi, 0xffffffff
jmp 0x41478a
sub eax, edi
mov esi, eax
mov eax, dword [edi - 0xc]
sub eax, esi
dec eax
push eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00405d00
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x968], 4
call fcn.00405ef0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x964], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4147d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x14]
push 0x50
push edi
push 0x51
push ebx
call fcn.00454125
mov eax, ebx
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4147f0
sub eax, edx
cmp eax, 4
jle 0x41486c
lea esi, [eax + ebx - 4]
mov ecx, str..exe
mov eax, esi
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x414830
test dl, dl
je 0x41482c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x414830
add eax, 2
add ecx, 2
test dl, dl
jne 0x414810
xor eax, eax
jmp 0x414835
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x414869
mov ecx, str..EXE
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x414860
test dl, dl
je 0x41485c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x414860
add eax, 2
add ecx, 2
test dl, dl
jne 0x414840
xor eax, eax
jmp 0x414865
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41486c
mov byte [esi], 0
lea eax, [edi - 0x10]
mov byte [esp + 0x964], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414890
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
push ecx
push esi
push ebx
push ebp
mov ecx, edi
call fcn.004138a0
lea edx, [esp + 0x28]
push edx
push 0
mov dword [ebx + 0x578], 1
mov eax, dword [edi + 0x20]
push 0x1007
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [0x49652c], 0
je 0x4148e7
push esi
push ebp
mov esi, 0x4967c0
mov ecx, ebx
call fcn.0040a5c0
add esp, 8
jmp 0x4148f5
mov eax, 1
mov dword [edi + 0x60], eax
mov dword [edi + 0x64], eax
mov dword [edi + 0x68], eax
mov ecx, edi
call fcn.00409d90
add edi, 0x6c
push edi
push 0
call sub.dxwnd.dll_Ordinal_1
add esp, 8
lea ecx, [esp + 0x64]
mov dword [esp + 0x964], 0xffffffff
call fcn.0040dfb0
mov ecx, dword [esp + 0x95c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x954
ret 4