Function at 0x59fb35
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x50
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
cmp dword [esi + 0x40], ebp
je 0x59fde5
mov ecx, 0xc2
call fcn.0072a3a0
test eax, eax
jne 0x59fb60
mov ecx, 0xbc
call fcn.0072a3a0
test eax, eax
je 0x59fbc5
mov ecx, dword [esi + 0x44]
cmp ecx, ebp
je 0x59fb98
lea eax, [esp + 0x10]
push eax
call fcn.0048e490
mov ecx, esi
call fcn.0059fa90
cmp eax, dword [esp + 0x10]
je 0x59fb98
mov edi, dword [esi + 0x44]
cmp edi, ebp
je 0x59fb95
mov ecx, edi
call fcn.0048df30
push edi
call fcn.0076d2d5
add esp, 4
mov dword [esi + 0x44], ebp
mov ecx, dword [esi + 0x44]
cmp ecx, ebp
je 0x59fbc5
cmp dword [0xa27d98], 2
jne 0x59fbb6
mov eax, dword [0xa27d8c]
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
jmp 0x59fbc0
push 0x82206c
push 0x82206c
call fcn.0048df70
cmp dword [esi + 0x44], ebp
jne 0x59fd67
push 0x70
call fcn.0076d5a7
add esp, 4
cmp eax, ebp
je 0x59fbe5
mov ecx, eax
call fcn.0048de20
jmp 0x59fbe7
xor eax, eax
cmp eax, ebp
mov dword [esi + 0x44], eax
je 0x59fde5
push ebp
mov ecx, eax
call fcn.0048f370
mov ecx, esi
call fcn.0059fa90
mov ebx, eax
cmp ebx, ebp
jge 0x59fc94
lea ecx, [esp + 0x10]
push ebp
push ecx
mov ecx, dword [esi + 0x44]
mov dword [esi + 0x260], ebp
mov dword [esp + 0x18], ebp
call fcn.0048f920
mov eax, dword [0xa25bf8]
xor ebx, ebx
cmp eax, ebp
jle 0x59fc72
mov edx, dword [0xa25bec]
mov ebp, dword [esp + 0x10]
mov edi, ebp
or ecx, 0xffffffff
mov edx, dword [edx + ebx*4]
xor eax, eax
add edx, 0x58
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebp
push edx
call fcn.00770e20
add esp, 0xc
test eax, eax
je 0x59fc65
mov eax, dword [0xa25bf8]
inc ebx
cmp ebx, eax
jl 0x59fc2e
jmp 0x59fc72
mov ecx, ebx
mov dword [0xa255c4], ebx
call fcn.005c1a80
cmp ebx, dword [0xa25bf8]
jne 0x59fd67
xor ecx, ecx
mov dword [0xa255c4], 0
call fcn.005c1a80
jmp 0x59fd67
mov ecx, dword [esi + 0x40]
lea eax, [esp + 0x1c]
push eax
push ebx
mov dword [esi + 0x260], ebx
call fcn.00490a30
lea ecx, [esp + 0x10]
push ebp
push ecx
mov ecx, dword [esi + 0x44]
mov dword [esp + 0x18], ebp
call fcn.0048f920
mov edx, dword [0xa25bec]
mov eax, dword [0xa255c4]
mov ecx, dword [edx + eax*4]
add ecx, 0x58
push ecx
push str.____Looking_for__s
call fcn.004068f0
mov edx, dword [0xa25bec]
mov eax, dword [0xa255c4]
mov ebp, dword [esp + 0x18]
or ecx, 0xffffffff
mov edx, dword [edx + eax*4]
mov edi, ebp
xor eax, eax
add edx, 0x58
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebp
push edx
call fcn.00770e20
add esp, 0x14
test eax, eax
je 0x59fd67
xor ecx, ecx
test ebx, ebx
sete cl
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x44]
push edx
call fcn.0048f370
mov ecx, dword [esi + 0x44]
push ebx
call fcn.0048f370
mov ecx, dword [esi + 0x44]
lea eax, [esp + 0x10]
push 0
push eax
call fcn.0048f920
mov ecx, dword [0xa25bec]
mov edx, dword [0xa255c4]
mov ebp, dword [esp + 0x10]
xor eax, eax
mov edx, dword [ecx + edx*4]
mov edi, ebp
or ecx, 0xffffffff
add edx, 0x58
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebp
push edx
call fcn.00770e20
add esp, 0xc
test eax, eax
jne 0x59fd11
mov byte [esi + 0x264], 1
call fcn.005bd680
test eax, eax
je 0x59fde5
push 0x72f
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x59fde5
mov esi, dword [esi + 0x44]
test esi, esi
je 0x59fde5
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.0048e490
test al, al
je 0x59fde5
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x20]
inc ecx
push ecx
push str.NAME:COOPDESC_d
push edx
call fcn.0076d684
add esp, 0xc
xor edx, edx
lea ecx, [esp + 0x20]
push 0x149
push str.C:RA2MPCoop.cpp
call fcn.006eea10
push eax
push 0
push 0x4b2
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret