Function at 0x40ae70
Capabilities:
Read file via mapping

Disassembly:
push 0xffffffffffffffff
push 0x43a5e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x44cb68]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0x30]
lea eax, [esp + 0x10]
push edi
push 0x44b178
push eax
mov byte [esp + 0x34], 1
call fcn.0042af88
mov ecx, dword [ebp + 0x14c4]
add esp, 0xc
push 0
push 0
push 0x1004
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0
push 0
inc eax
lea esi, [ebp + 0x14a8]
push 0x452180
push eax
push 1
mov ecx, esi
call fcn.0042b28e
push edi
lea edx, [esp + 0x18]
push 0x44b178
push edx
mov ebx, eax
call fcn.0042af88
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, esi
push eax
push 8
push ebx
call fcn.0042b2da
lea ecx, [ebx + 1]
lea edx, [esp + 0x14]
push ecx
push 0x44b178
push edx
call fcn.0042af88
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, esi
push eax
push 0
push ebx
call fcn.0042b2da
push edi
call fcn.0040b390
add esp, 4
mov dword [esp + 0x18], eax
xor esi, esi
xor ecx, ecx
mov eax, 0x45ba6c
cmp dword [eax], edi
je 0x40af63
add eax, 4
inc ecx
cmp eax, 0x45bbfc
jl 0x40af52
jmp 0x40af6a
mov dword [ecx*4 + 0x45ba6c], esi
xor ebx, ebx
mov eax, 0x45ba6c
cmp dword [eax], esi
je 0x40af82
add eax, 4
inc ebx
cmp eax, 0x45bbfc
jl 0x40af71
jmp 0x40afb3
mov dword [ebx*4 + 0x45ba6c], edi
mov byte [ebx + 0x45bd8c], 0
mov byte [ebx + 0x45bdf0], 0
mov byte [ebx + 0x45be54], 0
mov dword [ebx*4 + 0x45c110], esi
mov dword [ebx*4 + 0x45c624], esi
mov dword [ebx*4 + 0x45c7b4], esi
mov ecx, dword [ebp + 0x14c4]
push esi
push esi
push 0x1004
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [0x4508d4]
mov edi, eax
push edx
call fcn.0041bfbc
add esp, 4
cmp edi, eax
jge 0x40afe9
push 1
lea ecx, [ebp + 0x1520]
call fcn.0042efd5
lea eax, [esp + 0x10]
push str.Verify
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.00430b93
mov eax, dword [eax]
push eax
push 0x2710
push esi
push 4
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push 0xffffffffffffffff
call esi
lea ecx, [esp + 0x1c]
mov dword [ebp + ebx*4 + 0x1f0], eax
call fcn.00430942
mov edx, dword [ebp + ebx*4 + 0x1f0]
mov edi, dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push 0
push 0
push 0
push 2
push edx
call edi
mov dword [ebp + ebx*4 + 0x60], eax
lea eax, [esp + 0x10]
push str.GameBase
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.00430b93
mov eax, dword [eax]
push eax
push 0x2710
push 0
push 4
push 0
push 0xffffffffffffffff
call esi
lea ecx, [esp + 0x1c]
mov dword [ebp + ebx*4 + 0x510], eax
call fcn.00430942
mov edx, dword [ebp + ebx*4 + 0x510]
push 0
push 0
push 0
push 2
push edx
call edi
mov dword [ebp + ebx*4 + 0x380], eax
lea eax, [esp + 0x10]
push str.LoginInfo
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.00430b93
mov eax, dword [eax]
push eax
push 0x2710
push 0
push 4
push 0
push 0xffffffffffffffff
call esi
lea ecx, [esp + 0x1c]
mov dword [ebp + ebx*4 + 0x830], eax
call fcn.00430942
mov edx, dword [ebp + ebx*4 + 0x830]
push 0
push 0
push 0
push 2
push edx
call edi
mov dword [ebp + ebx*4 + 0x6a0], eax
lea eax, [esp + 0x10]
push str.MakeTeam
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.00430b93
mov eax, dword [eax]
push eax
push 0x2710
push 0
push 4
push 0
push 0xffffffffffffffff
call esi
lea ecx, [esp + 0x1c]
mov dword [ebp + ebx*4 + 0xb50], eax
call fcn.00430942
mov edx, dword [ebp + ebx*4 + 0xb50]
push 0
push 0
push 0
push 2
push edx
call edi
mov dword [ebp + ebx*4 + 0x9c0], eax
mov eax, dword [0x44cb68]
mov dword [esp + 0x30], eax
mov ecx, dword [0x452178]
lea edx, [esp + 0x30]
push ecx
push 0x44b178
push edx
mov byte [esp + 0x34], 2
call fcn.0042af88
mov edi, dword [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [ebp + ebx*4 + 0x380]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x1860]
pop edi
pop esi
pop ebp
test eax, eax
pop ebx
je 0x40b190
mov ecx, dword [esp + 8]
push 1
push ecx
jmp 0x40b197
mov edx, dword [esp + 8]
push 3
push edx
call dword [sym.imp.Local.dll_SetHook]
add esp, 8
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 1
call fcn.00430942
lea ecx, [esp + 4]
mov byte [esp + 0x18], 0
call fcn.00430942
lea ecx, [esp]
mov dword [esp + 0x18], 0xffffffff
call fcn.00430942
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 4