Function at 0x410560
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x431ef7
push eax
mov eax, 0x1160
mov dword fs:[0], esp
call fcn.004285a0
push ebx
push ebp
push esi
push edi
mov ebx, ecx
xor ebp, ebp
mov eax, dword [ebx + 0x168]
mov ecx, 0x127
mov esi, 0x441760
lea edi, [esp + 0xd4]
rep movsd dword es:[edi], dword [esi]
mov edi, 0x8000000
push 0x400
test edi, eax
je 0x4105cb
lea eax, [esp + 0x974]
lea ecx, [esp + 0xd8]
push eax
push ecx
mov ecx, dword [ebx + 0x16c]
call fcn.0041e890
jmp 0x4105e6
mov ecx, dword [ebx + 0x16c]
lea edx, [esp + 0x574]
lea eax, [esp + 0xd8]
push edx
push eax
call fcn.0041e850
mov esi, eax
cmp esi, 0x10
je 0x410894
mov eax, 4
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x1178], ebp
mov dword [esp + 0x4c], 5
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebp
lea ecx, [esp + 0x70]
mov byte [esp + 0x1178], 2
call fcn.004108c0
mov dword [esp + 0x10], 6
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov ecx, esi
or eax, 0xffffffff
sub ecx, ebp
mov byte [esp + 0x1178], 4
je 0x41071b
dec ecx
je 0x4106c2
dec ecx
jne 0x410759
lea ecx, [esp + 0xd4]
lea edx, [esp + 0x154]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x304]
mov dword [esp + 0x18], edx
lea edx, [esp + 0x1d4]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], edx
lea ecx, [esp + 0x10]
jmp 0x41074b
lea ecx, [esp + 0xd4]
lea edx, [esp + 0x154]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x304]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x56c]
lea ecx, [esp + 0x30c]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x53c]
mov dword [esp + 0x90], edx
lea edx, [esp + 0x38c]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x78], edx
lea ecx, [esp + 0x4c]
jmp 0x41074b
lea ecx, [esp + 0x154]
lea edx, [esp + 0xd4]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x304]
lea ecx, [esp + 0x1d4]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
lea ecx, [esp + 0x2c]
cmp ecx, ebp
je 0x410759
push ebp
push ecx
mov ecx, dword [ebx + 0x1c]
call fcn.00405ae0
cmp esi, ebp
je 0x4107ab
cmp esi, 1
je 0x4107ab
cmp esi, 2
je 0x4107ab
mov ecx, dword [ebx + 0x184]
inc ecx
mov dword [ebx + 0x184], ecx
mov ecx, dword [ebx + 0x170]
cmp ecx, ebp
je 0x410808
mov eax, dword [ebx + 0x168]
push esi
test edi, eax
je 0x41079c
lea edx, [esp + 0x974]
push edx
call fcn.0041a440
jmp 0x410808
lea eax, [esp + 0x574]
push eax
call fcn.0041a3f0
jmp 0x410808
cmp eax, ebp
je 0x410802
sub eax, 2
je 0x4107cc
sub eax, 0xe
je 0x4107c5
sub eax, 0x10
je 0x4107c5
mov eax, 0x11
jmp 0x4107d1
mov eax, 0x14
jmp 0x4107d1
mov eax, 0x13
mov esi, dword [ebx + 0x184]
mov ecx, dword [ebx + 0x170]
inc esi
cmp ecx, ebp
mov dword [ebx + 0x184], esi
je 0x410808
mov edx, dword [ebx + 0x168]
push eax
test edi, edx
je 0x41079c
lea edx, [esp + 0x974]
push edx
call fcn.0041a440
jmp 0x410808
inc dword [ebx + 0x180]
mov ecx, dword [ebx + 0x180]
mov esi, dword [esp + 0x1180]
mov edi, dword [sym.imp.USER32.dll_SetDlgItemInt]
push ebp
push ecx
push 0x23a
push esi
call edi
mov edx, dword [ebx + 0x184]
push ebp
push edx
push 0x26d
push esi
call edi
cmp dword [ebx + 0x178], ebp
jbe 0x41086b
mov ecx, dword [ebx + 0x16c]
call fcn.0041e8f0
lea eax, [eax + eax*4]
xor edx, edx
mov ecx, ebx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 2
div dword [ebx + 0x178]
push eax
mov eax, dword [ebx + 0x150]
push eax
call fcn.0040eaf0
push esi
mov ecx, ebx
call fcn.0040e9e0
cmp dword [ebx + 0x140], 2
je 0x41088c
mov dword [esp + 0x1178], 0xffffffff
jmp 0x410587
mov eax, dword [ebx + 0x140]
jmp 0x410899
mov eax, 3
mov ecx, dword [esp + 0x1170]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x116c
ret 4