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

Disassembly:
push ebx
mov edx, 0x14
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x41197a
call fcn.00427280
mov edx, dword [esp + 0x5c]
lea ecx, [esp]
call fcn.00414060
mov edx, dword [esp + 0x60]
lea ecx, [esp + 4]
call fcn.00414060
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 0x411a00
movsx ebx, word [0x43086a]
and ebx, ebx
jge 0x4119f4
movsx ebx, word [0x43086a]
dec ebx
mov dword [esp + 0x74], ebx
jmp 0x411a00
movsx ebx, word [0x43086a]
inc ebx
mov dword [esp + 0x74], ebx
push dword [esp + 0x74]
push dword [0x4307cc]
push 0xffffffff
call fcn.004265e4
mov dword [esp + 0x28], eax
push dword [esp + 0x28]
call fcn.004265fa
mov dword [esp + 0x2c], eax
push dword [esp + 0x58]
push 0x90c00002
mov eax, 0x42b02e
push eax
push 0xffff0001
push 0x190
push 0
push 0
push 0xffffffff
call fcn.0041d6e1
mov dword [0x4307a8], eax
push dword [esp + 4]
push 0
push 0
push 0x14
push 0x3c
push 0xffffffff
call fcn.004188af
mov dword [esp + 0x34], eax
push dword [esp + 0x2c]
push dword [esp + 0x38]
call fcn.004182aa
push dword [0x430790]
push dword [0x4307a8]
call fcn.0041db8b
push dword [0x430794]
push 1
push dword [esp + 0x3c]
call fcn.0041b6eb
push dword [0x430790]
push 2
push dword [esp + 0x3c]
call fcn.0041b6eb
push 1
push dword [esp + 0x38]
call fcn.00418005
mov dword [esp + 0x48], eax
push 1
push dword [esp + 0x38]
call fcn.00417f93
mov dword [esp + 0x4c], eax
mov ebx, dword [esp + 0x48]
cmp ebx, 0x15e
jge 0x411afb
mov dword [esp + 0x48], 0x15e
mov ebx, dword [esp + 0x4c]
cmp ebx, 0x20
jge 0x411b0c
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 [0x4307a8]
call fcn.0041dbea
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push 0xffff0001
push 0xffff0001
push dword [esp + 0x44]
call fcn.00417ea8
push 0x2d
mov ebx, dword [esp + 0x4c]
add ebx, 0x4b
push ebx
push dword [0x4307a8]
call fcn.0041d3cf
mov ebx, eax
add ebx, 0xffffffd3
push ebx
push 0
push 0xffffffff
call fcn.004185fd
mov dword [esp + 0x38], eax
push dword [0x4307a8]
call fcn.0041ddd2
mov dword [esp - 4], eax
fild dword [esp - 4]
fdiv qword [0x42e690]
sub esp, 8
fstp qword [esp]
call fcn.00417770
mov dword [esp + 0x20], eax
push dword [esp + 0x64]
mov ebx, 4
cmp ebx, dword [esp]
jne 0x411ccf
push edx
call fcn.004270a0
pop edx
push eax
push edx
call fcn.004270a0
pop edx
push eax
push 0x81c8
call fcn.00408a12
call fcn.00427340
push 0x19
push 0x5a
push dword [esp + 0x38]
push dword [esp + 0x38]
push 0xffffffff
call fcn.00414362
add dword [esp + 0x14], edx
call fcn.00419faf
call fcn.00414380
mov dword [esp + 0x40], eax
push edx
call fcn.004270a0
pop edx
push eax
push edx
call fcn.004270a0
pop edx
push eax
push 0x81d0
call fcn.00408a12
call fcn.00427340
push 0x19
push 0x5a
push dword [esp + 0x38]
mov ebx, dword [esp + 0x38]
add ebx, 0x64
push ebx
push 0xffffffff
call fcn.00414362
add dword [esp + 0x14], edx
call fcn.00419faf
call fcn.00414380
mov dword [esp + 0x44], eax
push dword [esp + 0x6c]
mov ebx, 6
cmp ebx, dword [esp]
jne 0x411c6d
mov eax, dword [esp + 0x44]
mov dword [esp + 0x20], eax
jmp 0x411c75
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], eax
pop eax
push 0
push 0x59
push dword [0x4307a8]
call fcn.0041dde0
push 1
push 0x4e
push dword [0x4307a8]
call fcn.0041dde0
push 0
push 0x40059
push dword [0x4307a8]
call fcn.0041dde0
push 1
push 0x4004e
push dword [0x4307a8]
call fcn.0041dde0
jmp 0x411ee0
mov ebx, 3
cmp ebx, dword [esp]
jne 0x411e72
push edx
call fcn.004270a0
pop edx
push eax
push edx
call fcn.004270a0
pop edx
push eax
push 0x81c8
call fcn.00408a12
call fcn.00427340
push 0x19
push 0x5a
push dword [esp + 0x38]
mov ebx, dword [esp + 0x38]
add ebx, 0xffffff6f
push ebx
push 0xffffffff
call fcn.00414362
add dword [esp + 0x14], edx
call fcn.00419faf
call fcn.00414380
mov dword [esp + 0x40], eax
push edx
call fcn.004270a0
pop edx
push eax
push edx
call fcn.004270a0
pop edx
push eax
push 0x81d0
call fcn.00408a12
call fcn.00427340
push 0x19
push 0x5a
push dword [esp + 0x38]
mov ebx, dword [esp + 0x38]
add ebx, 0xffffffd3
push ebx
push 0xffffffff
call fcn.00414362
add dword [esp + 0x14], edx
call fcn.00419faf
call fcn.00414380
mov dword [esp + 0x44], eax
push edx
call fcn.004270a0
pop edx
push eax
push edx
call fcn.004270a0
pop edx
push eax
push 0x81cc
call fcn.00408a12
call fcn.00427340
push 0x19
push 0x5a
push dword [esp + 0x38]
mov ebx, dword [esp + 0x38]
add ebx, 0x37
push ebx
push 0xffffffff
call fcn.00414362
add dword [esp + 0x14], edx
call fcn.00419faf
call fcn.00414380
mov dword [esp + 0x48], eax
push dword [esp + 0x6c]
mov ebx, 6
cmp ebx, dword [esp]
jne 0x411deb
mov eax, dword [esp + 0x44]
mov dword [esp + 0x20], eax
jmp 0x411e1b
mov ebx, 7
cmp ebx, dword [esp]
jne 0x411dff
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], eax
jmp 0x411e1b
mov ebx, 2
cmp ebx, dword [esp]
jne 0x411e13
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x20], eax
jmp 0x411e1b
mov eax, dword [esp + 0x44]
mov dword [esp + 0x20], eax
pop eax
push 0
push 0x59
push dword [0x4307a8]
call fcn.0041dde0
push 1
push 0x4e
push dword [0x4307a8]
call fcn.0041dde0
push 0
push 0x40059
push dword [0x4307a8]
call fcn.0041dde0
push 1
push 0x4004e
push dword [0x4307a8]
call fcn.0041dde0
jmp 0x411ee0
push edx
call fcn.004270a0
pop edx
push eax
push edx
call fcn.004270a0
pop edx
push eax
push 0x81c9
call fcn.00408a12
call fcn.00427340
push 0x19
push 0x5a
push dword [esp + 0x38]
mov ebx, dword [esp + 0x38]
add ebx, 0xffffffd3
push ebx
push 0xffffffff
call fcn.00414362
add dword [esp + 0x14], edx
call fcn.00419faf
call fcn.00414380
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x1c], eax
push 0
push 0xd
push dword [0x4307a8]
call fcn.0041dde0
pop eax
call fcn.004188cf
push edx
call fcn.004270a0
pop edx
push eax
push edx
call fcn.004270a0
pop edx
push eax
push dword [esp + 0x20]
call fcn.00417ba8
lea eax, [esp + 0xc]
push eax
call fcn.004270e0
push dword [esp]
push dword [0x4307a8]
call fcn.0041da5f
push 1
push dword [0x4307a8]
call fcn.0041dee9
push 2
push 0
push dword [0x4307a8]
call fcn.0041da88
push 0x30
call sub.USER32.dll_MessageBeep
push edx
call fcn.004270a0
pop edx
push eax
push 0x20
push dword [esp + 0x78]
mov edx, dword [0x430784]
push edx
call fcn.004270a0
pop edx
push eax
push edx
call fcn.004271e0
mov edx, 0x42c894
push edx
call fcn.004271e0
call fcn.00414362
add dword [esp], edx
call fcn.0040e70a
call fcn.00414380
mov dword [esp + 0x1c], eax
push dword [esp + 0x1c]
push 0x20
push 0x20
push 0x14
push 0xf
push 0xffffffff
call fcn.0041bcbc
mov dword [esp + 0x30], eax
push dword [esp + 0x1c]
call sub.USER32.dll_DestroyIcon
cmp dword [esp + 0x6c], 0
je 0x412052
push edx
call fcn.004270a0
pop edx
push eax
mov edx, dword [esp + 0xc]
push edx
call fcn.004270a0
pop edx
push eax
push edx
call fcn.004271e0
mov edx, 0x42b040
push edx
call fcn.004271e0
push edx
call fcn.004270a0
pop edx
push eax
push edx
call fcn.004270a0
pop edx
push eax
mov eax, dword [esp + 0x7c]
cdq
push edx
push eax
call fcn.00424b20
pop eax
mov edx, 0x42b0ee
push edx
call fcn.004271e0
call fcn.00427340
push dword [esp + 0x20]
call fcn.00414362
add dword [esp + 4], edx
call fcn.00417c10
call fcn.00414380
mov ebx, dword [esp + 0x6c]
imul ebx, ebx, 0x3e8
mov dword [esp + 0x6c], ebx
push 0x3e8
push 0x2bc
push dword [0x4307a8]
call fcn.0041d331
push dword [esp + 0x18]
call fcn.0041bd04
push 0
push 0x30002
push 0x128
push dword [0x4307a8]
call fcn.0041da43
push eax
call sub.USER32.dll_SendMessageW
call fcn.0041d55c
push eax
mov ebx, 0x333c
cmp ebx, dword [esp]
jne 0x412098
mov dword [esp + 0x10], 1
jmp 0x412226
mov ebx, 0x332c
cmp ebx, dword [esp]
jne 0x4120d1
call fcn.0041fcb6
push eax
mov ebx, dword [esp + 0x44]
cmp ebx, dword [esp]
je 0x4120c3
mov ebx, dword [esp + 0x48]
cmp ebx, dword [esp]
je 0x4120c3
mov ebx, dword [esp + 0x4c]
cmp ebx, dword [esp]
jne 0x4120cb
mov dword [esp + 0x14], 2
pop eax
jmp 0x412226
mov ebx, 0x3336
cmp ebx, dword [esp]
jne 0x4121c3
call fcn.0041fce3
push eax
mov ebx, 0x2bc
cmp ebx, dword [esp]
jne 0x4121c0
add dword [esp + 0x18], 0x3e8
push edx
call fcn.004270a0
pop edx
push eax
mov edx, dword [esp + 0x14]
push edx
call fcn.004270a0
pop edx
push eax
push edx
call fcn.004271e0
mov edx, 0x42b040
push edx
call fcn.004271e0
push edx
call fcn.004270a0
pop edx
push eax
push edx
call fcn.004270a0
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.00414070
mov dword [esp], eax
mov dword [esp + 4], edx
pop eax
pop edx
push edx
push eax
call fcn.00424b20
pop eax
mov edx, 0x42b0ee
push edx
call fcn.004271e0
call fcn.00427340
push dword [esp + 0x28]
call fcn.00414362
add dword [esp + 4], edx
call fcn.00417c10
call fcn.00414380
mov ebx, dword [esp + 0x18]
cmp ebx, dword [esp + 0x74]
jl 0x4121c0
mov dword [esp + 0x14], 3
push 0x2bc
push dword [0x4307a8]
call fcn.0041d564
push dword [esp + 0x20]
call fcn.0041bd04
pop eax
jmp 0x412226
mov ebx, 0x332d
cmp ebx, dword [esp]
jne 0x412226
call fcn.0041fcd4
push eax
xor ebx, ebx
cmp ebx, dword [esp]
jne 0x4121ed
push dword [esp + 0x44]
call fcn.0041bd04
mov dword [esp + 0x14], 2
jmp 0x412225
mov ebx, 1
cmp ebx, dword [esp]
jne 0x41220a
push dword [esp + 0x48]
call fcn.0041bd04
mov dword [esp + 0x14], 2
jmp 0x412225
mov ebx, 2
cmp ebx, dword [esp]
jne 0x412225
push dword [esp + 0x4c]
call fcn.0041bd04
mov dword [esp + 0x14], 2
pop eax
pop eax
cmp dword [esp + 0xc], 0
je 0x41207b
call fcn.0041bd3f
push eax
mov ebx, dword [esp + 0x40]
cmp ebx, dword [esp]
jne 0x41225d
mov ebx, dword [esp + 0x68]
and ebx, ebx
jne 0x412253
mov dword [esp + 0x18], 0
jmp 0x41225b
mov dword [esp + 0x18], 6
jmp 0x412281
mov ebx, dword [esp + 0x44]
cmp ebx, dword [esp]
jne 0x412270
mov dword [esp + 0x18], 7
jmp 0x412281
mov ebx, dword [esp + 0x48]
cmp ebx, dword [esp]
jne 0x412281
mov dword [esp + 0x18], 2
pop eax
mov ebx, dword [esp + 0xc]
cmp ebx, 1
jne 0x412293
mov dword [esp + 0x14], 2
push 0xffffffff
push dword [0x4307a8]
call fcn.0041df30
push dword [esp + 0x28]
call fcn.004264ce
push dword [esp + 0x38]
call fcn.0041be80
push dword [esp + 0x34]
call fcn.0041be80
push dword [esp + 0x30]
call fcn.0041be80
push dword [0x4307a8]
call fcn.0041d229
push 1
push dword [esp + 0x5c]
call sub.USER32.dll_EnableWindow
mov eax, dword [esp + 0x14]
jmp 0x4122e8
push dword [esp]
call fcn.00427310
push dword [esp + 4]
call fcn.00427310
push dword [esp + 8]
call fcn.00427310
add esp, 0x50
pop ebx
ret 0x20