Function at 0x4b7230
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x617c46
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b4
mov eax, dword [esp + 0x1c4]
push ebx
push ebp
mov ebp, ecx
mov ecx, dword [esp + 0x1d0]
push esi
mov dword [ebp + 0xf4], 9
mov dl, byte [eax]
push edi
lea edi, [eax + ecx]
mov byte [esp + 0x18], dl
mov ecx, dword [esp + 0x18]
inc eax
and ecx, 0xff
mov dword [esp + 0x1d4], eax
lea edx, [esp + 0x23]
mov bl, byte [eax]
lea esi, [ecx + eax - 1]
inc eax
push 1
mov dword [esp + 0x1d8], eax
lea eax, [esp + 0x1d8]
push edx
push eax
call fcn.004b8e70
mov al, byte [esp + 0x2f]
add esp, 0xc
test al, 1
je 0x4b8e46
mov ecx, dword [esp + 0x1d4]
test al, 2
je 0x4b72c3
add ecx, 4
test al, 4
je 0x4b72ca
add ecx, 4
test al, 8
jne 0x4b8e46
cmp ecx, esi
ja 0x4b8e46
cmp esi, edi
mov dword [esp + 0x1d4], esi
ja 0x4b8e46
test bl, bl
jne 0x4b7302
mov eax, dword [ebp + 0xf0]
or al, 0x80
mov dword [ebp + 0xf0], eax
mov al, 1
jmp 0x4b8e48
cmp bl, 1
jne 0x4b8e12
mov ecx, dword [ebp + 0xf0]
mov edi, 2
or ch, bl
push edi
mov dword [ebp + 0xf0], ecx
lea ecx, [esp + 0x34]
lea edx, [esp + 0x1d8]
add esi, 2
push ecx
push edx
mov dword [ebp + 0xe8], 0x27
mov dword [esp + 0x1e0], esi
call fcn.004b8e70
mov al, byte [esp + 0x3c]
add esp, 0xc
or ebx, 0xffffffff
test al, 1
je 0x4b7ed4
mov esi, dword [ebp + 0xf0]
lea eax, [esp + 0x18]
or esi, 0x64
lea ecx, [esp + 0x1d4]
mov dword [ebp + 0xf0], esi
mov esi, 3
push esi
push eax
push ecx
call fcn.004b8e70
mov al, byte [esp + 0x24]
add esp, 0xc
test al, 1
je 0x4b73a7
lea edx, [esp + 0x1d4]
lea eax, [esp + 0x24]
push edx
push eax
call fcn.004b8ee0
add esp, 8
lea ecx, [esp + 0x24]
call fcn.00402ab0
test byte [esp + 0x18], 2
je 0x4b742c
lea ecx, [esp + 0x12]
push 1
lea edx, [esp + 0x1d8]
push ecx
push edx
call fcn.004b8e70
mov al, byte [esp + 0x1e]
add esp, 0xc
test al, 8
je 0x4b73d5
mov dword [ebp + 0xcc], esi
jmp 0x4b73f6
mov cl, al
and cl, 3
cmp cl, 2
jne 0x4b73e7
mov dword [ebp + 0xcc], edi
jmp 0x4b73f6
cmp cl, 1
jne 0x4b73f6
mov dword [ebp + 0xcc], 1
mov cl, al
and al, 0x70
shr cl, 2
and cl, 1
cmp al, 0x10
mov byte [ebp + 0xc8], cl
jne 0x4b7416
mov dword [ebp + 0xd0], 1
jmp 0x4b742c
cmp al, 0x20
jne 0x4b7422
mov dword [ebp + 0xd0], edi
jmp 0x4b742c
cmp al, 0x30
jne 0x4b742c
mov dword [ebp + 0xd0], esi
test byte [esp + 0x18], 4
je 0x4b747b
lea edx, [esp + 0x1d4]
lea eax, [esp + 0x24]
push edx
push eax
call fcn.004b8ee0
add esp, 8
lea ecx, [ebp + 0x6c]
mov dword [esp + 0x1cc], 0
cmp eax, ecx
je 0x4b746b
mov edx, dword [eax + 4]
mov eax, dword [eax]
lea esi, [esp + 0x13]
push esi
push edx
push eax
call fcn.0041cfd0
lea ecx, [esp + 0x24]
mov dword [esp + 0x1cc], ebx
call fcn.00402ab0
test byte [esp + 0x18], 8
je 0x4b749c
mov eax, dword [esp + 0x1d4]
mov cx, word [eax]
add eax, edi
mov dword [esp + 0x1d4], eax
mov word [ebp + 0xe4], cx
test byte [esp + 0x19], 1
je 0x4b7703
lea ecx, [esp + 0x1d4]
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.004b8ee0
add esp, 8
lea esi, [ebp + 0x98]
mov dword [esp + 0x1cc], 1
cmp eax, esi
je 0x4b74e4
mov ecx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0x13]
push edx
push ecx
push eax
mov ecx, esi
call fcn.0041cfd0
lea ecx, [esp + 0x24]
mov dword [esp + 0x1cc], ebx
call fcn.00402ab0
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x4b7703
lea ecx, [esp + 0x12]
push 1
lea edx, [esp + 0x1d8]
push ecx
push edx
call fcn.004b8e70
mov al, byte [esp + 0x1e]
add esp, 0xc
test al, 1
je 0x4b7567
lea eax, [esp + 0x1d4]
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.004b8ee0
add esp, 8
lea ecx, [ebp + 0x8c]
mov dword [esp + 0x1cc], edi
cmp eax, ecx
je 0x4b7557
mov edx, dword [eax + 4]
mov eax, dword [eax]
lea esi, [esp + 0x13]
push esi
push edx
push eax
call fcn.0041cfd0
lea ecx, [esp + 0x24]
mov dword [esp + 0x1cc], ebx
call fcn.00402ab0
test byte [esp + 0x12], 2
je 0x4b75e0
sub esp, 8
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c], esp
mov esi, esp
call fcn.00403f90
mov edi, eax
lea edx, [esp + 0x1dc]
mov dword [esp + 0x1d4], 3
push edx
call fcn.004b8ec0
add esp, 4
push eax
push 0x697250
push edi
call fcn.004fda00
mov ecx, dword [eax]
mov eax, dword [eax + 4]
add esp, 4
sub eax, ecx
mov dword [esi], ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.mod_size
mov dword [esi + 4], eax
call fcn.00405b90
lea ecx, [ebp + 0x34]
call fcn.00443640
lea ecx, [esp + 0x24]
mov dword [esp + 0x1cc], ebx
call fcn.00402ab0
test byte [esp + 0x12], 4
je 0x4b7641
sub esp, 8
lea eax, [esp + 0x1dc]
mov dword [esp + 0x1c], esp
mov esi, esp
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.004b8ee0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
mov dword [esi], ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.mod_version
mov dword [esp + 0x1e0], 4
mov dword [esi + 4], eax
call fcn.00405b90
lea ecx, [ebp + 0x34]
call fcn.00443640
lea ecx, [esp + 0x24]
mov dword [esp + 0x1cc], ebx
call fcn.00402ab0
test byte [esp + 0x12], 8
je 0x4b76a2
sub esp, 8
lea edx, [esp + 0x1dc]
mov dword [esp + 0x1c], esp
mov esi, esp
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.004b8ee0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
mov dword [esi], ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.mod_url
mov dword [esp + 0x1e0], 5
mov dword [esi + 4], eax
call fcn.00405b90
lea ecx, [ebp + 0x34]
call fcn.00443640
lea ecx, [esp + 0x24]
mov dword [esp + 0x1cc], ebx
call fcn.00402ab0
test byte [esp + 0x12], 0x10
je 0x4b7703
sub esp, 8
lea ecx, [esp + 0x1dc]
mov dword [esp + 0x1c], esp
mov esi, esp
lea edx, [esp + 0x2c]
push ecx
push edx
call fcn.004b8ee0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
mov dword [esi], ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.mod_author
mov dword [esp + 0x1e0], 6
mov dword [esi + 4], eax
call fcn.00405b90
lea ecx, [ebp + 0x34]
call fcn.00443640
lea ecx, [esp + 0x24]
mov dword [esp + 0x1cc], ebx
call fcn.00402ab0
test byte [esp + 0x19], 2
je 0x4b7755
lea eax, [esp + 0x1d4]
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.004b8ee0
add esp, 8
lea ecx, [ebp + 0xa4]
mov dword [esp + 0x1cc], 7
cmp eax, ecx
je 0x4b7745
mov edx, dword [eax + 4]
mov eax, dword [eax]
lea esi, [esp + 0x13]
push esi
push edx
push eax
call fcn.0041cfd0
lea ecx, [esp + 0x24]
mov dword [esp + 0x1cc], ebx
call fcn.00402ab0
test byte [esp + 0x19], 4
je 0x4b77b6
sub esp, 8
lea edx, [esp + 0x1dc]
mov dword [esp + 0x1c], esp
mov esi, esp
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.004b8ee0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
mov dword [esi], ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.gamemode
mov dword [esp + 0x1e0], 8
mov dword [esi + 4], eax
call fcn.00405b90
lea ecx, [ebp + 0x34]
call fcn.00443640
lea ecx, [esp + 0x24]
mov dword [esp + 0x1cc], ebx
call fcn.00402ab0
test byte [esp + 0x19], 8
je 0x4b7e5c
lea ecx, [esp + 0x12]
push 1
lea edx, [esp + 0x1d8]
push ecx
push edx
call fcn.004b8e70
lea eax, [esp + 0x1e0]
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.004b8ee0
add esp, 0x14
lea ecx, [ebp + 0xbc]
mov dword [esp + 0x1cc], 9
cmp eax, ecx
je 0x4b7810
mov edx, dword [eax + 4]
mov eax, dword [eax]
lea esi, [esp + 0x13]
push esi
push edx
push eax
call fcn.0041cfd0
lea ecx, [esp + 0x24]
mov dword [esp + 0x1cc], ebx
call fcn.00402ab0
test byte [esp + 0x12], 1
je 0x4b7881
sub esp, 8
lea edx, [esp + 0x1dc]
mov dword [esp + 0x1c], esp
mov esi, esp
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.004b8ee0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
mov dword [esi], ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.map_filename
mov dword [esp + 0x1e0], 0xa
mov dword [esi + 4], eax
call fcn.00405b90
lea ecx, [ebp + 0x34]
call fcn.00443640
lea ecx, [esp + 0x24]
mov dword [esp + 0x1cc], ebx
call fcn.00402ab0
test byte [esp + 0x12], 2
je 0x4b78fa
sub esp, 8
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c], esp
mov esi, esp
call fcn.00403f90
mov edi, eax
lea ecx, [esp + 0x1dc]
mov dword [esp + 0x1d4], 0xb
push ecx
call fcn.004b8ec0
add esp, 4
push eax
push 0x697250
push edi
call fcn.004fda00
mov ecx, dword [eax]
mov eax, dword [eax + 4]
add esp, 4
sub eax, ecx
mov dword [esi], ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.map_filesize
mov dword [esi + 4], eax
call fcn.00405b90
lea ecx, [ebp + 0x34]
call fcn.00443640
lea ecx, [esp + 0x24]
mov dword [esp + 0x1cc], ebx
call fcn.00402ab0
test byte [esp + 0x12], 4
je 0x4b79d2
lea ecx, [esp + 0x34]
call fcn.004047a0
mov bl, byte [esp + 0x23]
mov dword [esp + 0x1cc], 0xc
mov edi, 0x10
mov eax, dword [esp + 0x1d4]
xor edx, edx
lea ecx, [esp + 0x44]
mov dl, byte [eax]
inc eax
mov esi, edx
mov dword [esp + 0x1d4], eax
call fcn.004047a0
push esi
lea eax, [esp + 0x48]
push str._02X
push eax
mov byte [esp + 0x1d8], 0xd
call fcn.004fda00
mov ecx, dword [eax + 4]
mov eax, dword [eax]
add esp, 0xc
lea edx, [esp + 0x13]
mov byte [esp + 0x13], bl
push edx
push ecx
push eax
lea ecx, [esp + 0x40]
call fcn.00404c60
lea ecx, [esp + 0x44]
mov byte [esp + 0x1cc], 0xc
call fcn.00402ab0
dec edi
jne 0x4b7922
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
sub esp, 8
sub eax, edx
mov ecx, esp
mov dword [esp + 0x1c], esp
sub esp, 8
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov ecx, esp
mov dword [esp + 0x24], esp
push str.map_md5
call fcn.00405b90
lea ecx, [ebp + 0x34]
call fcn.00443640
lea ecx, [esp + 0x34]
mov dword [esp + 0x1cc], 0xffffffff
call fcn.00402ab0
or ebx, 0xffffffff
test byte [esp + 0x12], 8
je 0x4b7a33
sub esp, 8
lea eax, [esp + 0x1dc]
mov dword [esp + 0x1c], esp
mov esi, esp
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.004b8ee0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
mov dword [esi], ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.map_version
mov dword [esp + 0x1e0], 0xe
mov dword [esi + 4], eax
call fcn.00405b90
lea ecx, [ebp + 0x34]
call fcn.00443640
lea ecx, [esp + 0x24]
mov dword [esp + 0x1cc], ebx
call fcn.00402ab0
test byte [esp + 0x12], 0x10
je 0x4b7a94
sub esp, 8
lea edx, [esp + 0x1dc]
mov dword [esp + 0x1c], esp
mov esi, esp
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.004b8ee0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
mov dword [esi], ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.map_url
mov dword [esp + 0x1e0], 0xf
mov dword [esi + 4], eax
call fcn.00405b90
lea ecx, [ebp + 0x34]
call fcn.00443640
lea ecx, [esp + 0x24]
mov dword [esp + 0x1cc], ebx
call fcn.00402ab0
test byte [esp + 0x12], 0x20
je 0x4b7af5
sub esp, 8
lea ecx, [esp + 0x1dc]
mov dword [esp + 0x1c], esp
mov esi, esp
lea edx, [esp + 0x2c]
push ecx
push edx
call fcn.004b8ee0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
mov dword [esi], ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.map_author
mov dword [esp + 0x1e0], 0x10
mov dword [esi + 4], eax
call fcn.00405b90
lea ecx, [ebp + 0x34]
call fcn.00443640
lea ecx, [esp + 0x24]
mov dword [esp + 0x1cc], ebx
call fcn.00402ab0
test byte [esp + 0x19], 0x10
je 0x4b7e5c
sub esp, 8
lea eax, [esp + 0x1dc]
mov dword [esp + 0x1c], esp
mov esi, esp
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.004b8ee0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
mov dword [esi], ecx
mov ecx, esp
mov dword [esp + 0x24], esp
mov dword [esi + 4], eax
push str.nextmap
mov dword [esp + 0x1e0], 0x11
lea esi, [ebp + 0x34]
call fcn.00405b90
mov ecx, esi
call fcn.00443640
lea ecx, [esp + 0x24]
mov dword [esp + 0x1cc], ebx
call fcn.00402ab0
test byte [esp + 0x12], 1
je 0x4b7bbc
sub esp, 8
lea edx, [esp + 0x1dc]
mov dword [esp + 0x1c], esp
mov edi, esp
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.004b8ee0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
mov dword [edi], ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.nextmap_filename
mov dword [esp + 0x1e0], 0x12
mov dword [edi + 4], eax
call fcn.00405b90
mov ecx, esi
call fcn.00443640
lea ecx, [esp + 0x24]
mov dword [esp + 0x1cc], ebx
call fcn.00402ab0
test byte [esp + 0x12], 2
je 0x4b7c3b
sub esp, 8
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c], esp
mov ebx, esp
call fcn.00403f90
mov edi, eax
lea ecx, [esp + 0x1dc]
mov dword [esp + 0x1d4], 0x13
push ecx
call fcn.004b8ec0
add esp, 4
push eax
push 0x697250
push edi
call fcn.004fda00
mov ecx, dword [eax]
mov eax, dword [eax + 4]
add esp, 4
sub eax, ecx
mov dword [ebx], ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.nextmap_filesize
mov dword [ebx + 4], eax
call fcn.00405b90
mov ecx, esi
call fcn.00443640
lea ecx, [esp + 0x24]
mov dword [esp + 0x1cc], 0xffffffff
call fcn.00402ab0
or ebx, 0xffffffff
test byte [esp + 0x12], 4
je 0x4b7d1b
lea ecx, [esp + 0x34]
call fcn.004047a0
mov dword [esp + 0x1cc], 0x14
mov edi, 0x10
mov eax, dword [esp + 0x1d4]
xor ebx, ebx
lea ecx, [esp + 0x44]
mov bl, byte [eax]
inc eax
mov dword [esp + 0x1d4], eax
call fcn.004047a0
push ebx
lea edx, [esp + 0x48]
push str._02X
push edx
mov byte [esp + 0x1d8], 0x15
call fcn.004fda00
mov dl, byte [esp + 0x2f]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
add esp, 0xc
mov byte [esp + 0x13], dl
lea edx, [esp + 0x13]
push edx
push ecx
push eax
lea ecx, [esp + 0x40]
call fcn.00404c60
lea ecx, [esp + 0x44]
mov byte [esp + 0x1cc], 0x14
call fcn.00402ab0
dec edi
jne 0x4b7c5f
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
sub esp, 8
sub eax, edx
mov ecx, esp
mov dword [esp + 0x1c], esp
sub esp, 8
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov ecx, esp
mov dword [esp + 0x24], esp
push str.nextmap_md5
call fcn.00405b90
mov ecx, esi
call fcn.00443640
lea ecx, [esp + 0x34]
mov dword [esp + 0x1cc], 0x16
call fcn.0041fc40
mov dword [esp + 0x1cc], 0xffffffff
or ebx, 0xffffffff
test byte [esp + 0x12], 8
je 0x4b7d86
sub esp, 8
lea eax, [esp + 0x1dc]
mov dword [esp + 0x1c], esp
mov edi, esp
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.004b8ee0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
mov dword [edi], ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.nextmap_version
mov dword [esp + 0x1e0], 0x17
mov dword [edi + 4], eax
call fcn.00405b90
mov ecx, esi
call fcn.00443640
lea ecx, [esp + 0x24]
mov dword [esp + 0x1cc], 0x18
call fcn.0041fc40
mov dword [esp + 0x1cc], ebx
test byte [esp + 0x12], 0x10
je 0x4b7df1
sub esp, 8
lea edx, [esp + 0x1dc]
mov dword [esp + 0x1c], esp
mov edi, esp
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.004b8ee0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
mov dword [edi], ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.nextmap_url
mov dword [esp + 0x1e0], 0x19
mov dword [edi + 4], eax
call fcn.00405b90
mov ecx, esi
call fcn.00443640
lea ecx, [esp + 0x24]
mov dword [esp + 0x1cc], 0x1a
call fcn.0041fc40
mov dword [esp + 0x1cc], ebx
test byte [esp + 0x12], 0x20
je 0x4b7e5c
sub esp, 8
lea ecx, [esp + 0x1dc]
mov dword [esp + 0x1c], esp
mov edi, esp
lea edx, [esp + 0x2c]
push ecx
push edx
call fcn.004b8ee0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
mov dword [edi], ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.nextmap_author
mov dword [esp + 0x1e0], 0x1b
mov dword [edi + 4], eax
call fcn.00405b90
mov ecx, esi
call fcn.00443640
lea ecx, [esp + 0x24]
mov dword [esp + 0x1cc], 0x1c
call fcn.0041fc40
mov dword [esp + 0x1cc], ebx
test byte [esp + 0x1a], 1
je 0x4b7e7a
lea eax, [esp + 0x1d4]
push eax
call fcn.004b8fb0
add esp, 4
mov word [ebp + 0x84], ax
test byte [esp + 0x1a], 2
je 0x4b7e98
lea ecx, [esp + 0x1d4]
push ecx
call fcn.004b8fb0
add esp, 4
mov word [ebp + 0x86], ax
test byte [esp + 0x1a], 4
je 0x4b7eb6
lea edx, [esp + 0x1d4]
push edx
call fcn.004b8fb0
add esp, 4
mov word [ebp + 0x88], ax
test byte [esp + 0x1a], 8
je 0x4b7ed4
lea eax, [esp + 0x1d4]
push eax
call fcn.004b8fb0
add esp, 4
mov word [ebp + 0x8a], ax
test byte [esp + 0x30], 2
je 0x4b843d
lea ecx, [esp + 0x1d4]
push ecx
call fcn.004b8fb0
mov edi, eax
add esp, 4
test edi, edi
mov dword [esp + 0x14], edi
je 0x4b843d
lea edx, [esp + 0x12]
push 1
lea eax, [esp + 0x1d8]
push edx
push eax
call fcn.004b8e70
add esp, 0xc
xor esi, esi
test edi, edi
mov dword [esp + 0x18], esi
jbe 0x4b843d
mov bl, 0x22
lea ecx, [esp + 0x24]
call fcn.004047a0
push esi
lea ecx, [esp + 0x28]
push str.team_d
push ecx
mov dword [esp + 0x1d8], 0x1d
call fcn.004fda00
add esp, 0xc
mov esi, eax
lea edx, [esp + 0x13]
mov ecx, esi
push edx
call fcn.004927f0
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x1d0], 0x1e
call fcn.00482bc0
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
push ecx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1d4], 0x20
call fcn.00434950
lea ecx, [esp + 0x24]
mov byte [esp + 0x1cc], 0x23
call fcn.0041fc40
mov al, byte [esp + 0x12]
mov byte [esp + 0x1cc], bl
test al, 1
je 0x4b8040
sub esp, 8
lea edx, [esp + 0x1dc]
mov dword [esp + 0x24], esp
mov esi, esp
lea eax, [esp + 0x1c0]
push edx
push eax
call fcn.004b8ee0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
mov dword [esi], ecx
lea ecx, [esp + 0x44]
push 0x6a2f88
lea edx, [esp + 0x1c0]
push ecx
push edx
mov byte [esp + 0x1e8], 0x24
mov dword [esi + 4], eax
call fcn.00467580
add esp, 0xc
mov byte [esp + 0x1dc], 0x25
mov ecx, esp
mov dword [esp + 0x2c], esp
push ecx
mov ecx, eax
call fcn.00401a00
lea ecx, [ebp + 0x34]
call fcn.00443640
lea ecx, [esp + 0x1ac]
mov byte [esp + 0x1cc], 0x26
call fcn.0041fc40
lea ecx, [esp + 0x1b8]
mov byte [esp + 0x1cc], 0x27
call fcn.0041fc40
mov byte [esp + 0x1cc], bl
test byte [esp + 0x12], 2
je 0x4b80f9
sub esp, 8
lea ecx, [esp + 0x19c]
mov dword [esp + 0x24], esp
mov esi, esp
call fcn.00403f90
mov edi, eax
lea edx, [esp + 0x1dc]
mov byte [esp + 0x1d4], 0x28
push edx
call fcn.004b8ff0
add esp, 4
push eax
push 0x697068
push edi
call fcn.004fda00
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
mov dword [esi], ecx
mov dword [esi + 4], eax
lea eax, [esp + 0x48]
push str._score
lea ecx, [esp + 0x1a0]
push eax
push ecx
call fcn.00467580
add esp, 0x10
mov ecx, eax
mov edx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x1e0], 0x29
call fcn.00401a00
lea ecx, [ebp + 0x34]
call fcn.00443640
lea ecx, [esp + 0x188]
mov byte [esp + 0x1cc], 0x2a
call fcn.0041fc40
lea ecx, [esp + 0x194]
mov byte [esp + 0x1cc], 0x2b
call fcn.0041fc40
mov byte [esp + 0x1cc], bl
test byte [esp + 0x12], 4
je 0x4b81b4
sub esp, 8
lea ecx, [esp + 0x80]
mov dword [esp + 0x24], esp
mov esi, esp
call fcn.00403f90
mov edi, eax
lea eax, [esp + 0x1dc]
mov byte [esp + 0x1d4], 0x2c
push eax
call fcn.004b8ed0
add esp, 4
and eax, 0xffff
push eax
push 0x697250
push edi
call fcn.004fda00
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
mov dword [esi], ecx
lea ecx, [esp + 0x48]
push str._averageping
lea edx, [esp + 0x1b8]
push ecx
push edx
mov dword [esi + 4], eax
call fcn.00467580
add esp, 0x10
mov byte [esp + 0x1dc], 0x2d
mov ecx, esp
mov dword [esp + 0x2c], esp
push ecx
mov ecx, eax
call fcn.00401a00
lea ecx, [ebp + 0x34]
call fcn.00443640
lea ecx, [esp + 0x1a0]
mov byte [esp + 0x1cc], 0x2e
call fcn.0041fc40
lea ecx, [esp + 0x78]
mov byte [esp + 0x1cc], 0x2f
call fcn.0041fc40
mov byte [esp + 0x1cc], bl
test byte [esp + 0x12], 8
je 0x4b8272
sub esp, 8
lea ecx, [esp + 0x98]
mov dword [esp + 0x24], esp
mov esi, esp
call fcn.00403f90
mov edi, eax
lea edx, [esp + 0x1dc]
mov byte [esp + 0x1d4], 0x30
push edx
call fcn.004b8ed0
add esp, 4
and eax, 0xffff
push eax
push 0x697250
push edi
call fcn.004fda00
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
mov dword [esi], ecx
mov dword [esi + 4], eax
lea eax, [esp + 0x48]
push str._averageloss
lea ecx, [esp + 0x9c]
push eax
push ecx
call fcn.00467580
add esp, 0x10
mov ecx, eax
mov edx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x1e0], 0x31
call fcn.00401a00
lea ecx, [ebp + 0x34]
call fcn.00443640
lea ecx, [esp + 0x84]
mov byte [esp + 0x1cc], 0x32
call fcn.0041fc40
lea ecx, [esp + 0x90]
mov byte [esp + 0x1cc], 0x33
call fcn.0041fc40
mov byte [esp + 0x1cc], bl
test byte [esp + 0x12], 0x10
je 0x4b8337
sub esp, 8
lea ecx, [esp + 0x68]
mov dword [esp + 0x24], esp
mov esi, esp
call fcn.00403f90
mov edi, eax
lea eax, [esp + 0x1dc]
mov byte [esp + 0x1d4], 0x34
push eax
call fcn.004b8fb0
add esp, 4
push eax
push 0x697250
push edi
call fcn.004fda00
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
mov dword [esi], ecx
lea ecx, [esp + 0x48]
push str._playercount
lea edx, [esp + 0x68]
push ecx
push edx
mov dword [esi + 4], eax
call fcn.00467580
add esp, 0x10
mov byte [esp + 0x1dc], 0x35
mov ecx, esp
mov dword [esp + 0x2c], esp
push ecx
mov ecx, eax
call fcn.00401a00
lea ecx, [ebp + 0x34]
call fcn.00443640
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x50]
sub edx, eax
lea ecx, [esp + 0x58]
push edx
push eax
mov byte [esp + 0x1d4], 0x36
call fcn.00402b70
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x60]
sub ecx, eax
mov byte [esp + 0x1cc], 0x37
push ecx
push eax
lea ecx, [esp + 0x70]
call fcn.00402b70
mov byte [esp + 0x1cc], bl
test byte [esp + 0x12], 0x20
je 0x4b83fd
sub esp, 8
lea ecx, [esp + 0x4c]
mov dword [esp + 0x24], esp
mov esi, esp
call fcn.00403f90
mov edi, eax
lea edx, [esp + 0x1dc]
mov byte [esp + 0x1d4], 0x38
push edx
call fcn.004b8ed0
add esp, 4
and eax, 0xffff
push eax
push str._04X
push edi
call fcn.004fda00
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
mov dword [esi], ecx
mov dword [esi + 4], eax
lea eax, [esp + 0x48]
push str._color
lea ecx, [esp + 0x84]
push eax
push ecx
call fcn.00467580
add esp, 0x10
mov ecx, eax
mov edx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x1e0], 0x39
call fcn.00401a00
lea ecx, [ebp + 0x34]
call fcn.00443640
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x6c]
sub ecx, eax
mov byte [esp + 0x1cc], 0x3a
push ecx
push eax
lea ecx, [esp + 0x7c]
call fcn.00402b70
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x44]
sub edx, eax
lea ecx, [esp + 0x4c]
push edx
push eax
mov byte [esp + 0x1d4], 0x3b
call fcn.00402b70
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
sub ecx, eax
mov dword [esp + 0x1cc], 0x3c
push ecx
push eax
lea ecx, [esp + 0x44]
call fcn.00402b70
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
inc esi
mov dword [esp + 0x1cc], 0xffffffff
cmp esi, eax
mov dword [esp + 0x18], esi
jb 0x4b7f24
test byte [esp + 0x30], 4
je 0x4b8a76
mov edi, dword [ebp + 0xf0]
lea edx, [esp + 0x1d4]
or edi, 8
push edx
mov dword [ebp + 0xf0], edi
call fcn.004b8fb0
mov esi, eax
add esp, 4
test esi, esi
mov dword [esp + 0x14], esi
je 0x4b8a76
lea eax, [esp + 0x18]
push 4
lea ecx, [esp + 0x1d8]
push eax
push ecx
call fcn.004b8e70
add esp, 0xc
xor ebx, ebx
test esi, esi
jbe 0x4b8a76
or edi, 0xffffffff
lea ecx, [esp + 0xcc]
call fcn.004047a0
lea ecx, [esp + 0xd8]
mov dword [esp + 0x1cc], 0x3d
call fcn.004047a0
lea edx, [esp + 0x12]
lea ecx, [esp + 0xe4]
push edx
mov byte [esp + 0x1d0], 0x3e
call fcn.00482bc0
lea ecx, [esp + 0x11c]
mov byte [esp + 0x1cc], 0x3f
mov byte [esp + 0x108], 0
call fcn.00403f90
lea ecx, [esp + 0x128]
mov byte [esp + 0x1cc], 0x40
call fcn.00403f90
lea ecx, [esp + 0x134]
mov byte [esp + 0x1cc], 0x41
call fcn.00403f90
lea ecx, [esp + 0xc4]
mov byte [esp + 0x1cc], 0x42
call fcn.004dc020
mov al, bl
mov dword [esp + 0x1cc], 0x43
inc al
mov byte [esp + 0xc4], al
mov al, byte [esp + 0x18]
test al, 1
je 0x4b8562
lea ecx, [esp + 0x5d]
push 1
lea edx, [esp + 0x1d8]
push ecx
push edx
call fcn.004b8e70
add esp, 0xc
test byte [esp + 0x18], 2
je 0x4b8580
lea eax, [esp + 0x1d4]
push eax
call fcn.004b8fb0
add esp, 4
mov byte [esp + 0xc5], al
test byte [esp + 0x18], 4
je 0x4b862b
lea ecx, [esp + 0x1d4]
lea edx, [esp + 0x44]
push ecx
push edx
call fcn.004b8ee0
add esp, 8
lea ecx, [esp + 0xd8]
mov byte [esp + 0x1cc], 0x44
cmp eax, ecx
je 0x4b8606
mov esi, dword [eax + 4]
mov eax, dword [eax]
mov ecx, dword [esp + 0xd8]
cmp eax, esi
je 0x4b85dc
cmp ecx, dword [esp + 0xdc]
je 0x4b85d8
mov dl, byte [eax]
inc eax
mov byte [ecx], dl
inc ecx
cmp eax, esi
jne 0x4b85c3
jmp 0x4b85dc
cmp eax, esi
jne 0x4b85f3
mov eax, dword [esp + 0xdc]
push eax
push ecx
lea ecx, [esp + 0xe0]
call fcn.004045c0
jmp 0x4b8606
lea ecx, [esp + 0x5e]
push ecx
push esi
push eax
lea ecx, [esp + 0xe4]
call fcn.00436cb0
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x44]
sub edx, eax
lea ecx, [esp + 0x4c]
push edx
push eax
mov byte [esp + 0x1d4], 0x45
call fcn.00402b70
mov byte [esp + 0x1cc], 0x43
test byte [esp + 0x18], 8
je 0x4b871b
lea eax, [esp + 0x5f]
lea ecx, [esp + 0x34]
push eax
mov byte [esp + 0x1d0], 0x46
call fcn.00482bc0
push 8
mov byte [esp + 0x1d0], 0x48
call fcn.0050d330
lea ecx, [eax + 8]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov byte [eax], 0
lea edx, [esp + 0x1d8]
mov byte [esp + 0x1d0], 0x49
push edx
call fcn.004b8ff0
add esp, 8
push eax
lea eax, [esp + 0x38]
push 0x697068
push eax
call fcn.004fda00
lea ecx, [esp + 0x134]
add esp, 0xc
cmp eax, ecx
je 0x4b86f6
mov esi, dword [eax + 4]
mov eax, dword [eax]
mov ecx, dword [esp + 0x128]
cmp eax, esi
je 0x4b86cc
cmp ecx, dword [esp + 0x12c]
je 0x4b86c8
mov dl, byte [eax]
inc eax
mov byte [ecx], dl
inc ecx
cmp eax, esi
jne 0x4b86b3
jmp 0x4b86cc
cmp eax, esi
jne 0x4b86e3
mov eax, dword [esp + 0x12c]
push eax
push ecx
lea ecx, [esp + 0x130]
call fcn.004045c0
jmp 0x4b86f6
lea ecx, [esp + 0x33]
push ecx
push esi
push eax
lea ecx, [esp + 0x134]
call fcn.00436cb0
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
sub edx, eax
lea ecx, [esp + 0x3c]
push edx
push eax
mov byte [esp + 0x1d4], 0x4a
call fcn.00402b70
mov byte [esp + 0x1cc], 0x43
test byte [esp + 0x18], 0x10
je 0x4b875c
lea eax, [esp + 0x1d4]
lea ecx, [esp + 0x6c]
push eax
push ecx
call fcn.004b8ee0
add esp, 8
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x6c]
sub edx, eax
lea ecx, [esp + 0x74]
push edx
push eax
mov byte [esp + 0x1d4], 0x4b
call fcn.00402b70
mov byte [esp + 0x1cc], 0x43
test byte [esp + 0x18], 0x20
je 0x4b879d
lea eax, [esp + 0x1d4]
lea ecx, [esp + 0x60]
push eax
push ecx
call fcn.004b8ee0
add esp, 8
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x60]
sub edx, eax
lea ecx, [esp + 0x68]
push edx
push eax
mov byte [esp + 0x1d4], 0x4c
call fcn.00402b70
mov byte [esp + 0x1cc], 0x43
test byte [esp + 0x19], 1
je 0x4b87bb
lea eax, [esp + 0x1d4]
push eax
call fcn.004b8ff0
add esp, 4
mov dword [esp + 0xf8], eax
test byte [esp + 0x19], 2
je 0x4b87d9
lea ecx, [esp + 0x1d4]
push ecx
call fcn.004b8ff0
add esp, 4
mov dword [esp + 0xf0], eax
test byte [esp + 0x19], 4
je 0x4b87f7
lea edx, [esp + 0x1d4]
push edx
call fcn.004b8fb0
add esp, 4
mov dword [esp + 0xfc], eax
test byte [esp + 0x19], 8
je 0x4b8815
lea eax, [esp + 0x1d4]
push eax
call fcn.004b8fb0
add esp, 4
mov dword [esp + 0xf4], eax
test byte [esp + 0x19], 0x10
je 0x4b882c
lea ecx, [esp + 0x1d4]
push ecx
call fcn.004b8fb0
add esp, 4
test byte [esp + 0x19], 0x20
je 0x4b8843
lea edx, [esp + 0x1d4]
push edx
call fcn.004b8fb0
add esp, 4
mov al, byte [esp + 0x1a]
test al, 1
je 0x4b8865
mov edx, dword [esp + 0x1d4]
mov ecx, dword [edx]
add edx, 4
mov dword [esp + 0x1d4], edx
mov dword [esp + 0x104], ecx
test al, 2
je 0x4b8893
sub esp, 0xc
lea ecx, [esp + 0x1e0]
mov eax, esp
mov dword [esp + 0x28], esp
push ecx
push eax
call fcn.004b8ee0
add esp, 8
lea ecx, [esp + 0x114]
call fcn.004da670
mov al, byte [esp + 0x1a]
test al, 4
je 0x4b88b3
mov edx, dword [esp + 0x1d4]
mov cx, word [edx]
add edx, 2
mov dword [esp + 0x1d4], edx
mov word [esp + 0x100], cx
test al, 8
je 0x4b88d3
mov edx, dword [esp + 0x1d4]
mov cx, word [edx]
add edx, 2
mov dword [esp + 0x1d4], edx
mov word [esp + 0x102], cx
test al, 0x10
je 0x4b8987
lea edx, [esp + 0x1d4]
lea eax, [esp + 0x50]
push edx
push eax
call fcn.004b8ee0
add esp, 8
lea ecx, [esp + 0x134]
mov byte [esp + 0x1cc], 0x4d
cmp eax, ecx
je 0x4b895e
mov esi, dword [eax + 4]
mov eax, dword [eax]
mov ecx, dword [esp + 0x134]
cmp eax, esi
je 0x4b892c
cmp ecx, dword [esp + 0x138]
je 0x4b8928
mov dl, byte [eax]
inc eax
mov byte [ecx], dl
inc ecx
cmp eax, esi
jne 0x4b8913
jmp 0x4b892c
cmp eax, esi
jne 0x4b8943
mov eax, dword [esp + 0x138]
push eax
push ecx
lea ecx, [esp + 0x13c]
call fcn.004045c0
jmp 0x4b895e
mov cl, byte [esp + 0x33]
lea edx, [esp + 0x13]
push edx
mov byte [esp + 0x17], cl
push esi
push eax
lea ecx, [esp + 0x140]
call fcn.00404c60
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x50]
sub ecx, eax
mov byte [esp + 0x1cc], 0x4e
push ecx
push eax
lea ecx, [esp + 0x60]
call fcn.00402b70
mov al, byte [esp + 0x1a]
mov byte [esp + 0x1cc], 0x43
test al, 0x20
je 0x4b89ab
mov ecx, dword [esp + 0x1d4]
mov ax, word [ecx]
add ecx, 2
and eax, 0xffff
mov dword [esp + 0x1d4], ecx
mov dword [esp + 0xc8], eax
mov eax, dword [ebp + 0x44]
mov ecx, dword [ebp + 0x48]
lea esi, [ebp + 0x40]
cmp eax, ecx
je 0x4b89d6
lea edx, [esp + 0xc4]
push edx
push eax
call fcn.00491610
mov eax, dword [esi + 4]
add esp, 8
add eax, 0xc4
mov dword [esi + 4], eax
jmp 0x4b89ef
push 1
lea ecx, [esp + 0x47]
push 1
lea edx, [esp + 0xcc]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00435160
lea ecx, [esp + 0x134]
mov dword [esp + 0x1cc], 0x53
call fcn.004207d0
lea ecx, [esp + 0x128]
mov byte [esp + 0x1cc], 0x52
call fcn.004207d0
lea ecx, [esp + 0x11c]
mov byte [esp + 0x1cc], 0x51
call fcn.00402ab0
lea ecx, [esp + 0xe4]
mov byte [esp + 0x1cc], 0x50
call fcn.004350f0
lea ecx, [esp + 0xd8]
mov byte [esp + 0x1cc], 0x4f
call fcn.00402ab0
lea ecx, [esp + 0xcc]
mov dword [esp + 0x1cc], edi
call fcn.00402ab0
mov eax, dword [esp + 0x14]
inc ebx
cmp ebx, eax
jb 0x4b8499
test byte [esp + 0x30], 8
je 0x4b8b66
mov edi, dword [ebp + 0xf0]
lea eax, [esp + 0x1d4]
or edi, 2
push eax
mov dword [ebp + 0xf0], edi
call fcn.004b8fb0
add esp, 4
test eax, eax
jbe 0x4b8b66
lea ebx, [ebp + 0x28]
mov esi, eax
mov edi, 0x57
lea ecx, [esp + 0x1d4]
lea edx, [esp + 0x50]
push ecx
push edx
call fcn.004b8ee0
lea eax, [esp + 0x1dc]
lea ecx, [esp + 0x3c]
push eax
push ecx
mov dword [esp + 0x1dc], 0x54
call fcn.004b8ee0
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
add esp, 8
sub eax, edx
mov ecx, esp
mov dword [esp + 0x24], esp
sub esp, 8
mov byte [esp + 0x1dc], 0x55
mov dword [ecx], edx
mov edx, esp
mov dword [ecx + 4], eax
mov dword [esp + 0x2c], esp
push edx
lea ecx, [esp + 0x64]
call fcn.00401a00
mov ecx, ebx
call fcn.00443640
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
sub eax, ecx
mov byte [esp + 0x1cc], 0x56
push eax
push ecx
lea ecx, [esp + 0x44]
call fcn.00402b70
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x50]
sub eax, ecx
mov dword [esp + 0x1cc], edi
push eax
push ecx
lea ecx, [esp + 0x60]
call fcn.00402b70
dec esi
mov dword [esp + 0x1cc], 0xffffffff
jne 0x4b8ab2
test byte [esp + 0x30], 0x10
je 0x4b8d46
lea eax, [esp + 0x1d4]
push eax
call fcn.004b8fb0
mov esi, eax
add esp, 4
test esi, esi
je 0x4b8d46
lea ecx, [esp + 0x12]
push 1
lea edx, [esp + 0x1d8]
push ecx
push edx
call fcn.004b8e70
add esp, 0xc
test esi, esi
jbe 0x4b8d46
lea eax, [esp + 0xb8]
mov edi, esi
mov dword [esp + 0x1c], eax
mov esi, 0x58
mov ebx, 0x5d
lea ecx, [esp + 0xa0]
call fcn.004047a0
lea ecx, [esp + 0xac]
mov dword [esp + 0x1cc], esi
call fcn.004047a0
lea ecx, [esp + 0x43]
mov byte [esp + 0x1cc], 0x5a
push ecx
lea ecx, [esp + 0xbc]
call fcn.00482bc0
push 8
mov byte [esp + 0x1d0], 0x5c
call fcn.0050d330
lea edx, [eax + 8]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], edx
add esp, 4
mov byte [eax], 0
mov al, byte [esp + 0x12]
mov dword [esp + 0x1cc], ebx
test al, 1
mov dword [esp + 0x9c], 0
je 0x4b8c62
lea eax, [esp + 0x33]
push 1
lea ecx, [esp + 0x1d8]
push eax
push ecx
call fcn.004b8e70
add esp, 0xc
mov dword [esp + 0x9c], 1
test byte [esp + 0x12], 2
je 0x4b8ca9
lea edx, [esp + 0x1d4]
lea eax, [esp + 0x90]
push edx
push eax
call fcn.004b8ee0
add esp, 8
push eax
lea ecx, [esp + 0xa4]
mov byte [esp + 0x1d0], 0x5e
call fcn.004044c0
lea ecx, [esp + 0x90]
mov byte [esp + 0x1cc], bl
call fcn.00402340
test byte [esp + 0x12], 4
je 0x4b8cd4
lea ecx, [esp + 0x1d4]
lea edx, [esp + 0x84]
push ecx
push edx
call fcn.004b8ee0
add esp, 8
lea ecx, [esp + 0x84]
call fcn.00402340
test byte [esp + 0x12], 8
je 0x4b8d15
lea eax, [esp + 0x1d4]
lea ecx, [esp + 0x78]
push eax
push ecx
call fcn.004b8ee0
add esp, 8
push eax
lea ecx, [esp + 0xb0]
mov byte [esp + 0x1d0], 0x5f
call fcn.004044c0
lea ecx, [esp + 0x78]
mov byte [esp + 0x1cc], bl
call fcn.00402340
lea edx, [esp + 0x9c]
lea ecx, [ebp + 0xd8]
push edx
call fcn.004be510
lea ecx, [esp + 0x9c]
mov dword [esp + 0x1cc], 0xffffffff
call fcn.004387f0
dec edi
jne 0x4b8bc1
test byte [esp + 0x30], 0x20
je 0x4b8e0e
mov edi, dword [ebp + 0xf0]
lea eax, [esp + 0x1d4]
or edi, 0x200
push eax
mov dword [ebp + 0xf0], edi
call fcn.004b8fb0
add esp, 4
test eax, eax
jbe 0x4b8e0e
mov edi, eax
lea ecx, [esp + 0x13]
push 1
lea edx, [esp + 0x1d8]
push ecx
push edx
call fcn.004b8e70
lea eax, [esp + 0x1e0]
push eax
call fcn.004b8fb0
mov esi, eax
mov al, byte [esp + 0x23]
add esp, 0x10
or ecx, 0xffffffff
test al, 1
je 0x4b8dc0
lea ecx, [esp + 0x1d4]
push ecx
call fcn.004b8fb0
add esp, 4
mov ecx, eax
mov al, byte [esp + 0x13]
and al, 0x1e
cmp al, 2
jne 0x4b8dd2
mov dword [ebp + 0x54], esi
mov dword [ebp + 0x58], ecx
jmp 0x4b8e07
cmp al, 4
jne 0x4b8dde
mov dword [ebp + 0x5c], esi
mov dword [ebp + 0x60], ecx
jmp 0x4b8e07
test al, al
jne 0x4b8dfd
mov eax, 0x88888889
mov dword [ebp + 0x50], ecx
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [ebp + 0x4c], edx
jmp 0x4b8e07
cmp al, 6
jne 0x4b8e07
mov dword [ebp + 0x64], esi
mov dword [ebp + 0x68], ecx
dec edi
jne 0x4b8d7d
mov al, 1
jmp 0x4b8e48
cmp bl, 0xff
jne 0x4b8e46
mov cl, byte [esi]
lea eax, [esi + 1]
cmp cl, 3
mov dword [esp + 0x1d4], eax
jne 0x4b8e46
lea ecx, [ebp + 4]
sub edi, eax
push ecx
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x2c], esp
push edi
push eax
call fcn.004b5e40
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x18]
xor al, al
mov ecx, dword [esp + 0x1c4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c0
ret 8