Function at 0x417fe0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x459e00]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 1
push ebx
push esi
push edi
mov esi, ecx
jne 0x41830a
mov eax, dword [ebp + 8]
cmp dword [esi + 0x828], eax
jne 0x418036
mov eax, dword [esi + 4]
push 0
push 0xf020
push 0x112
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434758
mov esp, ebp
pop ebp
ret 8
cmp dword [esi + 0x82c], eax
jne 0x418049
mov ecx, dword [esi + 4]
push 0
push ecx
jmp 0x41824b
cmp dword [esi + 0x834], eax
jne 0x4181dd
mov eax, dword [esi + 0x7b0]
cmp eax, 3
jne 0x418151
call fcn.00417a60
mov ecx, dword [esi + 0x8dc]
sub ecx, dword [esi + 0x8d8]
lea edi, [esi + 0x8d8]
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x418129
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x44dadc
lea ecx, [ebp - 0x430]
call fcn.00402310
mov edx, dword [esi + 0x7c4]
mov ecx, dword [esi + 4]
push 0x270f
push edx
lea eax, [ebp - 0x430]
push eax
push 0x8005
push ecx
lea ecx, [esi + 0x358]
call fcn.0041e850
lea ecx, [ebp - 0x430]
call fcn.00402360
mov edx, dword [esi + 4]
push edi
lea ebx, [esi + 0x2b0]
push edx
mov ecx, ebx
call fcn.0041ac80
lea eax, [esi + 0x118]
mov esi, dword [esi + 0x880]
push eax
sub esp, 0x1c
add esi, 0x34
mov ecx, esp
push esi
call fcn.004022e0
mov ecx, ebx
call fcn.0041acd0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434758
mov esp, ebp
pop ebp
ret 8
cmp byte [esi + 0x7c0], 0
sete al
movzx ecx, al
push ecx
mov ecx, esi
call fcn.00414570
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434758
mov esp, ebp
pop ebp
ret 8
cmp eax, 1
je 0x418178
test eax, eax
jne 0x41830a
call fcn.004170b0
mov edx, dword [esi + 0x80c]
sub edx, dword [esi + 0x808]
sar edx, 2
test edx, edx
jne 0x418190
mov ecx, esi
call fcn.00413e90
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434758
mov esp, ebp
pop ebp
ret 8
push str.22find
call fcn.0040b470
lea ecx, [eax + 0x1e8]
call fcn.00413050
push 1
mov ecx, esi
test eax, eax
jne 0x4181c5
call fcn.0042b3a0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434758
mov esp, ebp
pop ebp
ret 8
call fcn.004265b0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434758
mov esp, ebp
pop ebp
ret 8
cmp dword [esi + 0x830], eax
jne 0x418276
call fcn.0040b470
mov ebx, 8
cmp dword [eax + 0x34], ebx
jb 0x4181fd
mov edi, dword [eax + 0x20]
jmp 0x418200
lea edi, [eax + 0x20]
lea eax, [ebp - 0x430]
push 0x90
push eax
call fcn.00401eb0
add esp, 8
cmp dword [eax + 0x14], ebx
jb 0x41821b
mov eax, dword [eax]
mov ecx, dword [esi + 4]
push 0x104
push edi
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
lea ecx, [ebp - 0x430]
sete bl
call fcn.00402360
test bl, bl
je 0x41830a
mov edx, dword [esi + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 6
mov ecx, esi
call fcn.00413540
push 1
mov ecx, esi
call fcn.00414570
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434758
mov esp, ebp
pop ebp
ret 8
cmp dword [esi + 0x884], eax
jne 0x41830a
xor eax, eax
push 0x40e
push eax
lea ecx, [ebp - 0x412]
push ecx
mov word [ebp - 0x414], ax
call fcn.00434d00
mov eax, dword [esi + 0x880]
add eax, 0x34
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x4182b1
mov eax, dword [eax]
push eax
lea edx, [ebp - 0x414]
push 0x208
push edx
call fcn.00435095
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x414]
push eax
push 0x44dadc
push ecx
call fcn.00412e30
add esp, 0x18
lea edx, [ebp - 0x414]
push edx
lea ecx, [ebp - 0x430]
call fcn.00402310
mov ecx, dword [esi + 0x880]
lea eax, [ebp - 0x430]
push eax
call fcn.00430240
lea ecx, [ebp - 0x430]
call fcn.00402360
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00434758
mov esp, ebp
pop ebp
ret 8