Function at 0x40d6b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4616e6
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x47c824]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47c824]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x18], eax
xor ebx, ebx
mov dword [esp + 0xd0], ebx
cmp dword [esp + 0xf0], ebx
jbe 0x40da06
push 1
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0xe4]
push edx
mov byte [esp + 0x20], 0x3f
call fcn.004016c0
mov edi, eax
cmp edi, 0xffffffff
je 0x40da06
push edi
xor ecx, ecx
lea esi, [esp + 0xac]
lea edx, [esp + 0xe0]
call fcn.0040b580
push 0xffffffffffffffff
lea ecx, [edi + 1]
lea esi, [esp + 0x58]
lea edx, [esp + 0xe0]
mov byte [esp + 0xd4], 1
call fcn.0040b580
push 0xe
push str.GameStart.aspx
lea eax, [esp + 0xb0]
push eax
mov byte [esp + 0xdc], 2
call fcn.004016c0
cmp eax, 0xffffffff
lea ebp, [ebx + 0xf]
jne 0x40d7d5
push ebp
push str.GameStart2.aspx
lea ecx, [esp + 0xb0]
push ecx
call fcn.004016c0
cmp eax, 0xffffffff
jne 0x40d7d5
push 0xd
push str.GameStart.asp
lea edx, [esp + 0xb0]
push edx
call fcn.004016c0
cmp eax, 0xffffffff
jne 0x40d7d5
push 8
push str.test.htm
lea eax, [esp + 0xb0]
push eax
call fcn.004016c0
cmp eax, 0xffffffff
je 0x40d9c7
mov eax, dword [esp + 0x18]
add eax, 0x11c
call fcn.0040bf60
jmp 0x40d7e7
xor ebx, ebx
push 1
push 0x46b090
lea ecx, [esp + 0x5c]
push ecx
call fcn.004016c0
mov edi, eax
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], bl
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
cmp edi, 0xffffffff
mov byte [esp + 0xd0], 4
lea edx, [esp + 0x54]
je 0x40d8e6
push edi
xor ecx, ecx
lea esi, [esp + 0x74]
call fcn.0040b580
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x90]
push eax
mov ebx, esi
mov byte [esp + 0xd8], 5
call fcn.0040d310
add esp, 8
cmp eax, 1
jne 0x40d887
lea ecx, [esp + 0x8c]
push ecx
mov ecx, dword [esp + 0x1c]
add ecx, 0x11c
call fcn.0040e7c0
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x40]
push edx
mov ecx, eax
call fcn.004015b0
push 0xffffffffffffffff
lea ecx, [edi + 1]
lea esi, [esp + 0x20]
lea edx, [esp + 0x58]
call fcn.0040b580
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0xdc], 6
call fcn.004015b0
mov esi, 0x10
cmp dword [esp + 0x34], esi
jb 0x40d8c7
mov eax, dword [esp + 0x20]
push eax
call fcn.00420ede
add esp, 4
cmp dword [esp + 0x88], esi
jb 0x40d971
mov ecx, dword [esp + 0x74]
push ecx
call fcn.00420ede
add esp, 4
jmp 0x40d971
push 0xffffffffffffffff
push ebx
push edx
lea ecx, [esp + 0x7c]
mov dword [esp + 0x94], ebp
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
call fcn.004015b0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x90]
push ecx
lea ebx, [esp + 0x78]
mov byte [esp + 0xd8], 7
call fcn.0040d310
add esp, 8
cmp eax, 1
jne 0x40d955
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x8c]
push edx
add ecx, 0x11c
call fcn.0040e7c0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x40]
push ecx
mov ecx, eax
call fcn.004015b0
cmp dword [esp + 0x88], 0x10
jb 0x40d96c
mov edx, dword [esp + 0x74]
push edx
call fcn.00420ede
add esp, 4
mov esi, 0x10
cmp dword [esp + 0x50], esi
jb 0x40d984
mov eax, dword [esp + 0x3c]
push eax
call fcn.00420ede
add esp, 4
xor eax, eax
mov byte [esp + 0xd0], 2
cmp dword [esp + 0xa4], esi
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], eax
mov byte [esp + 0x3c], al
jb 0x40d9b3
mov ecx, dword [esp + 0x90]
push ecx
call fcn.00420ede
add esp, 4
cmp edi, 0xffffffff
jne 0x40d7e5
mov ecx, dword [esp + 0x18]
call fcn.0040e170
xor ebx, ebx
mov esi, 0x10
cmp dword [esp + 0x6c], esi
jb 0x40d9df
mov edx, dword [esp + 0x58]
push edx
call fcn.00420ede
add esp, 4
cmp dword [esp + 0xc0], esi
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
jb 0x40da0b
mov eax, dword [esp + 0xac]
push eax
call fcn.00420ede
add esp, 4
jmp 0x40da0b
mov esi, 0x10
cmp dword [esp + 0xf4], esi
jb 0x40da24
mov ecx, dword [esp + 0xe0]
push ecx
call fcn.00420ede
add esp, 4
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.00441b4d
add esp, 0xc0
ret 0x20