Function at 0x4142f2
Capabilities:
Hide graphical window

Disassembly:
push 0xaa0
mov eax, 0x4585dc
call fcn.0044730c
mov esi, ecx
mov dword [ebp - 0xa98], esi
call fcn.00412142
neg eax
sbb edi, edi
inc edi
call fcn.004106b5
xor ecx, ecx
mov dword [ebp - 0xa6c], eax
xor eax, eax
push 2
pop ebx
inc ecx
mov dword [ebp - 0xa74], eax
mov dword [ebp - 0xa68], ebx
mov dword [ebp - 0xa64], ebx
cmp dword [esi + 0x88], eax
je 0x414342
mov edi, ecx
cmp edi, eax
je 0x41434e
cmp dword [ebp - 0xa6c], eax
jne 0x414354
mov dword [esi + 0x334], eax
cmp dword [ebp + 8], eax
jne 0x414367
mov dword [ebp - 0xa68], eax
mov dword [ebp - 0xa64], eax
jmp 0x41439a
mov edx, dword [esi + 0x334]
cmp edx, 3
jl 0x4143cd
cmp edx, 4
jle 0x4143b9
cmp edx, 5
jne 0x4143cd
cmp edi, eax
je 0x41439a
cmp dword [ebp - 0xa6c], eax
je 0x41439a
mov dword [ebp - 0xa74], ecx
mov dword [ebp - 0xa64], ebx
mov dword [ebp - 0xa68], ebx
push eax
lea ecx, [ebp - 0xa94]
call fcn.0042e933
and dword [ebp - 4], 0
cmp dword [ebp - 0xa68], ebx
jne 0x4143f4
mov ebx, 0x1001
jmp 0x414408
mov dword [ebp - 0xa68], ecx
mov dword [ebp - 0xa64], ecx
mov dword [esi + 0x90], ecx
jmp 0x41439a
cmp edi, eax
jne 0x4143e1
cmp dword [ebp - 0xa6c], eax
jne 0x41438e
mov dword [ebp - 0xa64], eax
jmp 0x414394
cmp dword [ebp - 0xa6c], eax
jne 0x41438e
mov dword [ebp - 0xa64], eax
mov dword [esi + 0x5c], ecx
jmp 0x414394
mov ebx, dword [ebp - 0xa68]
dec ebx
neg ebx
sbb ebx, ebx
and ebx, 0xffffff91
add ebx, 0x107b
mov eax, dword [esi + 0x58]
xor ecx, ecx
cmp dword [ebp - 0xa68], 2
sete cl
push ecx
lea ecx, [esi + 0x58]
call dword [eax + 0x14]
mov dword [ebp - 0xa6c], eax
mov eax, dword [0x466004]
mov dword [ebp - 0xa70], eax
mov eax, dword [esi + 0x58]
lea ecx, [esi + 0x58]
call dword [eax + 0x10]
push eax
mov eax, dword [esi + 0x58]
lea ecx, [esi + 0x58]
call dword [eax + 0xc]
push eax
mov edi, 0xca
push edi
push dword [ebp - 0xa6c]
lea eax, [ebp - 0xa94]
push dword [ebp - 0xa70]
push ebx
push eax
call fcn.0042e9a1
mov ecx, dword [ebp - 0xa90]
add esp, 0x1c
test ecx, ecx
jne 0x414474
mov ecx, 0x40df5c
push edi
mov edx, esi
call fcn.00415edb
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
xor ecx, ecx
cmp dword [ebp - 0xa68], ecx
setne cl
push ecx
push eax
call dword [0x4650fc]
cmp dword [ebp - 0xa64], 2
jne 0x4144a9
mov ebx, 0x1001
jmp 0x4144bd
mov ebx, dword [ebp - 0xa64]
dec ebx
neg ebx
sbb ebx, ebx
and ebx, 0xffffff91
add ebx, 0x107b
mov eax, dword [esi + 0x8c]
xor ecx, ecx
cmp dword [ebp - 0xa64], 2
sete cl
push ecx
lea ecx, [esi + 0x8c]
call dword [eax + 0x14]
mov dword [ebp - 0xa70], eax
mov eax, dword [0x466004]
mov dword [ebp - 0xa6c], eax
mov eax, dword [esi + 0x8c]
lea ecx, [esi + 0x8c]
call dword [eax + 0x10]
push eax
mov eax, dword [esi + 0x8c]
lea ecx, [esi + 0x8c]
call dword [eax + 0xc]
push eax
mov edi, 0xcb
push edi
push dword [ebp - 0xa70]
lea eax, [ebp - 0xa94]
push dword [ebp - 0xa6c]
push ebx
push eax
call fcn.0042e9a1
mov ecx, dword [ebp - 0xa90]
add esp, 0x1c
test ecx, ecx
jne 0x41453b
mov ecx, 0x40df5c
push edi
mov edx, esi
call fcn.00415edb
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push dword [esi + 4]
call ebx
xor ecx, ecx
cmp dword [ebp - 0xa64], ecx
setne cl
push ecx
push eax
call dword [0x4650fc]
push 0x108f
lea ecx, [ebp - 0xa84]
call fcn.0042e933
mov byte [ebp - 4], 1
mov eax, dword [eax + 4]
test eax, eax
jne 0x414582
mov eax, 0x40df5c
push eax
push 0x117
push dword [0x466004]
lea eax, [ebp - 0xa94]
push 0x1090
push eax
call fcn.0042e9a1
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa84]
call fcn.0042e991
mov ecx, dword [ebp - 0xa90]
test ecx, ecx
jne 0x4145c0
mov ecx, 0x40df5c
mov edi, 0x118
push edi
mov edx, esi
call fcn.00415edb
cmp dword [ebp - 0xa74], 0
jne 0x4145e5
push edi
push dword [esi + 4]
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
mov esi, 0x208
push esi
push eax
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push eax
call fcn.00427b40
add esp, 0xc
xor eax, eax
push esi
mov word [ebp - 0x850], ax
xor edi, edi
lea eax, [ebp - 0x84e]
push edi
push eax
call fcn.00427b40
add esp, 0xc
xor eax, eax
push esi
mov word [ebp - 0x430], ax
lea eax, [ebp - 0x42e]
push edi
push eax
call fcn.00427b40
add esp, 0xc
xor eax, eax
push esi
mov word [ebp - 0xa60], ax
lea eax, [ebp - 0xa5e]
push edi
push eax
call fcn.00427b40
add esp, 0xc
xor eax, eax
push esi
mov word [ebp - 0x640], ax
lea eax, [ebp - 0x63e]
push edi
push eax
call fcn.00427b40
add esp, 0xc
mov ebx, 0x105
lea esi, [ebp - 0x220]
mov edi, 0x40e284
mov dword [ebp - 0xa9c], 0x20a
call fcn.00411346
mov eax, esi
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x414692
sub eax, ecx
sar eax, 1
mov edi, 0x104
mov ecx, edi
sub ecx, eax
push ecx
push 0x40e538
lea eax, [ebp - 0x220]
push eax
call fcn.0041128f
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.00422ca6
lea eax, [ebp - 0x220]
push eax
push ebx
lea eax, [ebp - 0xa60]
push eax
mov esi, 0x40df5c
push esi
push 0x40e47c
push 0x40e2c4
call fcn.0044680b
push edi
lea eax, [ebp - 0x850]
push 0x40e48c
push eax
call fcn.00422575
add esp, 0x2c
lea eax, [ebp - 0x850]
push eax
push ebx
lea eax, [ebp - 0x430]
push eax
push esi
push 0x40e2b0
push 0x40e278
call fcn.0044680b
add esp, 0x18
xor edi, edi
push edi
lea ecx, [ebp - 0xaac]
call fcn.0042e933
mov byte [ebp - 4], 2
lea eax, [ebp - 0xa60]
push eax
lea eax, [ebp - 0xaac]
push 0x40e1b8
push eax
call fcn.0042e9db
add esp, 0xc
mov dword [ebp - 0xa80], edi
mov dword [ebp - 0xa7c], edi
mov dword [ebp - 0xa78], edi
mov byte [ebp - 4], 3
cmp dword [ebp - 0xaa8], edi
je 0x414776
mov esi, dword [ebp - 0xaa8]
push 0x2001f
push esi
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0xa80]
call fcn.004108fc
cmp eax, edi
jne 0x4147d1
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x640]
push ebx
push eax
call fcn.0042250d
add esp, 0xc
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0xa80]
push eax
lea edi, [ebp - 0xa9c]
lea esi, [ebp - 0x640]
call fcn.0041c948
lea ecx, [ebp - 0xa80]
call fcn.00410952
mov esi, dword [ebp - 0xa98]
call fcn.00416022
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa80]
call fcn.00410952
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xaac]
call fcn.0042e991
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa94]
call fcn.0042e991
call fcn.0044739e
ret 4