Function at 0x411223
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov edx, dword [0x41e460]
mov eax, dword [edx + 0x2a]
mov dword [ebp - 8], eax
mov ecx, dword [0x41e460]
cmp dword [ecx + 0xac], 0
je 0x4112eb
mov edx, dword [0x41e460]
mov eax, dword [edx + 0xac]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [0x41e460]
mov dword [ecx + 0xac], 0
push 5
mov edx, dword [0x41e460]
mov eax, dword [edx + 0x46]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
mov ecx, dword [0x41e460]
mov edx, dword [ecx + 0x46]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [0x41e460]
mov ecx, dword [eax + 0x46]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [0x41e460]
mov dword [edx + 0x42], 1
mov eax, dword [0x41e460]
mov ecx, dword [eax + 0x52]
push ecx
mov edx, dword [0x41e460]
mov eax, dword [edx + 0x56]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00411ac0
add esp, 0xc
mov edx, dword [0x41e460]
cmp dword [edx + 0x70], 0
je 0x411305
mov eax, dword [0x41e460]
mov ecx, dword [ebp - 8]
add ecx, dword [eax + 0x74]
mov dword [ebp - 8], ecx
mov edx, dword [0x41e460]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx + 0x1e]
jg 0x4113e1
mov ecx, dword [0x41e460]
cmp dword [ecx + 0x7c], 0
je 0x4113e1
mov edx, dword [0x41e460]
mov dword [edx + 0x80], 1
mov ecx, dword [0x41e460]
mov eax, dword [ebp - 0x18]
cdq
idiv dword [ecx + 0x1a]
mov edx, dword [0x41e460]
mov ecx, dword [edx + 0x2e]
add ecx, eax
mov dword [ebp - 0x1c], ecx
mov edx, dword [0x41e460]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [edx + 0x22]
jge 0x411368
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ecx
jmp 0x411374
mov edx, dword [0x41e460]
mov eax, dword [edx + 0x22]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jge 0x411383
mov dword [ebp - 0x24], 1
jmp 0x4113ab
mov ecx, dword [0x41e460]
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ecx + 0x22]
jge 0x411399
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
jmp 0x4113a5
mov ecx, dword [0x41e460]
mov edx, dword [ecx + 0x22]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], ecx
push 1
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0041115d
add esp, 8
mov eax, dword [0x41e460]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x84], ecx
mov edx, dword [0x41e460]
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0x88], eax
jmp 0x411700
mov ecx, dword [0x41e460]
xor edx, edx
mov dx, word [ecx + 8]
and edx, 1
test edx, edx
je 0x411402
mov eax, dword [0x41e460]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [eax + 0x1a]
mov dword [ebp - 0x18], ecx
mov edx, dword [0x41e460]
xor eax, eax
mov ax, word [edx + 8]
and eax, 2
test eax, eax
je 0x411424
mov ecx, dword [0x41e460]
mov edx, dword [ebp - 0xc]
sub edx, dword [ecx + 0x1e]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
jl 0x411430
cmp dword [ebp - 0x18], 0
jge 0x411435
jmp 0x411700
mov dword [ebp - 0x10], 0
jmp 0x411447
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [0x41e460]
mov edx, dword [ebp - 0x10]
cmp edx, dword [ecx + 0xa]
jge 0x411547
mov eax, dword [0x41e460]
cmp dword [eax + 0x70], 0
jne 0x41146e
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 8]
jge 0x41146e
jmp 0x41143e
mov edx, dword [0x41e460]
cmp dword [edx + 0x70], 0
je 0x411491
mov eax, dword [0x41e460]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax + 0x74]
jl 0x411491
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 8]
jge 0x411491
jmp 0x41143e
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 4]
jl 0x411529
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x26
mov edx, dword [0x41e460]
mov eax, dword [edx + 0x32]
mov edx, dword [ebp - 4]
add edx, dword [eax + ecx + 0x14]
cmp dword [ebp - 0xc], edx
jg 0x411529
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov ecx, dword [0x41e460]
mov eax, dword [ebp - 0x18]
cdq
idiv dword [ecx + 0x1a]
mov edx, dword [0x41e460]
mov ecx, dword [edx + 0x2e]
add ecx, eax
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x10]
imul edx, edx, 0x26
mov eax, dword [0x41e460]
mov ecx, dword [eax + 0x32]
cmp dword [ecx + edx + 0x18], 0
jne 0x411527
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00412655
add esp, 0x10
jmp 0x411700
jmp 0x411547
mov eax, dword [ebp - 0x10]
imul eax, eax, 0x26
mov ecx, dword [0x41e460]
mov edx, dword [ecx + 0x32]
mov ecx, dword [ebp - 4]
add ecx, dword [edx + eax + 0x14]
mov dword [ebp - 4], ecx
jmp 0x41143e
mov edx, dword [0x41e460]
cmp dword [edx + 0x70], 0
je 0x4115e6
mov eax, dword [0x41e460]
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [eax + 0x74]
jge 0x411572
mov edx, dword [0x41e460]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x4a], eax
jmp 0x4115e4
mov ecx, dword [0x41e460]
mov edx, dword [ecx + 0xa]
sub edx, 1
cmp dword [ebp - 0x14], edx
jge 0x41158b
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
jmp 0x41159a
mov ecx, dword [0x41e460]
mov edx, dword [ecx + 0xa]
sub edx, 1
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x2c]
jle 0x4115aa
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x30], ecx
jmp 0x4115d8
mov edx, dword [0x41e460]
mov eax, dword [edx + 0xa]
sub eax, 1
cmp dword [ebp - 0x14], eax
jge 0x4115c3
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x34], ecx
jmp 0x4115d2
mov edx, dword [0x41e460]
mov eax, dword [edx + 0xa]
sub eax, 1
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x30], ecx
mov edx, dword [0x41e460]
mov eax, dword [ebp - 0x30]
mov dword [edx + 0x4a], eax
jmp 0x411658
mov ecx, dword [0x41e460]
mov edx, dword [ecx + 0xa]
sub edx, 1
cmp dword [ebp - 0x14], edx
jge 0x4115ff
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x38], eax
jmp 0x41160e
mov ecx, dword [0x41e460]
mov edx, dword [ecx + 0xa]
sub edx, 1
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x38]
jle 0x41161e
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x3c], ecx
jmp 0x41164c
mov edx, dword [0x41e460]
mov eax, dword [edx + 0xa]
sub eax, 1
cmp dword [ebp - 0x14], eax
jge 0x411637
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x40], ecx
jmp 0x411646
mov edx, dword [0x41e460]
mov eax, dword [edx + 0xa]
sub eax, 1
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x3c], ecx
mov edx, dword [0x41e460]
mov eax, dword [ebp - 0x3c]
mov dword [edx + 0x4a], eax
mov ecx, dword [0x41e460]
mov edx, dword [ecx + 0x22]
sub edx, 1
cmp dword [ebp - 0x1c], edx
jge 0x411671
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x44], eax
jmp 0x411680
mov ecx, dword [0x41e460]
mov edx, dword [ecx + 0x22]
sub edx, 1
mov dword [ebp - 0x44], edx
mov eax, dword [0x41e460]
mov ecx, dword [eax + 0x2e]
cmp ecx, dword [ebp - 0x44]
jle 0x41169b
mov edx, dword [0x41e460]
mov eax, dword [edx + 0x2e]
mov dword [ebp - 0x48], eax
jmp 0x4116c9
mov ecx, dword [0x41e460]
mov edx, dword [ecx + 0x22]
sub edx, 1
cmp dword [ebp - 0x1c], edx
jge 0x4116b4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x4c], eax
jmp 0x4116c3
mov ecx, dword [0x41e460]
mov edx, dword [ecx + 0x22]
sub edx, 1
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x48], eax
mov ecx, dword [0x41e460]
mov edx, dword [ebp - 0x48]
mov dword [ecx + 0x4e], edx
mov eax, dword [0x41e460]
mov ecx, dword [eax + 0x52]
push ecx
mov edx, dword [0x41e460]
mov eax, dword [edx + 0x56]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00411ac0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
call fcn.00410a74
add esp, 4
mov esp, ebp
pop ebp
ret