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

Disassembly:
push ebx
mov edx, 0x14
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x411567
call fcn.00428aa0
mov edx, dword [esp + 0x5c]
lea ecx, [esp]
call fcn.00415060
mov edx, dword [esp + 0x60]
lea ecx, [esp + 4]
call fcn.00415060
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0xa
push 0
push dword [esp + 0x5c]
call sub.USER32.dll_EnableWindow
mov ebx, dword [esp + 0x74]
and ebx, ebx
jne 0x4115ed
movsx ebx, word [0x432622]
and ebx, ebx
jge 0x4115e1
movsx ebx, word [0x432622]
dec ebx
mov dword [esp + 0x74], ebx
jmp 0x4115ed
movsx ebx, word [0x432622]
inc ebx
mov dword [esp + 0x74], ebx
push dword [esp + 0x74]
push dword [0x43257c]
push 0xffffffff
call fcn.00427e04
mov dword [esp + 0x28], eax
push dword [esp + 0x28]
call fcn.00427e1a
mov dword [esp + 0x2c], eax
push dword [esp + 0x58]
push 0x90c00002
mov eax, 0x42c02e
push eax
push 0xffff0001
push 0x190
push 0
push 0
push 0xffffffff
call fcn.0041e79e
mov dword [0x432558], eax
push dword [esp + 4]
push 0
push 0
push 0x14
push 0x3c
push 0xffffffff
call fcn.00419952
mov dword [esp + 0x34], eax
push dword [esp + 0x2c]
push dword [esp + 0x38]
call fcn.0041934d
push dword [0x432540]
push dword [0x432558]
call fcn.0041ec9c
push dword [0x432544]
push 1
push dword [esp + 0x3c]
call fcn.0041c7ef
push dword [0x432540]
push 2
push dword [esp + 0x3c]
call fcn.0041c7ef
push 1
push dword [esp + 0x38]
call fcn.00418d1b
mov dword [esp + 0x48], eax
push 1
push dword [esp + 0x38]
call fcn.00418d8d
mov dword [esp + 0x4c], eax
mov ebx, dword [esp + 0x48]
cmp ebx, 0x15e
jge 0x4116e8
mov dword [esp + 0x48], 0x15e
mov ebx, dword [esp + 0x4c]
cmp ebx, 0x20
jge 0x4116f9
mov dword [esp + 0x4c], 0x20
mov ebx, dword [esp + 0x4c]
add ebx, 0x55
push ebx
mov ebx, dword [esp + 0x4c]
add ebx, 0x4b
push ebx
push 0xffff0001
push 0xffff0001
push dword [0x432558]
call fcn.0041ecfb
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push 0xffff0001
push 0xffff0001
push dword [esp + 0x44]
call fcn.004191af
push 0x2d
mov ebx, dword [esp + 0x4c]
add ebx, 0x4b
push ebx
push dword [0x432558]
call fcn.0041e4b1
mov ebx, eax
add ebx, 0xffffffd3
push ebx
push 0
push 0xffffffff
call fcn.004196a0
mov dword [esp + 0x38], eax
push dword [0x432558]
call fcn.0041eee3
mov dword [esp - 4], eax
fild dword [esp - 4]
fdiv qword [0x4302e0]
sub esp, 8
fstp qword [esp]
call fcn.00418850
mov dword [esp + 0x20], eax
push dword [esp + 0x64]
mov ebx, 4
cmp ebx, dword [esp]
jne 0x4118bc
push edx
call fcn.004288c0
pop edx
push eax
push edx
call fcn.004288c0
pop edx
push eax
push 0x81c8
call fcn.0040995d
call fcn.00428b60
push 0x19
push 0x5a
push dword [esp + 0x38]
push dword [esp + 0x38]
push 0xffffffff
call fcn.004153f2
add dword [esp + 0x14], edx
call fcn.0041b052
call fcn.00415410
mov dword [esp + 0x40], eax
push edx
call fcn.004288c0
pop edx
push eax
push edx
call fcn.004288c0
pop edx
push eax
push 0x81d0
call fcn.0040995d
call fcn.00428b60
push 0x19
push 0x5a
push dword [esp + 0x38]
mov ebx, dword [esp + 0x38]
add ebx, 0x64
push ebx
push 0xffffffff
call fcn.004153f2
add dword [esp + 0x14], edx
call fcn.0041b052
call fcn.00415410
mov dword [esp + 0x44], eax
push dword [esp + 0x6c]
mov ebx, 6
cmp ebx, dword [esp]
jne 0x41185a
mov eax, dword [esp + 0x44]
mov dword [esp + 0x20], eax
jmp 0x411862
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], eax
pop eax
push 0
push 0x59
push dword [0x432558]
call fcn.0041eef1
push 1
push 0x4e
push dword [0x432558]
call fcn.0041eef1
push 0
push 0x40059
push dword [0x432558]
call fcn.0041eef1
push 1
push 0x4004e
push dword [0x432558]
call fcn.0041eef1
jmp 0x411acd
mov ebx, 3
cmp ebx, dword [esp]
jne 0x411a5f
push edx
call fcn.004288c0
pop edx
push eax
push edx
call fcn.004288c0
pop edx
push eax
push 0x81c8
call fcn.0040995d
call fcn.00428b60
push 0x19
push 0x5a
push dword [esp + 0x38]
mov ebx, dword [esp + 0x38]
add ebx, 0xffffff6f
push ebx
push 0xffffffff
call fcn.004153f2
add dword [esp + 0x14], edx
call fcn.0041b052
call fcn.00415410
mov dword [esp + 0x40], eax
push edx
call fcn.004288c0
pop edx
push eax
push edx
call fcn.004288c0
pop edx
push eax
push 0x81d0
call fcn.0040995d
call fcn.00428b60
push 0x19
push 0x5a
push dword [esp + 0x38]
mov ebx, dword [esp + 0x38]
add ebx, 0xffffffd3
push ebx
push 0xffffffff
call fcn.004153f2
add dword [esp + 0x14], edx
call fcn.0041b052
call fcn.00415410
mov dword [esp + 0x44], eax
push edx
call fcn.004288c0
pop edx
push eax
push edx
call fcn.004288c0
pop edx
push eax
push 0x81cc
call fcn.0040995d
call fcn.00428b60
push 0x19
push 0x5a
push dword [esp + 0x38]
mov ebx, dword [esp + 0x38]
add ebx, 0x37
push ebx
push 0xffffffff
call fcn.004153f2
add dword [esp + 0x14], edx
call fcn.0041b052
call fcn.00415410
mov dword [esp + 0x48], eax
push dword [esp + 0x6c]
mov ebx, 6
cmp ebx, dword [esp]
jne 0x4119d8
mov eax, dword [esp + 0x44]
mov dword [esp + 0x20], eax
jmp 0x411a08
mov ebx, 7
cmp ebx, dword [esp]
jne 0x4119ec
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], eax
jmp 0x411a08
mov ebx, 2
cmp ebx, dword [esp]
jne 0x411a00
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x20], eax
jmp 0x411a08
mov eax, dword [esp + 0x44]
mov dword [esp + 0x20], eax
pop eax
push 0
push 0x59
push dword [0x432558]
call fcn.0041eef1
push 1
push 0x4e
push dword [0x432558]
call fcn.0041eef1
push 0
push 0x40059
push dword [0x432558]
call fcn.0041eef1
push 1
push 0x4004e
push dword [0x432558]
call fcn.0041eef1
jmp 0x411acd
push edx
call fcn.004288c0
pop edx
push eax
push edx
call fcn.004288c0
pop edx
push eax
push 0x81c9
call fcn.0040995d
call fcn.00428b60
push 0x19
push 0x5a
push dword [esp + 0x38]
mov ebx, dword [esp + 0x38]
add ebx, 0xffffffd3
push ebx
push 0xffffffff
call fcn.004153f2
add dword [esp + 0x14], edx
call fcn.0041b052
call fcn.00415410
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x1c], eax
push 0
push 0xd
push dword [0x432558]
call fcn.0041eef1
pop eax
call fcn.00419972
push edx
call fcn.004288c0
pop edx
push eax
push edx
call fcn.004288c0
pop edx
push eax
push dword [esp + 0x20]
call fcn.00418c86
lea eax, [esp + 0xc]
push eax
call fcn.00428900
push dword [esp]
push dword [0x432558]
call fcn.0041eb1c
push 1
push dword [0x432558]
call fcn.0041effa
push 2
push 0
push dword [0x432558]
call fcn.0041eb99
push 0x30
call sub.USER32.dll_MessageBeep
push edx
call fcn.004288c0
pop edx
push eax
push 0x20
call fcn.0040c723
push eax
push dword [esp + 0x78]
mov edx, dword [0x432514]
push edx
call fcn.004288c0
pop edx
push eax
push edx
call fcn.00428990
mov edx, 0x42e50c
push edx
call fcn.00428990
call fcn.004153f2
add dword [esp], edx
call fcn.0040e5c7
call fcn.00415410
mov dword [esp + 0x1c], eax
push dword [esp + 0x1c]
push 0x20
push 0x20
push 0x14
push 0xf
push 0xffffffff
call fcn.0041cdc0
mov dword [esp + 0x30], eax
push dword [esp + 0x1c]
call sub.USER32.dll_DestroyIcon
cmp dword [esp + 0x6c], 0
je 0x411c45
push edx
call fcn.004288c0
pop edx
push eax
mov edx, dword [esp + 0xc]
push edx
call fcn.004288c0
pop edx
push eax
push edx
call fcn.00428990
mov edx, 0x42c040
push edx
call fcn.00428990
push edx
call fcn.004288c0
pop edx
push eax
push edx
call fcn.004288c0
pop edx
push eax
mov eax, dword [esp + 0x7c]
cdq
push edx
push eax
call fcn.004270a0
pop eax
mov edx, 0x42c124
push edx
call fcn.00428990
call fcn.00428b60
push dword [esp + 0x20]
call fcn.004153f2
add dword [esp + 4], edx
call fcn.00418fca
call fcn.00415410
mov ebx, dword [esp + 0x6c]
imul ebx, ebx, 0x3e8
mov dword [esp + 0x6c], ebx
push 0x3e8
push 0x2bc
push dword [0x432558]
call fcn.0041e4bf
push dword [esp + 0x18]
call fcn.0041ce08
push 0
push 0x30002
push 0x128
push dword [0x432558]
call fcn.0041eb00
push eax
call sub.USER32.dll_SendMessageW
call fcn.0041e619
push eax
mov ebx, 0x333c
cmp ebx, dword [esp]
jne 0x411c8b
mov dword [esp + 0x10], 1
jmp 0x411e19
mov ebx, 0x332c
cmp ebx, dword [esp]
jne 0x411cc4
call fcn.00421346
push eax
mov ebx, dword [esp + 0x44]
cmp ebx, dword [esp]
je 0x411cb6
mov ebx, dword [esp + 0x48]
cmp ebx, dword [esp]
je 0x411cb6
mov ebx, dword [esp + 0x4c]
cmp ebx, dword [esp]
jne 0x411cbe
mov dword [esp + 0x14], 2
pop eax
jmp 0x411e19
mov ebx, 0x3336
cmp ebx, dword [esp]
jne 0x411db6
call fcn.00421373
push eax
mov ebx, 0x2bc
cmp ebx, dword [esp]
jne 0x411db3
add dword [esp + 0x18], 0x3e8
push edx
call fcn.004288c0
pop edx
push eax
mov edx, dword [esp + 0x14]
push edx
call fcn.004288c0
pop edx
push eax
push edx
call fcn.00428990
mov edx, 0x42c040
push edx
call fcn.00428990
push edx
call fcn.004288c0
pop edx
push eax
push edx
call fcn.004288c0
pop edx
push eax
mov eax, dword [esp + 0x84]
cdq
push edx
push eax
mov eax, dword [esp + 0x30]
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
push 0
push 0x3e8
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.00415070
mov dword [esp], eax
mov dword [esp + 4], edx
pop eax
pop edx
push edx
push eax
call fcn.004270a0
pop eax
mov edx, 0x42c124
push edx
call fcn.00428990
call fcn.00428b60
push dword [esp + 0x28]
call fcn.004153f2
add dword [esp + 4], edx
call fcn.00418fca
call fcn.00415410
mov ebx, dword [esp + 0x18]
cmp ebx, dword [esp + 0x74]
jl 0x411db3
mov dword [esp + 0x14], 3
push 0x2bc
push dword [0x432558]
call fcn.0041e621
push dword [esp + 0x20]
call fcn.0041ce08
pop eax
jmp 0x411e19
mov ebx, 0x332d
cmp ebx, dword [esp]
jne 0x411e19
call fcn.00421364
push eax
xor ebx, ebx
cmp ebx, dword [esp]
jne 0x411de0
push dword [esp + 0x44]
call fcn.0041ce08
mov dword [esp + 0x14], 2
jmp 0x411e18
mov ebx, 1
cmp ebx, dword [esp]
jne 0x411dfd
push dword [esp + 0x48]
call fcn.0041ce08
mov dword [esp + 0x14], 2
jmp 0x411e18
mov ebx, 2
cmp ebx, dword [esp]
jne 0x411e18
push dword [esp + 0x4c]
call fcn.0041ce08
mov dword [esp + 0x14], 2
pop eax
pop eax
cmp dword [esp + 0xc], 0
je 0x411c6e
call fcn.0041ce43
push eax
mov ebx, dword [esp + 0x40]
cmp ebx, dword [esp]
jne 0x411e50
mov ebx, dword [esp + 0x68]
and ebx, ebx
jne 0x411e46
mov dword [esp + 0x18], 0
jmp 0x411e4e
mov dword [esp + 0x18], 6
jmp 0x411e74
mov ebx, dword [esp + 0x44]
cmp ebx, dword [esp]
jne 0x411e63
mov dword [esp + 0x18], 7
jmp 0x411e74
mov ebx, dword [esp + 0x48]
cmp ebx, dword [esp]
jne 0x411e74
mov dword [esp + 0x18], 2
pop eax
mov ebx, dword [esp + 0xc]
cmp ebx, 1
jne 0x411e86
mov dword [esp + 0x14], 2
push 0xffffffff
push dword [0x432558]
call fcn.0041f041
push dword [esp + 0x28]
call fcn.00427cee
push dword [esp + 0x38]
call fcn.0041cf84
push dword [esp + 0x34]
call fcn.0041cf84
push dword [esp + 0x30]
call fcn.0041cf84
push dword [0x432558]
call fcn.0041e33a
push 1
push dword [esp + 0x5c]
call sub.USER32.dll_EnableWindow
mov eax, dword [esp + 0x14]
jmp 0x411edb
push dword [esp]
call fcn.00428b30
push dword [esp + 4]
call fcn.00428b30
push dword [esp + 8]
call fcn.00428b30
add esp, 0x50
pop ebx
ret 0x20