Function at 0x411ef0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x432304]
mov edx, dword [eax + 0xc]
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x432304
call edx
mov edi, eax
push 0
add edi, 0x10
push 0x67
mov dword [ebp - 4], edi
call fcn.00402990
add esp, 8
test eax, eax
je 0x411f30
push 0x67
push eax
lea ecx, [ebp - 4]
call fcn.004038d0
mov edi, dword [ebp - 4]
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov ebx, esp
push eax
call fcn.00402b50
add eax, 0x10
mov dword [ebx], eax
mov ecx, dword [esi + 0x130]
add esp, 4
call fcn.00404650
test eax, eax
jne 0x411fad
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 4]
push 0x10
push eax
push edi
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
add edi, 0xfffffff0
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x411f83
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411fa2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x130]
cmp word [eax + 0x64], 1
jbe 0x411fe1
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 4]
push 0x10
push ecx
push 0x429390
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
add edi, 0xfffffff0
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jmp 0x411f77
mov ecx, dword [eax + 0x90]
cmp dword [ecx - 0xc], 0
jle 0x412047
lea ecx, [ebp - 0x58]
call fcn.0040f220
mov edx, dword [esi + 0x130]
add edx, 0x90
push edx
lea ecx, [ebp - 0x34]
call fcn.0040fec0
push 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x58]
call fcn.0040fcf0
lea ecx, [ebp - 0x58]
test eax, eax
jne 0x412042
call fcn.0040d270
lea ecx, [ebp - 4]
call fcn.00403820
lea ecx, [ebp + 8]
call fcn.00403820
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.0040d270
mov eax, dword [esi + 0x130]
cmp dword [eax + 0x3c], 0
mov dword [ebp - 0xc], 0
ja 0x412065
cmp word [eax + 0x36], 0
jbe 0x412102
call fcn.00403430
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x4120be
mov ecx, dword [esi + 0x130]
cmp byte [ecx + 0x2e], 1
jne 0x4120a0
cmp dword [ecx + 0x3c], eax
jbe 0x4120be
push 0x75
lea ecx, [ebp - 4]
call fcn.00403ad0
mov eax, dword [esi + 0x5c]
mov ecx, dword [ebp - 4]
push 0x10
push eax
push ecx
lea ecx, [esi + 4]
call fcn.0040ae50
jmp 0x412027
call fcn.00403560
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x4120bb
mov edx, dword [esi + 0x130]
cmp dword [edx + 0x3c], eax
jbe 0x4120bb
push 0x76
jmp 0x412084
mov eax, dword [ebp - 0xc]
mov ecx, dword [esi + 0x130]
mov edx, dword [ecx + 0x3c]
test edx, edx
jbe 0x4120e9
cmp eax, edx
jbe 0x4120e9
mov edx, dword [esi + 0x5c]
mov eax, dword [ecx + 0x8c]
push 0x10
push edx
push eax
lea ecx, [esi + 4]
call fcn.0040ae50
jmp 0x412027
test eax, eax
jbe 0x412102
cmp word [ecx + 0x36], 0
jbe 0x412102
mov ecx, dword [ecx + 0x38]
test ecx, ecx
je 0x412111
jbe 0x412102
cmp dword [ebp - 0xc], ecx
jb 0x412111
mov ecx, esi
call fcn.00410ec0
test eax, eax
je 0x412027
mov edx, dword [esi + 4]
lea eax, [esi + 4]
lea ecx, [ebp - 0x30]
push ecx
push edx
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x30]
push 1
push eax
lea ebx, [esi + 0x128]
push ecx
mov ecx, ebx
call fcn.0040ae70
push 0x79
lea ecx, [ebp - 4]
call fcn.00403ad0
push str._r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n_r_n
lea ecx, [ebp - 0x10]
call fcn.00403b20
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.0040f950
add esp, 0xc
push eax
lea ecx, [ebp - 4]
call fcn.0040fec0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x412195
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4121b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str._r_n____________________________________________________________________________________________________________________________________
lea ecx, [ebp - 4]
call fcn.00411070
mov ecx, dword [esi + 0x130]
mov eax, dword [ecx + 0x98]
test eax, eax
je 0x412255
cmp dword [eax - 0xc], 0
jle 0x412255
push 0x429250
lea ecx, [ebp - 0x10]
call fcn.00403b20
mov eax, dword [esi + 0x130]
lea edx, [eax + 0x9c]
push edx
lea ecx, [ebp - 0x10]
push ecx
add eax, 0x98
push eax
lea edx, [ebp - 0x1c]
push 0x429240
push edx
call fcn.0040f9d0
add esp, 0xc
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040f950
add esp, 0xc
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.0040f950
add esp, 0xc
push eax
lea ecx, [ebp - 4]
call fcn.00404630
lea ecx, [ebp - 0x18]
call fcn.00403820
lea ecx, [ebp - 0x14]
call fcn.00403820
lea ecx, [ebp - 0x1c]
call fcn.00403820
lea ecx, [ebp - 0x10]
call fcn.00403820
jmp 0x412262
push 0x4291e0
lea ecx, [ebp - 4]
call fcn.00411070
mov edx, dword [ebp - 4]
mov eax, dword [ebx]
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebx]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.00402ab0
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov edi, esp
push eax
call fcn.00402b50
add eax, 0x10
mov dword [edi], eax
mov ecx, dword [esi + 0x130]
add esp, 4
call fcn.004049b0
test eax, eax
jne 0x4122de
push 0x68
lea ecx, [ebp - 4]
call fcn.00403ad0
mov edx, dword [esi + 0x5c]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
push 0x10
push edx
mov edx, dword [ecx]
push eax
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x412027
mov eax, dword [esi + 0x130]
movzx ecx, byte [eax + 0x2c]
mov dword [esi + 0x60], ecx
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0xa4]
mov ecx, dword [esi + 0x12c]
push edx
push eax
call fcn.00410bc0
mov edi, eax
mov dword [ebp - 0x10], edi
test edi, edi
je 0x4123f8
mov ecx, dword [esi + 0x130]
cmp byte [ecx + 0x2d], 1
je 0x4123d2
call fcn.00403df0
test al, al
jne 0x412520
mov ecx, dword [esi + 0x130]
call fcn.00403d40
test al, al
jne 0x412520
mov ecx, dword [esi + 0x130]
call fcn.00403ea0
test eax, eax
je 0x41236e
push 0x78
lea ecx, [ebp - 4]
call fcn.00403ad0
mov ecx, dword [esi + 0x5c]
mov edx, dword [ebp - 4]
push 0x10
push ecx
mov ecx, dword [ebp - 8]
push edx
call fcn.0040ae50
jmp 0x412027
mov ecx, dword [esi + 0x130]
call fcn.00404250
test eax, eax
je 0x412399
mov eax, dword [esi + 0x12c]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [esi + 0x130]
call fcn.00403f30
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x4123ba
push 0x66
lea ecx, [ebp - 4]
call fcn.00403ad0
mov edx, dword [esi + 0x5c]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
push 0x10
push edx
push eax
call fcn.0040ae50
jmp 0x412027
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push 0
push 0x3e8
push 3
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov edi, dword [ebp - 0x10]
cmp dword [esi + 0x60], 0
je 0x4123f8
lea edi, [esi + 0x134]
push 0
mov ecx, edi
call fcn.004051f0
mov edx, dword [edi]
push edx
lea ecx, [esi + 0x138]
call fcn.00406800
mov edi, dword [ebp - 0x10]
mov eax, dword [esi + 0x130]
mov ecx, dword [eax + 0xa4]
push ecx
call fcn.0041980f
mov edx, dword [esi + 0x130]
add esp, 4
mov dword [edx + 0xa4], 0
test edi, edi
je 0x412541
mov eax, dword [esi + 0x130]
add eax, 0xa0
push eax
lea ecx, [ebp - 0x10]
call fcn.004037f0
mov ecx, dword [esi + 0x130]
add ecx, 0x98
push ecx
push 0x428814
call fcn.004110c0
add esp, 8
test al, al
je 0x4124c7
push 0x4291dc
lea ecx, [ebp - 0x18]
call fcn.00403b20
push 0x4291d8
lea ecx, [ebp - 0x14]
call fcn.00403b20
mov eax, dword [esi + 0x130]
lea edx, [ebp - 0x18]
push edx
add eax, 0x98
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.0040f950
add esp, 0xc
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040f950
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
call fcn.00404630
lea ecx, [ebp - 0x1c]
call fcn.00403820
lea ecx, [ebp - 0x20]
call fcn.00403820
lea ecx, [ebp - 0x14]
call fcn.00403820
lea ecx, [ebp - 0x18]
call fcn.00403820
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 8]
call fcn.0040ae30
mov edx, dword [ebx]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
jbe 0x41251b
mov esi, dword [esi + 0x130]
movzx eax, word [esi + 0x36]
test ax, ax
jbe 0x41251b
mov esi, dword [esi + 0x38]
test esi, esi
je 0x412501
jbe 0x41251b
cmp ecx, esi
jae 0x41251b
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
movzx eax, ax
imul eax, eax, 0x3e8
push 0
push eax
push 2
push edx
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [ebp - 0x10]
jmp 0x412591
push 0x77
lea ecx, [ebp - 4]
call fcn.00403ad0
mov eax, dword [esi + 0x5c]
mov ecx, dword [ebp - 4]
push 0x10
push eax
push ecx
mov ecx, dword [ebp - 8]
call fcn.0040ae50
jmp 0x412027
push 0x4291c8
lea ecx, [ebp - 0x18]
call fcn.00403b20
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x1c]
push 0x4291bc
push edx
call fcn.0040f9d0
add esp, 0xc
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040f950
mov ecx, dword [eax]
add esp, 0xc
push ecx
mov ecx, ebx
call fcn.0040ae30
lea ecx, [ebp - 0x20]
call fcn.00403820
lea ecx, [ebp - 0x1c]
call fcn.00403820
lea ecx, [ebp - 0x18]
call fcn.00403820
lea ecx, [ebp - 4]
call fcn.00403820
lea ecx, [ebp + 8]
call fcn.00403820
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4