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

Disassembly:
push ebx
mov edx, 0x14
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x411464
call fcn.00426dd0
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 0x4114ea
movsx ebx, word [0x42f6c6]
and ebx, ebx
jge 0x4114de
movsx ebx, word [0x42f6c6]
dec ebx
mov dword [esp + 0x74], ebx
jmp 0x4114ea
movsx ebx, word [0x42f6c6]
inc ebx
mov dword [esp + 0x74], ebx
push dword [esp + 0x74]
push dword [0x42f624]
push 0xffffffff
call fcn.00426134
mov dword [esp + 0x28], eax
push dword [esp + 0x28]
call fcn.0042614a
mov dword [esp + 0x2c], eax
push dword [esp + 0x58]
push 0x90c00002
mov eax, 0x42a02e
push eax
push 0xffff0001
push 0x190
push 0
push 0
push 0xffffffff
call fcn.0041d4be
mov dword [0x42f604], eax
push dword [esp + 4]
push 0
push 0
push 0x14
push 0x3c
push 0xffffffff
call fcn.00418697
mov dword [esp + 0x34], eax
push dword [esp + 0x2c]
push dword [esp + 0x38]
call fcn.00418020
push dword [0x42f5ec]
push dword [0x42f604]
call fcn.0041d968
push dword [0x42f5f0]
push 1
push dword [esp + 0x3c]
call fcn.0041b545
push dword [0x42f5ec]
push 2
push dword [esp + 0x3c]
call fcn.0041b545
push 1
push dword [esp + 0x38]
call fcn.00418390
mov dword [esp + 0x48], eax
push 1
push dword [esp + 0x38]
call fcn.0041addf
mov dword [esp + 0x4c], eax
mov ebx, dword [esp + 0x48]
cmp ebx, 0x15e
jge 0x4115e5
mov dword [esp + 0x48], 0x15e
mov ebx, dword [esp + 0x4c]
cmp ebx, 0x20
jge 0x4115f6
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 [0x42f604]
call fcn.0041d9c7
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push 0xffff0001
push 0xffff0001
push dword [esp + 0x44]
call fcn.00417e4c
push 0x2d
mov ebx, dword [esp + 0x4c]
add ebx, 0x4b
push ebx
push dword [0x42f604]
call fcn.0041dbd7
mov ebx, eax
add ebx, 0xffffffd3
push ebx
push 0
push 0xffffffff
call fcn.00418373
mov dword [esp + 0x38], eax
push dword [0x42f604]
call fcn.0041dc2c
mov dword [esp - 4], eax
fild dword [esp - 4]
fdiv qword [0x42d5d8]
sub esp, 8
fstp qword [esp]
call fcn.00417730
mov dword [esp + 0x20], eax
push dword [esp + 0x64]
mov ebx, 4
cmp ebx, dword [esp]
jne 0x411715
mov eax, 0x42b048
push eax
push 0x19
push 0x5a
push dword [esp + 0x34]
push dword [esp + 0x34]
push 0xffffffff
call fcn.00419d97
mov dword [esp + 0x40], eax
mov eax, 0x42d074
push eax
push 0x19
push 0x5a
push dword [esp + 0x34]
mov ebx, dword [esp + 0x34]
add ebx, 0x64
push ebx
push 0xffffffff
call fcn.00419d97
mov dword [esp + 0x44], eax
push dword [esp + 0x6c]
mov ebx, 6
cmp ebx, dword [esp]
jne 0x411706
push dword [esp + 0x44]
pop eax
mov dword [esp + 0x20], eax
jmp 0x41170f
push dword [esp + 0x48]
pop eax
mov dword [esp + 0x20], eax
pop eax
jmp 0x411826
mov ebx, 3
cmp ebx, dword [esp]
jne 0x4117f3
mov eax, 0x42b048
push eax
push 0x19
push 0x5a
push dword [esp + 0x34]
mov ebx, dword [esp + 0x34]
add ebx, 0xffffff6f
push ebx
push 0xffffffff
call fcn.00419d97
mov dword [esp + 0x40], eax
mov eax, 0x42d074
push eax
push 0x19
push 0x5a
push dword [esp + 0x34]
mov ebx, dword [esp + 0x34]
add ebx, 0xffffffd3
push ebx
push 0xffffffff
call fcn.00419d97
mov dword [esp + 0x44], eax
mov eax, str.Cancel
push eax
push 0x19
push 0x5a
push dword [esp + 0x34]
mov ebx, dword [esp + 0x34]
add ebx, 0x37
push ebx
push 0xffffffff
call fcn.00419d97
mov dword [esp + 0x48], eax
push dword [esp + 0x6c]
mov ebx, 6
cmp ebx, dword [esp]
jne 0x4117bd
push dword [esp + 0x44]
pop eax
mov dword [esp + 0x20], eax
jmp 0x4117f0
mov ebx, 7
cmp ebx, dword [esp]
jne 0x4117d2
push dword [esp + 0x48]
pop eax
mov dword [esp + 0x20], eax
jmp 0x4117f0
mov ebx, 2
cmp ebx, dword [esp]
jne 0x4117e7
push dword [esp + 0x4c]
pop eax
mov dword [esp + 0x20], eax
jmp 0x4117f0
push dword [esp + 0x44]
pop eax
mov dword [esp + 0x20], eax
pop eax
jmp 0x411826
mov eax, 0x42d260
push eax
push 0x19
push 0x5a
push dword [esp + 0x34]
mov ebx, dword [esp + 0x34]
add ebx, 0xffffffd3
push ebx
push 0xffffffff
call fcn.00419d97
mov dword [esp + 0x40], eax
push dword [esp + 0x40]
pop eax
mov dword [esp + 0x1c], eax
pop eax
call fcn.004186b7
push edx
call fcn.00426bf0
pop edx
push eax
push edx
call fcn.00426bf0
pop edx
push eax
push dword [esp + 0x20]
call fcn.00417ae9
lea eax, [esp + 0xc]
push eax
call fcn.00426c30
push dword [esp]
push dword [0x42f604]
call fcn.0041d83c
push 1
push dword [0x42f604]
call fcn.0041dc3a
push 2
push 0
push dword [0x42f604]
call fcn.0041d865
push 0x30
call sub.USER32.dll_MessageBeep
push edx
call fcn.00426bf0
pop edx
push eax
push 0x20
push dword [esp + 0x78]
mov edx, dword [0x42f5e0]
push edx
call fcn.00426bf0
pop edx
push eax
push edx
call fcn.00426d30
mov edx, str.System32Shell32.dll
push edx
call fcn.00426d30
call fcn.00414322
add dword [esp], edx
call fcn.0040e1ea
call fcn.00414340
mov dword [esp + 0x1c], eax
push dword [esp + 0x1c]
push 0x20
push 0x20
push 0x14
push 0xf
push 0xffffffff
call fcn.0041bb16
mov dword [esp + 0x30], eax
push dword [esp + 0x1c]
call sub.USER32.dll_DestroyIcon
cmp dword [esp + 0x6c], 0
je 0x411998
push edx
call fcn.00426bf0
pop edx
push eax
mov edx, dword [esp + 0xc]
push edx
call fcn.00426bf0
pop edx
push eax
push edx
call fcn.00426d30
mov edx, 0x42a040
push edx
call fcn.00426d30
push edx
call fcn.00426bf0
pop edx
push eax
push edx
call fcn.00426bf0
pop edx
push eax
mov eax, dword [esp + 0x7c]
cdq
push edx
push eax
call fcn.004245c0
pop eax
mov edx, 0x42a0ea
push edx
call fcn.00426d30
call fcn.00426e90
push dword [esp + 0x20]
call fcn.00414322
add dword [esp + 4], edx
call fcn.00417b87
call fcn.00414340
mov ebx, dword [esp + 0x6c]
imul ebx, ebx, 0x3e8
mov dword [esp + 0x6c], ebx
push 0x3e8
push 0x2bc
push dword [0x42f604]
call fcn.0041d18b
push dword [esp + 0x18]
call fcn.0041bb5e
push 0
push 0x30002
push 0x128
push dword [0x42f604]
call fcn.0041d820
push eax
call sub.USER32.dll_SendMessageW
call fcn.0041d339
push eax
mov ebx, 0x333c
cmp ebx, dword [esp]
jne 0x4119de
mov dword [esp + 0x10], 1
jmp 0x411b0d
mov ebx, 0x332c
cmp ebx, dword [esp]
jne 0x411a17
call fcn.0041f87e
push eax
mov ebx, dword [esp + 0x44]
cmp ebx, dword [esp]
je 0x411a09
mov ebx, dword [esp + 0x48]
cmp ebx, dword [esp]
je 0x411a09
mov ebx, dword [esp + 0x4c]
cmp ebx, dword [esp]
jne 0x411a11
mov dword [esp + 0x14], 2
pop eax
jmp 0x411b0d
mov ebx, 0x3336
cmp ebx, dword [esp]
jne 0x411b0d
call fcn.0041f8ab
push eax
mov ebx, 0x2bc
cmp ebx, dword [esp]
jne 0x411b0c
mov ebx, dword [esp + 0x18]
add ebx, 0x3e8
mov dword [esp + 0x18], ebx
push edx
call fcn.00426bf0
pop edx
push eax
mov edx, dword [esp + 0x14]
push edx
call fcn.00426bf0
pop edx
push eax
push edx
call fcn.00426d30
mov edx, 0x42a040
push edx
call fcn.00426d30
push edx
call fcn.00426bf0
pop edx
push eax
push edx
call fcn.00426bf0
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.004245c0
pop eax
mov edx, 0x42a0ea
push edx
call fcn.00426d30
call fcn.00426e90
push dword [esp + 0x28]
call fcn.00414322
add dword [esp + 4], edx
call fcn.00417b87
call fcn.00414340
mov ebx, dword [esp + 0x18]
cmp ebx, dword [esp + 0x74]
jl 0x411b0c
mov dword [esp + 0x14], 3
push 0x2bc
push dword [0x42f604]
call fcn.0041d341
push dword [esp + 0x20]
call fcn.0041bb5e
pop eax
pop eax
cmp dword [esp + 0xc], 0
je 0x4119c1
call fcn.0041bb99
push eax
mov ebx, dword [esp + 0x40]
cmp ebx, dword [esp]
jne 0x411b44
mov ebx, dword [esp + 0x68]
and ebx, ebx
jne 0x411b3a
mov dword [esp + 0x18], 0
jmp 0x411b42
mov dword [esp + 0x18], 6
jmp 0x411b68
mov ebx, dword [esp + 0x44]
cmp ebx, dword [esp]
jne 0x411b57
mov dword [esp + 0x18], 7
jmp 0x411b68
mov ebx, dword [esp + 0x48]
cmp ebx, dword [esp]
jne 0x411b68
mov dword [esp + 0x18], 2
pop eax
mov ebx, dword [esp + 0xc]
cmp ebx, 1
jne 0x411b7a
mov dword [esp + 0x14], 2
push dword [esp + 0x28]
call fcn.0042601e
push dword [esp + 0x38]
call fcn.0041bcda
push dword [esp + 0x34]
call fcn.0041bcda
push dword [esp + 0x30]
call fcn.0041bcda
push dword [0x42f604]
call fcn.0041d083
push 1
push dword [esp + 0x5c]
call sub.USER32.dll_EnableWindow
mov eax, dword [esp + 0x14]
jmp 0x411bbf
push dword [esp]
call fcn.00426e60
push dword [esp + 4]
call fcn.00426e60
push dword [esp + 8]
call fcn.00426e60
add esp, 0x50
pop ebx
ret 0x20