Function at 0x5c3c70
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x14
mov dword [esp + 0xc], ecx
mov ecx, dword [0xa255ac]
test ecx, ecx
je 0x5c3c8a
mov eax, dword [ecx]
call dword [eax + 0x30]
test al, al
je 0x5c3c98
call fcn.00730cb0
test al, al
mov byte [esp + 2], 1
je 0x5c3c9d
mov byte [esp + 2], 0
mov eax, dword [0xa255a8]
push ebx
push ebp
push esi
mov esi, 4
push edi
cmp eax, esi
jne 0x5c3ce9
call fcn.00730cb0
test al, al
je 0x5c3cd7
call fcn.00730ce0
test al, al
jne 0x5c3cd7
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
xor ebx, ebx
mov dword [esp + 0x18], 2
mov dword [esp + 0x14], ebx
jmp 0x5c3d03
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
xor ebx, ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebx
jmp 0x5c3d03
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
xor ebx, ebx
mov dword [esp + 0x18], 8
mov dword [esp + 0x14], ebx
jmp 0x5c3d03
mov ebx, dword [esp + 0x14]
test ebx, ebx
jne 0x5c3d0e
mov ebp, 0x411
jmp 0x5c3d6b
cmp ebx, 1
jne 0x5c3d1a
mov ebp, 0x412
jmp 0x5c3d6b
cmp ebx, 2
jne 0x5c3d26
mov ebp, 0x413
jmp 0x5c3d6b
cmp ebx, 3
jne 0x5c3d32
mov ebp, 0x414
jmp 0x5c3d6b
cmp ebx, 4
jne 0x5c3d3e
mov ebp, 0x415
jmp 0x5c3d6b
cmp ebx, 5
jne 0x5c3d4a
mov ebp, 0x416
jmp 0x5c3d6b
cmp ebx, 6
jne 0x5c3d56
mov ebp, 0x417
jmp 0x5c3d6b
mov ebp, ebx
sub ebp, 7
neg ebp
sbb ebp, ebp
and ebp, 0xfffffbe7
add ebp, 0x418
mov ecx, dword [esp + 0x1c]
push ebp
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
mov edx, dword [esp + 0x1c]
push 0
push 0
push 0x14b
push ebp
push edx
sete byte [esp + 0x27]
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov ebx, dword [ebx*4 + 0xa27da4]
mov eax, dword [0xa5a87c]
cmp ebx, eax
mov ebp, ebx
jne 0x5c3dc6
push 0x107d
push str.C:RA2_netshare.cpp
xor edx, edx
mov ecx, str.GUI:Open
jmp 0x5c3e4b
cmp ebx, dword [0xa5a880]
jne 0x5c3de1
push 0x107f
push str.C:RA2_netshare.cpp
xor edx, edx
mov ecx, str.GUI:Closed
jmp 0x5c3e4b
cmp ebx, dword [0xa5a884]
jne 0x5c3dfc
push 0x1081
push str.C:RA2_netshare.cpp
xor edx, edx
mov ecx, str.GUI:AIEasy
jmp 0x5c3e4b
cmp ebx, dword [0xa5a888]
jne 0x5c3e17
push 0x1083
push str.C:RA2_netshare.cpp
xor edx, edx
mov ecx, str.GUI:AINormal
jmp 0x5c3e4b
cmp ebx, dword [0xa5a88c]
jne 0x5c3e32
push 0x1085
push str.C:RA2_netshare.cpp
xor edx, edx
mov ecx, str.GUI:AIHard
jmp 0x5c3e4b
cmp ebx, dword [0xa5a890]
jne 0x5c3e52
push 0x1087
push str.C:RA2_netshare.cpp
xor edx, edx
mov ecx, str.GUI:Waiting
call fcn.006eea10
mov ebp, eax
push ebp
lea ecx, [esp + 0x24]
call fcn.0075af60
mov ecx, 0xa256b0
call fcn.006eecd0
push 0xa2791e
push eax
call fcn.0076ed63
add esp, 8
test eax, eax
jne 0x5c3fe7
test ebx, ebx
je 0x5c3ec5
cmp ebx, dword [0xa5a87c]
je 0x5c3ec5
cmp ebx, dword [0xa5a880]
je 0x5c3ec5
cmp ebx, dword [0xa5a890]
je 0x5c3ec5
cmp ebx, dword [0xa5a884]
je 0x5c3ec5
cmp ebx, dword [0xa5a888]
je 0x5c3ec5
cmp ebx, dword [0xa5a88c]
je 0x5c3ec5
push ebp
push 0
push 0x4c2
push esi
call edi
push ebx
push eax
push 0x151
push esi
call edi
mov ecx, 0xa256b0
call fcn.006eecd0
push eax
push ebp
call fcn.0076ed63
add esp, 8
test eax, eax
je 0x5c3ffc
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jge 0x5c3f1e
push 0x109a
push str.C:RA2_netshare.cpp
xor edx, edx
mov ecx, str.GUI:Open
call fcn.006eea10
push eax
push 0
push 0x4c2
push esi
call edi
mov ecx, dword [0xa5a87c]
push ecx
push eax
push 0x151
push esi
call edi
push 0x10a1
push str.C:RA2_netshare.cpp
xor edx, edx
mov ecx, str.GUI:Closed
call fcn.006eea10
push eax
push 0
push 0x4c2
push esi
call edi
mov edx, dword [0xa5a880]
push edx
push eax
push 0x151
push esi
call edi
mov al, byte [esp + 0x12]
test al, al
je 0x5c3ffc
push 0x10a9
push str.C:RA2_netshare.cpp
xor edx, edx
mov ecx, str.GUI:AIEasy
call fcn.006eea10
push eax
push 0
push 0x4c2
push esi
call edi
mov ecx, dword [0xa5a884]
push ecx
push eax
push 0x151
push esi
call edi
xor edx, edx
mov ecx, str.GUI:AINormal
push 0x10af
push str.C:RA2_netshare.cpp
call fcn.006eea10
push eax
push 0
push 0x4c2
push esi
call edi
mov edx, dword [0xa5a888]
push edx
push eax
push 0x151
push esi
call edi
xor edx, edx
mov ecx, str.GUI:AIHard
push 0x10b5
push str.C:RA2_netshare.cpp
call fcn.006eea10
push eax
push 0
push 0x4c2
push esi
call edi
mov ecx, dword [0xa5a88c]
push ecx
jmp 0x5c3ff3
push ebp
push 0
push 0x4c2
push esi
call edi
push ebx
push eax
push 0x151
push esi
call edi
lea ecx, [esp + 0x20]
call fcn.0075b9d0
push eax
push 0xffffffffffffffff
push 0x4c0
push esi
call edi
mov al, byte [esp + 0x13]
test al, al
jne 0x5c4021
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esp + 0x20]
call fcn.0075aff0
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 8
mov dword [esp + 0x14], eax
jl 0x5c3cff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret