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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x144
push ebx
mov ebx, ecx
mov eax, dword [ebx + 8]
push esi
mov esi, dword [ebp + 8]
mov ecx, 3
push edi
xor edi, edi
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0xf4], ecx
mov dword [esp + 0xbc], ecx
mov dword [esp + 0x114], ecx
mov ecx, dword [ebx + 0x84]
mov dword [esp + 0x98], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0xf0], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0x110], eax
mov dword [esp + 0x100], eax
mov dword [esp + 0xd0], eax
mov eax, dword [ebx + 0x1c]
mov edx, dword [eax + ecx*4]
mov ecx, dword [ebx + 0x88]
push edi
push edi
mov dword [esp + 0xac], edx
mov edx, dword [eax + ecx*4]
mov eax, dword [ebx + 0xa0]
mov cl, byte [ebx + 0xa4]
push edi
mov dword [esp + 0x94], edx
mov edx, dword [ebx + 0xb4]
mov dword [esp + 0xb8], eax
mov eax, dword [ebx + 0xb8]
push 0x459cc4
mov byte [esp + 0x2e], cl
push esi
mov ecx, ebx
mov dword [esp + 0xa8], edi
mov dword [esp + 0xb4], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x100], edi
mov dword [esp + 0x10c], edi
mov dword [esp + 0xc8], edi
mov dword [esp + 0xd4], edi
mov dword [esp + 0x120], edi
mov dword [esp + 0x12c], edi
mov dword [esp + 0x118], 2
mov dword [esp + 0x110], edi
mov dword [esp + 0x11c], edi
mov dword [esp + 0xe8], edi
mov dword [esp + 0xe0], edi
mov dword [esp + 0xec], edi
mov dword [esp + 0xbc], edi
mov dword [esp + 0xc4], edi
mov byte [esp + 0x8c], 0
mov byte [esp + 0x98], 0
mov dword [esp + 0x134], edx
mov dword [esp + 0x130], eax
call fcn.00485bd0
push edi
push edi
push edi
push 0x459ccc
push esi
mov ecx, ebx
mov byte [esp + 0x48], al
call fcn.00485bd0
cmp byte [esp + 0x34], 0
mov ecx, dword [ebx + 0x20]
mov byte [esp + 0x74], al
mov dword [esp + 0x124], ecx
je 0x4b6490
test al, al
je 0x4b6490
push 0x45b534
mov edi, esi
push 0xdc4
mov esi, ebx
call fcn.0048c920
add esp, 8
mov byte [esp + 0x34], 0
mov byte [esp + 0x74], 0
xor edi, edi
lea edx, [ebp + 0x18]
push edx
lea eax, [ebp + 0x14]
push eax
lea ecx, [esp + 0x130]
push ecx
lea edx, [esp + 0x148]
push edx
mov edx, dword [ebp + 0x24]
lea eax, [esp + 0x80]
push eax
mov eax, dword [ebp + 0x18]
lea ecx, [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
push edx
push eax
mov eax, ebx
mov dword [esp + 0x10c], edi
mov dword [esp + 0x84], 0xffffffff
call fcn.004b4230
mov esi, eax
cmp esi, edi
jl 0x4b7d8c
mov ecx, dword [ebx + 4]
mov edi, dword [ecx + 0x20]
mov ecx, dword [esp + 0x98]
lea edx, [esp + 0xa0]
push edx
lea eax, [esp + 0x98]
push eax
push ecx
mov ecx, 4
add edi, 0xb
lea esi, [ecx - 1]
mov dword [esp + 0x2c], edi
call fcn.00482df0
mov esi, eax
test esi, esi
jl 0x4b7d8c
mov edx, dword [ebx + 0x1c]
mov esi, dword [esp + 0x94]
lea eax, [edi*4]
push eax
push edx
push esi
mov dword [esp + 0x38], eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea eax, [esp + 0xf]
push eax
push esi
push edi
mov edi, dword [ebp + 0x10]
push edi
mov eax, ebx
mov byte [esp + 0x1f], 0
call fcn.004b47f0
mov esi, eax
test esi, esi
jl 0x4b7d8c
cmp esi, 0x270f0000
je 0x4b7d22
cmp esi, 0x270f0001
je 0x4b7d22
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0x1b]
push edx
lea eax, [esp + 0x44]
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x30]
push ecx
lea edx, [ebp + 0x10]
push edx
push eax
push edi
call fcn.004b4b00
mov esi, eax
test esi, esi
jl 0x4b7d8c
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x24]
push 1
lea eax, [esp + 0x28]
push eax
push 0
push ebx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x40], edx
call fcn.0048b010
mov esi, eax
test esi, esi
jl 0x4b7d8c
cmp dword [ebp + 0x24], 0
lea ecx, [esp + 0xe0]
mov edx, ecx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x38], 0
jne 0x4b660d
cmp byte [ebp + 0x1c], 0
jne 0x4b660d
cmp dword [ebp + 0x20], 0
jne 0x4b660d
xor al, al
jmp 0x4b660f
mov al, 1
lea ecx, [esp + 0xc4]
push ecx
lea edx, [esp + 0x13]
push edx
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x8c]
push ecx
mov ecx, dword [esp + 0x88]
lea edx, [esp + 0x94]
push edx
mov edx, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0x50]
push eax
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [esp + 0x50]
push ecx
push edx
push eax
push ebx
lea eax, [esp + 0x11c]
call fcn.004b4ff0
mov esi, eax
test esi, esi
jl 0x4b7d8c
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x60]
mov dword [esp + 0x10], 0
call fcn.0048cb10
mov esi, eax
test esi, esi
jl 0x4b7d8c
lea eax, [esp + 0xec]
call fcn.0048cb10
mov esi, eax
test esi, esi
jl 0x4b7d8c
lea eax, [esp + 0xb4]
call fcn.0048cb10
mov esi, eax
test esi, esi
jl 0x4b7d8c
lea eax, [esp + 0x10c]
call fcn.0048cb10
mov esi, eax
test esi, esi
jl 0x4b7d8c
mov ecx, dword [esp + 0x2c]
mov edx, dword [ebx + 0x1c]
mov eax, dword [esp + 0x94]
push ecx
push edx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp byte [esp + 0xf], 0
mov byte [esp + 0x1d], 0
mov byte [esp + 0x1f], 0
je 0x4b6cc0
mov eax, dword [ebx + 8]
cmp dword [eax + 0x58], 0
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x28], ecx
jne 0x4b672d
cmp byte [esp + 0x8c], 0
je 0x4b6726
add dword [ebx + 0xb4], 1
jmp 0x4b672d
add dword [ebx + 0xb8], 1
mov edi, dword [ebp + 0xc]
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x70]
push eax
push 0x10f00001
push edi
mov ecx, ebx
mov dword [esp + 0x7c], 0xffffffff
call fcn.0048fd00
mov esi, eax
test esi, esi
jl 0x4b7d8c
mov eax, dword [ebx + 8]
cmp dword [eax + 0x58], 0
je 0x4b6774
mov ecx, dword [eax + 0x2904]
jmp 0x4b677a
mov ecx, dword [eax + 0x2918]
mov eax, dword [esp + 0x58]
lea edx, [eax + 0x10]
mov dword [esp + 0xe4], edx
mov edx, dword [edx]
cmp edx, ecx
mov dword [esp + 0xdc], eax
je 0x4b681a
test edx, edx
je 0x4b67db
cmp edx, 0xffffffff
je 0x4b67db
mov esi, dword [eax + 0x18]
lea edi, [eax + 0x18]
add eax, 0x14
test esi, esi
mov dword [esp + 0xe8], edi
je 0x4b67c4
mov edi, dword [eax]
mov dword [esi + 0x14], edi
mov edi, dword [esp + 0xe8]
jmp 0x4b67c9
mov esi, dword [eax]
mov dword [edx + 0x24], esi
mov eax, dword [eax]
test eax, eax
je 0x4b67d6
mov edx, dword [edi]
mov dword [eax + 0x18], edx
jmp 0x4b67db
mov eax, dword [edi]
mov dword [edx + 0x28], eax
test ecx, ecx
je 0x4b680a
cmp ecx, 0xffffffff
je 0x4b680a
mov eax, dword [ecx + 0x28]
mov edx, dword [esp + 0xdc]
mov dword [edx + 0x18], eax
mov eax, dword [ecx + 0x28]
test eax, eax
je 0x4b67fd
mov dword [eax + 0x14], edx
jmp 0x4b6800
mov dword [ecx + 0x24], edx
mov dword [edx + 0x14], 0
mov dword [ecx + 0x28], edx
mov edx, dword [esp + 0xe4]
mov edi, dword [ebp + 0xc]
mov dword [edx], ecx
mov eax, dword [esp + 0x58]
cmp byte [esp + 0x34], 0
je 0x4b6834
mov ecx, dword [eax + 8]
add eax, 8
or dword [eax + 4], 0x20000
mov dword [eax], ecx
mov eax, dword [esp + 0x58]
cmp dword [ebp + 0x14], 0
jne 0x4b68a2
cmp byte [ebp + 0x1c], 0
je 0x4b6849
cmp dword [ebx + 0xfc], 0
jne 0x4b68a2
cmp dword [esp + 0x140], 0
jne 0x4b68a2
mov edx, dword [esp + 0x17]
mov eax, dword [esp + 0x30]
push 0
push edx
push eax
push ebx
mov dword [ebx + 0x18], edi
call fcn.004b9f10
mov esi, eax
test esi, esi
jl 0x4b7d8c
mov esi, dword [esp + 0x2c]
mov ecx, dword [ebx + 0x1c]
mov edx, dword [esp + 0x60]
push esi
push ecx
push edx
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0xa0]
mov ecx, dword [ebx + 0x1c]
add esp, 0xc
push esi
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x4b697a
mov dword [ebx + 0xa0], eax
mov eax, dword [esp + 0x17]
lea edx, [esp + 0x40]
push edx
push eax
mov byte [ebx + 0xa4], al
mov eax, dword [esp + 0x38]
push eax
push ebx
mov dword [esp + 0x50], 0
mov dword [ebx + 0x18], edi
call fcn.004b9f10
mov esi, eax
test esi, esi
jge 0x4b68e2
lea edi, [esp + 0x40]
call fcn.004ba270
jmp 0x4b7d8c
lea ecx, [esp + 0x1d]
push ecx
mov edx, ecx
push edx
mov eax, ecx
push eax
lea ecx, [esp + 0xb4]
push ecx
mov ecx, dword [ebp + 0x14]
lea edx, [esp + 0x88]
push edx
mov edx, dword [ebp + 8]
lea eax, [esp + 0x150]
push eax
mov eax, dword [ebp + 0x20]
push ecx
mov ecx, dword [esp + 0x8c]
push edi
push edx
mov edx, dword [ebp + 0x1c]
push eax
push ecx
push 0
push 0
push edx
mov eax, ebx
call fcn.004b48e0
mov esi, eax
test esi, esi
jl 0x4b68d4
mov esi, dword [esp + 0x2c]
mov eax, dword [ebx + 0x1c]
mov ecx, dword [esp + 0x60]
push esi
push eax
push ecx
call sub.msvcrt.dll_memcpy
mov edx, dword [esp + 0xa0]
mov eax, dword [ebx + 0x1c]
add esp, 0xc
push esi
push edx
push eax
call sub.msvcrt.dll_memcpy
mov ecx, dword [esp + 0xb8]
mov dl, byte [esp + 0x2a]
add esp, 0xc
lea edi, [esp + 0x40]
mov dword [ebx + 0xa0], ecx
mov byte [ebx + 0xa4], dl
call fcn.004ba270
cmp dword [ebp + 0x18], 0
mov edi, dword [ebp + 0xc]
jne 0x4b6a25
cmp dword [esp + 0x12c], 0
jne 0x4b6a25
cmp byte [esp + 0x17], 0
mov ecx, dword [esp + 0x30]
sete al
push 0
mov dword [ebx + 0x18], edi
push eax
push ecx
push ebx
call fcn.004b9f10
mov esi, eax
test esi, esi
jl 0x4b7d8c
mov edi, dword [esp + 0x2c]
mov edx, dword [ebx + 0x1c]
mov esi, dword [esp + 0xb4]
push edi
push edx
push esi
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0xa0]
mov ecx, dword [ebx + 0x1c]
add esp, 0xc
push edi
push eax
push ecx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp + 0x20]
add esp, 0xc
test eax, eax
je 0x4b6b02
mov ecx, dword [eax]
mov edx, dword [ebx + 0x98]
mov dword [esi + edx*4], ecx
mov ecx, dword [eax + 4]
mov edx, dword [ebx + 0x9c]
mov dword [esi + edx*4], ecx
mov edx, dword [ebx + 0x90]
mov ecx, dword [eax + 8]
mov dword [esi + edx*4], ecx
mov edx, dword [ebx + 0x8c]
mov eax, dword [eax + 0xc]
mov dword [esi + edx*4], eax
jmp 0x4b6b02
cmp byte [esp + 0x17], 0
mov ecx, dword [esp + 0x58]
sete al
lea edx, [esp + 0x40]
push edx
mov byte [ebx + 0xa4], al
mov dword [esp + 0x44], 0
mov dword [ebx + 0xa0], ecx
mov dword [ebx + 0x18], edi
push eax
mov eax, dword [esp + 0x38]
push eax
push ebx
call fcn.004b9f10
mov esi, eax
test esi, esi
jl 0x4b68d4
lea ecx, [esp + 0x1f]
push ecx
mov edx, ecx
push edx
mov eax, ecx
push eax
lea ecx, [esp + 0xbc]
push ecx
mov ecx, dword [ebp + 0x18]
lea edx, [esp + 0x94]
push edx
mov edx, dword [ebp + 8]
lea eax, [esp + 0x13c]
push eax
mov eax, dword [ebp + 0x20]
push ecx
mov ecx, dword [esp + 0x8c]
push edi
push edx
push eax
push ecx
push 0
push 0
push 0
mov eax, ebx
call fcn.004b48e0
mov esi, eax
test esi, esi
jl 0x4b68d4
mov esi, dword [esp + 0x2c]
mov edx, dword [ebx + 0x1c]
mov eax, dword [esp + 0xb4]
push esi
push edx
push eax
call sub.msvcrt.dll_memcpy
mov ecx, dword [esp + 0xa0]
mov edx, dword [ebx + 0x1c]
add esp, 0xc
push esi
push ecx
push edx
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0xb8]
mov cl, byte [esp + 0x2a]
add esp, 0xc
lea edi, [esp + 0x40]
mov dword [ebx + 0xa0], eax
mov byte [ebx + 0xa4], cl
call fcn.004ba270
mov edi, esi
cmp byte [esp + 0x78], 0
je 0x4b6b20
cmp byte [ebp + 0x1c], 0
jne 0x4b6b19
cmp byte [esp + 0x84], 0
je 0x4b6b20
mov eax, 1
jmp 0x4b6b22
xor eax, eax
or byte [ebx + 0xd1], al
mov eax, dword [esp + 0xa8]
test eax, eax
jne 0x4b6b3a
mov eax, dword [esp + 0xb0]
mov edx, dword [esp + 0x60]
mov esi, dword [esp + 0xec]
push edi
push edx
push esi
mov dword [ebx + 0xd4], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0x2c]
add esp, 0xc
push eax
push esi
push 0
push ebx
call fcn.0048b010
mov esi, eax
test esi, esi
jl 0x4b7d8c
mov ecx, dword [esp + 0xb4]
mov esi, dword [esp + 0x10c]
push edi
push ecx
push esi
call sub.msvcrt.dll_memcpy
mov edx, dword [esp + 0x2c]
add esp, 0xc
push edx
push esi
push 0
push ebx
call fcn.0048b010
mov esi, eax
test esi, esi
jl 0x4b7d8c
mov ecx, dword [esp + 0x10c]
mov edx, dword [esp + 0xec]
lea eax, [esp + 0x10]
push eax
push 0
mov eax, dword [esp + 0xbc]
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ecx
mov ecx, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0xb8]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x4f]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
push eax
push 0
push ecx
push ebx
call fcn.004b56a0
mov esi, eax
test esi, esi
jl 0x4b7d8c
mov edx, dword [esp + 0x120]
mov eax, dword [esp + 0x11c]
mov dword [ebx + 0xb4], edx
mov dword [ebx + 0xb8], eax
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x3c]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [esp + 0x94]
push edx
mov edx, dword [esp + 0x8c]
push eax
mov eax, dword [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0xe8]
push ecx
mov ecx, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push eax
push ebx
call fcn.004b53f0
mov esi, eax
test esi, esi
jl 0x4b7d8c
cmp byte [esp + 0x5c], 0
je 0x4b7506
mov ecx, dword [esp + 0x28]
mov edx, dword [ebx + 8]
push ecx
push edx
call fcn.004cae60
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x94]
mov edx, dword [ebx + 0x1c]
push eax
push ecx
push edx
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp byte [esp + 0x5c], 0
je 0x4b7506
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebx + 0x9c]
mov eax, dword [ebx + 0x1c]
cmp dword [eax + edx*4], 0xffffffff
lea eax, [eax + edx*4]
mov dword [esp + 0xc4], ecx
mov byte [esp + 0xf], 0
mov byte [esp + 0x1c], 0
je 0x4b6d0c
mov eax, dword [eax]
lea edi, [esp + 0xe]
mov esi, ebx
call fcn.0048b260
test eax, eax
jl 0x4b6d55
cmp byte [esp + 0xe], 0
jne 0x4b6d55
mov ecx, dword [ebx + 0x90]
mov edx, dword [ebx + 0x1c]
cmp dword [edx + ecx*4], 0xffffffff
lea eax, [edx + ecx*4]
je 0x4b6d36
mov eax, dword [eax]
lea edi, [esp + 0xe]
mov esi, ebx
call fcn.0048b260
test eax, eax
jl 0x4b6d55
cmp byte [esp + 0xe], 0
jne 0x4b6d55
mov eax, dword [ebx + 0x98]
mov ecx, dword [ebx + 0x1c]
cmp dword [ecx + eax*4], 0xffffffff
lea eax, [ecx + eax*4]
je 0x4b6d55
mov eax, dword [eax]
lea edi, [esp + 0xe]
mov esi, ebx
call fcn.0048b260
cmp dword [ebp + 0x14], 0
mov edx, dword [esp + 0x94]
mov dword [ebx + 0x20], edx
jne 0x4b6dc1
cmp dword [esp + 0x140], 0
jne 0x4b6dc1
mov ecx, dword [esp + 0x17]
mov edx, dword [esp + 0x30]
mov eax, dword [ebp + 0xc]
push 0
push ecx
push edx
push ebx
mov dword [ebx + 0x18], eax
call fcn.004b9f10
mov esi, eax
test esi, esi
jl 0x4b7d8c
mov esi, dword [esp + 0x2c]
mov eax, dword [ebx + 0x1c]
mov edi, dword [esp + 0x60]
push esi
push eax
push edi
call sub.msvcrt.dll_memcpy
mov ecx, dword [esp + 0xa0]
mov edx, dword [ebx + 0x1c]
add esp, 0xc
push esi
push ecx
push edx
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x4b6f00
cmp byte [esp + 0x17], 0
mov dword [esp + 0x40], 0
lea esi, [esp + 0x24]
jne 0x4b6dd8
lea esi, [esp + 0x3c]
mov eax, dword [ebx + 0x84]
mov ecx, dword [ebx + 0x1c]
mov edi, dword [ebp + 0xc]
lea eax, [ecx + eax*4]
push ebx
lea edx, [esp + 0xa8]
call fcn.00489840
mov esi, eax
test esi, esi
jl 0x4b68d4
cmp byte [esp + 0x17], 0
lea esi, [esp + 0x24]
jne 0x4b6e0d
lea esi, [esp + 0x3c]
mov edx, dword [ebx + 0x88]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + edx*4]
push ebx
lea edx, [esp + 0x8c]
call fcn.00489840
mov esi, eax
test esi, esi
jl 0x4b68d4
mov edx, dword [esp + 0x17]
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x40]
push ecx
push edx
push eax
push ebx
mov dword [ebx + 0x18], edi
call fcn.004b9f10
mov esi, eax
test esi, esi
jl 0x4b68d4
push 0
lea ecx, [esp + 0x13]
push ecx
mov edx, ecx
push edx
lea eax, [esp + 0xb4]
push eax
mov eax, dword [ebp + 0x14]
lea ecx, [esp + 0x88]
push ecx
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x150]
push edx
mov edx, dword [ebp + 0x20]
push eax
mov eax, dword [esp + 0x8c]
push edi
push ecx
mov ecx, dword [ebp + 0x1c]
push edx
push eax
push 0
push 1
push ecx
mov eax, ebx
call fcn.004b48e0
mov esi, eax
test esi, esi
jl 0x4b68d4
mov esi, dword [esp + 0x2c]
mov edx, dword [ebx + 0x1c]
mov eax, dword [esp + 0x60]
push esi
push edx
push eax
call sub.msvcrt.dll_memcpy
mov ecx, dword [esp + 0xa0]
mov edx, dword [ebx + 0x1c]
add esp, 0xc
push esi
push ecx
push edx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebx + 0x84]
mov ecx, dword [ebx + 0x1c]
mov edx, dword [esp + 0xb0]
mov dword [ecx + eax*4], edx
mov eax, dword [ebx + 0x88]
mov ecx, dword [ebx + 0x1c]
mov edx, dword [esp + 0x94]
add esp, 0xc
lea edi, [esp + 0x40]
mov dword [ecx + eax*4], edx
call fcn.004ba270
mov edi, dword [esp + 0x60]
cmp dword [ebp + 0x18], 0
jne 0x4b6fab
cmp dword [esp + 0x12c], 0
jne 0x4b6fab
cmp byte [esp + 0x17], 0
mov edx, dword [esp + 0x30]
mov eax, dword [ebp + 0xc]
sete cl
push 0
mov dword [ebx + 0x18], eax
push ecx
push edx
push ebx
call fcn.004b9f10
mov esi, eax
test esi, esi
jl 0x4b7d8c
mov esi, dword [esp + 0x2c]
mov eax, dword [ebx + 0x1c]
mov edi, dword [esp + 0xb4]
push esi
push eax
push edi
call sub.msvcrt.dll_memcpy
mov ecx, dword [esp + 0xa0]
mov edx, dword [ebx + 0x1c]
add esp, 0xc
push esi
push ecx
push edx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp + 0x20]
add esp, 0xc
test eax, eax
je 0x4b7302
mov ecx, dword [ebx + 0x98]
mov edx, dword [eax]
mov dword [edi + ecx*4], edx
mov ecx, dword [ebx + 0x9c]
mov edx, dword [eax + 4]
mov dword [edi + ecx*4], edx
mov ecx, dword [ebx + 0x90]
mov edx, dword [eax + 8]
mov dword [edi + ecx*4], edx
mov ecx, dword [ebx + 0x8c]
mov edx, dword [eax + 0xc]
mov dword [edi + ecx*4], edx
jmp 0x4b7302
cmp byte [esp + 0x17], 0
mov eax, dword [ebp + 0xc]
sete dl
lea ecx, [esp + 0x40]
push ecx
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x44], 0
push edx
push eax
push ebx
call fcn.004b9f10
mov esi, eax
test esi, esi
jl 0x4b68d4
xor ecx, ecx
cmp dword [esp + 0x20], ecx
mov byte [esp + 0x1b], 0
jbe 0x4b7019
lea esp, [esp]
cmp dword [edi + ecx*4], 0xffffffff
je 0x4b7010
mov edx, dword [edi + ecx*4]
mov eax, dword [edx + 0x10]
mov eax, dword [eax + 8]
and eax, 0x4200000
xor esi, esi
or eax, esi
je 0x4b7010
mov eax, dword [ebx + 0x1c]
mov dword [eax + ecx*4], edx
add ecx, 1
cmp ecx, dword [esp + 0x20]
jb 0x4b6ff0
mov ecx, dword [ebx + 0x9c]
mov edx, dword [esp + 0x60]
lea eax, [edx + ecx*4]
mov eax, dword [eax]
lea edi, [esp + 0xe]
mov esi, ebx
call fcn.0048b260
test eax, eax
jl 0x4b7043
cmp byte [esp + 0xe], 0
je 0x4b7043
mov byte [esp + 0x1b], 1
cmp byte [ebx + 0xf9], 0
je 0x4b70a2
mov eax, dword [ebx + 0x9c]
mov ecx, dword [esp + 0x60]
cmp dword [ecx + eax*4], 0xffffffff
lea eax, [ecx + eax*4]
je 0x4b70a2
mov eax, dword [eax]
lea edi, [esp + 0xe]
call fcn.0048b260
test eax, eax
jl 0x4b7075
cmp byte [esp + 0xe], 0
je 0x4b70a2
mov ecx, dword [ebx + 0x9c]
mov edx, dword [esp + 0x60]
mov eax, dword [ebx + 0x1c]
mov edi, dword [ebp + 0xc]
add ecx, ecx
add ecx, ecx
lea esi, [edx + ecx]
add eax, ecx
push ebx
lea edx, [esp + 0x28]
call fcn.00489840
mov esi, eax
test esi, esi
jl 0x4b68d4
mov eax, dword [ebx + 0x90]
mov ecx, dword [esp + 0x60]
lea eax, [ecx + eax*4]
mov eax, dword [eax]
lea edi, [esp + 0xe]
mov esi, ebx
call fcn.0048b260
test eax, eax
jl 0x4b70cc
cmp byte [esp + 0xe], 0
je 0x4b70cc
mov byte [esp + 0x1b], 1
cmp byte [ebx + 0xfa], 0
je 0x4b712b
mov edx, dword [ebx + 0x90]
mov eax, dword [esp + 0x60]
cmp dword [eax + edx*4], 0xffffffff
lea eax, [eax + edx*4]
je 0x4b712b
mov eax, dword [eax]
lea edi, [esp + 0xe]
call fcn.0048b260
test eax, eax
jl 0x4b70fe
cmp byte [esp + 0xe], 0
je 0x4b712b
mov ecx, dword [ebx + 0x90]
mov edx, dword [esp + 0x60]
mov eax, dword [ebx + 0x1c]
mov edi, dword [ebp + 0xc]
add ecx, ecx
add ecx, ecx
lea esi, [edx + ecx]
add eax, ecx
push ebx
lea edx, [esp + 0x28]
call fcn.00489840
mov esi, eax
test esi, esi
jl 0x4b68d4
cmp dword [ebp + 0x18], 0
jne 0x4b713f
cmp dword [esp + 0x12c], 0
jne 0x4b71c8
mov eax, dword [ebx + 0x98]
mov ecx, dword [esp + 0x60]
lea eax, [ecx + eax*4]
mov eax, dword [eax]
lea edi, [esp + 0xe]
mov esi, ebx
call fcn.0048b260
test eax, eax
jl 0x4b7169
cmp byte [esp + 0xe], 0
je 0x4b7169
mov byte [esp + 0x1b], 1
cmp byte [ebx + 0xf8], 0
je 0x4b71c8
mov edx, dword [ebx + 0x98]
mov eax, dword [esp + 0x60]
cmp dword [eax + edx*4], 0xffffffff
lea eax, [eax + edx*4]
je 0x4b71c8
mov eax, dword [eax]
lea edi, [esp + 0xe]
call fcn.0048b260
test eax, eax
jl 0x4b719b
cmp byte [esp + 0xe], 0
je 0x4b71c8
mov ecx, dword [ebx + 0x98]
mov edx, dword [esp + 0x60]
mov eax, dword [ebx + 0x1c]
mov edi, dword [ebp + 0xc]
add ecx, ecx
add ecx, ecx
lea esi, [edx + ecx]
add eax, ecx
push ebx
lea edx, [esp + 0x28]
call fcn.00489840
mov esi, eax
test esi, esi
jl 0x4b68d4
cmp byte [esp + 0x1b], 0
je 0x4b71e5
mov eax, ebx
call fcn.0048a260
cmp byte [esp + 0x17], 0
je 0x4b7319
mov dword [esp + 0x3c], eax
cmp byte [esp + 0x17], 0
lea esi, [esp + 0x3c]
jne 0x4b71f4
lea esi, [esp + 0x24]
mov eax, dword [ebx + 0x84]
mov ecx, dword [ebx + 0x1c]
mov edi, dword [ebp + 0xc]
lea eax, [ecx + eax*4]
push ebx
lea edx, [esp + 0xa8]
call fcn.00489840
mov esi, eax
test esi, esi
jl 0x4b68d4
cmp byte [esp + 0x17], 0
lea esi, [esp + 0x3c]
jne 0x4b7229
lea esi, [esp + 0x24]
mov edx, dword [ebx + 0x88]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + edx*4]
push ebx
lea edx, [esp + 0x8c]
call fcn.00489840
mov esi, eax
test esi, esi
jl 0x4b68d4
push 0
lea ecx, [esp + 0x20]
push ecx
mov edx, ecx
push edx
lea eax, [esp + 0xbc]
push eax
mov eax, dword [ebp + 0x18]
lea ecx, [esp + 0x94]
push ecx
lea edx, [esp + 0x13c]
push edx
mov edx, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0x20]
mov ecx, edi
push ecx
mov ecx, dword [esp + 0x90]
push edx
mov edx, dword [ebp + 0x1c]
push eax
push ecx
push 0
push 1
push edx
mov eax, ebx
call fcn.004b48e0
mov esi, eax
test esi, esi
jl 0x4b68d4
mov esi, dword [esp + 0x2c]
mov eax, dword [ebx + 0x1c]
mov ecx, dword [esp + 0xb4]
push esi
push eax
push ecx
call sub.msvcrt.dll_memcpy
mov edx, dword [esp + 0xa0]
mov eax, dword [ebx + 0x1c]
add esp, 0xc
push esi
push edx
push eax
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebx + 0x84]
mov edx, dword [ebx + 0x1c]
mov eax, dword [esp + 0xb0]
mov dword [edx + ecx*4], eax
mov ecx, dword [ebx + 0x88]
mov edx, dword [ebx + 0x1c]
mov eax, dword [esp + 0x94]
add esp, 0xc
lea edi, [esp + 0x40]
mov dword [edx + ecx*4], eax
call fcn.004ba270
mov edi, dword [esp + 0xb4]
cmp byte [esp + 0xf], 0
je 0x4b7326
cmp byte [esp + 0x1c], 0
je 0x4b7322
mov eax, dword [esp + 0x94]
jmp 0x4b7331
mov dword [esp + 0x24], eax
jmp 0x4b71f0
mov eax, edi
jmp 0x4b7331
cmp byte [esp + 0x1c], 0
je 0x4b739d
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4b739d
mov edx, dword [esp + 0x20]
add edx, 0xfffffff5
je 0x4b739d
mov esi, dword [esp + 0x60]
sub eax, edi
mov ecx, edi
sub esi, edi
mov dword [esp + 0x28], eax
mov edi, edx
mov edi, edi
cmp dword [ecx], 0xffffffff
je 0x4b7368
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov eax, dword [eax + 8]
and eax, 0x20000000
xor edx, edx
or eax, edx
jne 0x4b7371
mov eax, dword [esp + 0x28]
mov edx, dword [eax + ecx]
mov dword [ecx], edx
cmp dword [esi + ecx], 0xffffffff
je 0x4b738b
mov eax, dword [esi + ecx]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 8]
and eax, 0x20000000
xor edx, edx
or eax, edx
jne 0x4b7395
mov edx, dword [esp + 0x28]
mov eax, dword [edx + ecx]
mov dword [esi + ecx], eax
add ecx, 4
sub edi, 1
jne 0x4b7350
cmp byte [esp + 0x78], 0
jne 0x4b73b2
cmp byte [esp + 0x84], 0
jne 0x4b73b2
xor eax, eax
jmp 0x4b73b7
mov eax, 1
or byte [ebx + 0xd1], al
mov eax, dword [esp + 0xa8]
test eax, eax
jne 0x4b73cf
mov eax, dword [esp + 0xb0]
mov dword [ebx + 0xd4], eax
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x3c]
push edx
mov edx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [esp + 0x98]
push eax
mov eax, dword [esp + 0x90]
push ecx
mov ecx, dword [esp + 0x90]
push edx
mov edx, dword [esp + 0x7c]
push eax
mov eax, dword [esp + 0xe8]
push ecx
push edx
push eax
mov eax, dword [esp + 0x68]
mov ecx, ebx
call fcn.004b52b0
mov esi, eax
test esi, esi
jl 0x4b7d8c
cmp byte [esp + 0x5c], 0
jne 0x4b7443
mov esi, 0x80004005
jmp 0x4b7d8c
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x60]
mov esi, dword [esp + 0xec]
push ecx
push edx
push esi
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0x2c]
add esp, 0xc
push eax
push esi
push 0
push ebx
call fcn.0048b010
mov esi, eax
test esi, esi
jl 0x4b7d8c
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0xb4]
mov edi, dword [esp + 0x10c]
push ecx
push edx
push edi
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0x2c]
add esp, 0xc
push eax
push edi
push 0
push ebx
call fcn.0048b010
mov esi, eax
test esi, esi
jl 0x4b7d8c
mov edx, dword [esp + 0xec]
mov eax, dword [esp + 0xb4]
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
mov ecx, dword [esp + 0x6c]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edi
push edx
mov edx, dword [esp + 0xb8]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x4f]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
push eax
push 1
push ecx
push ebx
call fcn.004b56a0
mov esi, eax
test esi, esi
jl 0x4b7d8c
cmp dword [esp + 0x10], 0
je 0x4b7b82
mov eax, dword [esp + 0x10]
add eax, 2
lea edi, [eax + eax*2]
add edi, edi
lea eax, [esp + 0xfc]
mov byte [ebx + 0xd8], 1
call fcn.0048cb10
mov esi, eax
test esi, esi
jl 0x4b7d8c
mov edi, dword [esp + 0x10]
add edi, 2
lea eax, [esp + 0xcc]
call fcn.0048cb10
mov esi, eax
test esi, esi
jl 0x4b7d8c
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0xfc]
lea eax, [edx + 2]
lea ecx, [eax*4]
lea esi, [edi + ecx]
mov dword [esp + 0x44], esi
lea esi, [edi + eax*8]
mov dword [esp + 0x48], esi
lea esi, [eax + eax*2]
lea eax, [eax + eax*4]
lea eax, [edi + eax*4]
lea esi, [edi + esi*4]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x54], eax
lea ecx, [edi + ecx*4]
lea esi, [esp + 0x10]
push esi
push eax
mov eax, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0xd8]
push ecx
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x120]
push edi
push eax
mov eax, dword [esp + 0xd0]
push edx
mov edx, dword [esp + 0x10c]
push ecx
mov ecx, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0xb8]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x4f]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
push eax
push 0
push ecx
push ebx
call fcn.004b56a0
mov esi, eax
test esi, esi
jl 0x4b7d8c
cmp byte [esp + 0x5c], 0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x80]
je 0x4b769f
mov edx, dword [esp + 0x10]
or eax, 4
or dword [ecx], eax
mov ecx, dword [esp + 0x7c]
push edx
mov edx, dword [esp + 0x50]
or eax, 4
or dword [ecx], eax
mov ecx, dword [esp + 0x4c]
push edi
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x4c]
push eax
mov eax, dword [ebp + 0xc]
push ecx
push edx
push eax
mov ecx, ebx
call fcn.004ad860
mov esi, eax
test esi, esi
jl 0x4b7d8c
cmp dword [ebp + 0x18], 0
jne 0x4b7669
cmp dword [esp + 0x12c], 0
jne 0x4b7669
xor al, al
jmp 0x4b766e
mov eax, 1
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0xcc]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [esp + 0x28]
push ecx
push eax
mov eax, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x5c]
push ebx
mov ecx, edi
call fcn.004b5bf0
jmp 0x4b7b51
mov dl, byte [esp + 0x17]
or eax, 8
or dword [ecx], eax
mov ecx, dword [esp + 0x7c]
or eax, 8
or dword [ecx], eax
mov ecx, dword [esp + 0x58]
mov dword [ebx + 0xa0], ecx
mov ecx, dword [esp + 0x10]
test ecx, ecx
mov dword [esp + 0x38], eax
mov byte [ebx + 0xa4], dl
je 0x4b77b3
mov eax, ecx
and eax, 0xfffff
cmp byte [esp + 0x1d], 0
je 0x4b76e6
or eax, 0x11d00000
jmp 0x4b76eb
or eax, 0x10000000
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x50]
push 0
push 0
push 0
push 0
push 0
push ecx
push edx
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, ebx
call fcn.0048fd00
mov esi, eax
test esi, esi
jl 0x4b7d8c
xor edi, edi
cmp dword [esp + 0x10], edi
mov dword [esp + 0x28], edi
jbe 0x4b77af
mov edx, dword [esp + 0x50]
mov ecx, dword [ebx + 8]
mov eax, dword [edx + edi*4]
mov ecx, dword [ecx + 0x2910]
mov edx, dword [eax + 0x10]
cmp edx, ecx
je 0x4b779e
test edx, edx
je 0x4b7773
cmp edx, 0xffffffff
je 0x4b7773
mov esi, dword [eax + 0x18]
test esi, esi
je 0x4b7758
mov edi, dword [eax + 0x14]
mov dword [esi + 0x14], edi
mov edi, dword [esp + 0x28]
jmp 0x4b775e
mov esi, dword [eax + 0x14]
mov dword [edx + 0x24], esi
mov esi, dword [eax + 0x14]
test esi, esi
je 0x4b776d
mov edx, dword [eax + 0x18]
mov dword [esi + 0x18], edx
jmp 0x4b7773
mov esi, dword [eax + 0x18]
mov dword [edx + 0x28], esi
test ecx, ecx
je 0x4b779b
cmp ecx, 0xffffffff
je 0x4b779b
mov edx, dword [ecx + 0x28]
mov dword [eax + 0x18], edx
mov edx, dword [ecx + 0x28]
test edx, edx
je 0x4b778e
mov dword [edx + 0x14], eax
jmp 0x4b7791
mov dword [ecx + 0x24], eax
mov dword [eax + 0x14], 0
mov dword [ecx + 0x28], eax
mov dword [eax + 0x10], ecx
add edi, 1
cmp edi, dword [esp + 0x10]
mov dword [esp + 0x28], edi
jb 0x4b7725
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x58]
cmp byte [esp + 0x17], 0
mov dword [ebx + 0xa0], eax
sete al
test ecx, ecx
mov byte [esp + 0xe8], al
mov byte [ebx + 0xa4], al
je 0x4b78ba
mov eax, dword [esp + 0x10]
and eax, 0xfffff
cmp byte [esp + 0x1f], 0
je 0x4b77f1
or eax, 0x11d00000
jmp 0x4b77f6
or eax, 0x10000000
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x54]
push 0
push 0
push 0
push 0
push 0
push ecx
push edx
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, ebx
call fcn.0048fd00
mov esi, eax
test esi, esi
jl 0x4b7d8c
xor edi, edi
cmp dword [esp + 0x10], edi
mov dword [esp + 0x28], edi
jbe 0x4b78ba
mov edx, dword [esp + 0x54]
mov ecx, dword [ebx + 8]
mov eax, dword [edx + edi*4]
mov ecx, dword [ecx + 0x2910]
mov edx, dword [eax + 0x10]
cmp edx, ecx
je 0x4b78a9
test edx, edx
je 0x4b787e
cmp edx, 0xffffffff
je 0x4b787e
mov esi, dword [eax + 0x18]
test esi, esi
je 0x4b7863
mov edi, dword [eax + 0x14]
mov dword [esi + 0x14], edi
mov edi, dword [esp + 0x28]
jmp 0x4b7869
mov esi, dword [eax + 0x14]
mov dword [edx + 0x24], esi
mov esi, dword [eax + 0x14]
test esi, esi
je 0x4b7878
mov edx, dword [eax + 0x18]
mov dword [esi + 0x18], edx
jmp 0x4b787e
mov esi, dword [eax + 0x18]
mov dword [edx + 0x28], esi
test ecx, ecx
je 0x4b78a6
cmp ecx, 0xffffffff
je 0x4b78a6
mov edx, dword [ecx + 0x28]
mov dword [eax + 0x18], edx
mov edx, dword [ecx + 0x28]
test edx, edx
je 0x4b7899
mov dword [edx + 0x14], eax
jmp 0x4b789c
mov dword [ecx + 0x24], eax
mov dword [eax + 0x14], 0
mov dword [ecx + 0x28], eax
mov dword [eax + 0x10], ecx
add edi, 1
cmp edi, dword [esp + 0x10]
mov dword [esp + 0x28], edi
jb 0x4b7830
cmp dword [esp + 0x10], 0
mov dword [esp + 0x28], 0
jbe 0x4b7ac4
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0xcc]
add eax, 0xfffffff5
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0x44]
sub edx, eax
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x50]
sub edx, eax
mov dword [esp + 0xdc], edx
mov edx, dword [esp + 0x54]
sub ecx, eax
sub edx, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0xc4], ecx
mov dword [esp + 0x90], edx
jmp 0x4b7927
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0xe4]
mov eax, dword [esp + 0x34]
cmp dword [ecx + eax], edx
jb 0x4b7aaa
mov edx, dword [esp + 0xdc]
mov cl, byte [esp + 0x17]
push 0
push 0
push 0
push 0
push 0
push eax
lea edi, [edx + eax]
mov eax, dword [ebp + 0xc]
push edi
push 0x10000001
mov byte [ebx + 0xa4], cl
push eax
mov ecx, ebx
call fcn.0048fd00
mov esi, eax
test esi, esi
jl 0x4b7d8c
mov cl, byte [esp + 0xe8]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x90]
push 0
push 0
push 0
push 0
mov byte [ebx + 0xa4], cl
lea ecx, [edx + eax]
mov edx, dword [esp + 0x9c]
push 0
add edx, eax
mov eax, dword [ebp + 0xc]
push edx
push ecx
push 0x10000001
mov dword [esp + 0x94], ecx
push eax
mov ecx, ebx
call fcn.0048fd00
mov esi, eax
test esi, esi
jl 0x4b7d8c
mov ecx, dword [ebx + 8]
mov eax, dword [edi]
mov ecx, dword [ecx + 0x2910]
mov edx, dword [eax + 0x10]
cmp edx, ecx
je 0x4b7a36
test edx, edx
je 0x4b7a0b
cmp edx, 0xffffffff
je 0x4b7a0b
mov esi, dword [eax + 0x18]
test esi, esi
je 0x4b79f0
mov edi, dword [eax + 0x14]
mov dword [esi + 0x14], edi
jmp 0x4b79f6
mov esi, dword [eax + 0x14]
mov dword [edx + 0x24], esi
mov esi, dword [eax + 0x14]
test esi, esi
je 0x4b7a05
mov edx, dword [eax + 0x18]
mov dword [esi + 0x18], edx
jmp 0x4b7a0b
mov esi, dword [eax + 0x18]
mov dword [edx + 0x28], esi
test ecx, ecx
je 0x4b7a33
cmp ecx, 0xffffffff
je 0x4b7a33
mov edx, dword [ecx + 0x28]
mov dword [eax + 0x18], edx
mov edx, dword [ecx + 0x28]
test edx, edx
je 0x4b7a26
mov dword [edx + 0x14], eax
jmp 0x4b7a29
mov dword [ecx + 0x24], eax
mov dword [eax + 0x14], 0
mov dword [ecx + 0x28], eax
mov dword [eax + 0x10], ecx
mov eax, dword [ebx + 8]
mov edx, dword [esp + 0x74]
mov ecx, dword [eax + 0x2910]
mov eax, dword [edx]
mov edx, dword [eax + 0x10]
cmp edx, ecx
je 0x4b7aaa
test edx, edx
je 0x4b7a7f
cmp edx, 0xffffffff
je 0x4b7a7f
mov esi, dword [eax + 0x18]
test esi, esi
je 0x4b7a64
mov edi, dword [eax + 0x14]
mov dword [esi + 0x14], edi
jmp 0x4b7a6a
mov esi, dword [eax + 0x14]
mov dword [edx + 0x24], esi
mov esi, dword [eax + 0x14]
test esi, esi
je 0x4b7a79
mov edx, dword [eax + 0x18]
mov dword [esi + 0x18], edx
jmp 0x4b7a7f
mov esi, dword [eax + 0x18]
mov dword [edx + 0x28], esi
test ecx, ecx
je 0x4b7aa7
cmp ecx, 0xffffffff
je 0x4b7aa7
mov edx, dword [ecx + 0x28]
mov dword [eax + 0x18], edx
mov edx, dword [ecx + 0x28]
test edx, edx
je 0x4b7a9a
mov dword [edx + 0x14], eax
jmp 0x4b7a9d
mov dword [ecx + 0x24], eax
mov dword [eax + 0x14], 0
mov dword [ecx + 0x28], eax
mov dword [eax + 0x10], ecx
mov eax, dword [esp + 0x28]
add dword [esp + 0x34], 4
add eax, 1
cmp eax, dword [esp + 0x10]
mov dword [esp + 0x28], eax
jb 0x4b7920
mov eax, dword [esp + 0xac]
mov cl, byte [esp + 0x1e]
mov dword [ebx + 0xa0], eax
mov eax, dword [esp + 0x10]
test eax, eax
mov byte [ebx + 0xa4], cl
je 0x4b7b2d
jbe 0x4b7af0
mov edi, dword [esp + 0x4c]
mov ecx, eax
or eax, 0xffffffff
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
push 0
push 0
push 0
push 0
push edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [ebp + 0xc]
push ecx
and edx, 0xfffff
or edx, 0x20700000
push edx
push eax
mov ecx, ebx
call fcn.0048fd00
mov esi, eax
test esi, esi
jl 0x4b7d8c
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
push ebx
call fcn.004b5cc0
mov esi, eax
test esi, esi
jl 0x4b7d8c
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0xcc]
mov ecx, dword [esp + 0x10]
mov edi, ebx
call fcn.004b6230
mov esi, eax
test esi, esi
jl 0x4b7d8c
mov byte [ebx + 0xd8], 0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x10c]
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 0xffffffffffffffff
push edx
mov edx, dword [esp + 0x100]
push ebx
xor ecx, ecx
mov dword [esp + 0x28], 0
call fcn.004b5a60
mov esi, eax
test esi, esi
jl 0x4b7d8c
cmp dword [esp + 0x10], 0
je 0x4b7ce9
lea esi, [esp + 0xfc]
call fcn.0048cb30
lea esi, [esp + 0xcc]
call fcn.0048cb30
mov edi, dword [esp + 0x10]
add edi, edi
lea eax, [esp + 0xfc]
call fcn.0048cb10
mov esi, eax
test esi, esi
jl 0x4b7d8c
mov edi, dword [esp + 0x10]
lea eax, [esp + 0xcc]
call fcn.0048cb10
mov esi, eax
test esi, esi
jl 0x4b7d8c
mov edi, dword [esp + 0xfc]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0xd0]
push edi
push edx
mov edx, dword [esp + 0xf8]
push eax
lea ecx, [edi + eax*4]
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x120]
push ebx
mov dword [esp + 0xe0], ecx
call fcn.004b5a60
mov esi, eax
test esi, esi
jl 0x4b7d8c
cmp dword [esp + 0x10], 0
jbe 0x4b7c71
mov ecx, dword [esp + 0x10]
or eax, 0xffffffff
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0xfc]
mov ecx, dword [esp + 0xc8]
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 0xc]
push 0
push 0
push 0
push 0
push 0
push ecx
and edx, 0xfffff
push edi
or edx, 0x10000000
push edx
push eax
mov ecx, ebx
call fcn.0048fd00
mov esi, eax
test esi, esi
jl 0x4b7d8c
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0x10]
mov edx, edi
call fcn.004b5b30
mov esi, eax
test esi, esi
jl 0x4b7d8c
mov eax, dword [esp + 0xfc]
mov edx, dword [esp + 0xcc]
mov ecx, dword [esp + 0x10]
mov edi, ebx
call fcn.004b6230
mov esi, eax
test esi, esi
jl 0x4b7d8c
mov ecx, dword [ebx + 0x90]
mov edx, dword [ebx + 0x1c]
mov eax, dword [edx + ecx*4]
lea edi, [esp + 0xf]
mov esi, ebx
call fcn.0048b260
test eax, eax
jge 0x4b7d0b
mov byte [ebx + 0xcf], 1
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x80]
or dword [ecx], eax
mov ecx, dword [esp + 0x7c]
xor esi, esi
or dword [ecx], eax
jmp 0x4b7d8c
cmp byte [esp + 0xf], 0
push 0
push 0
push 0
push 0
push 0
je 0x4b7d5d
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x150]
push eax
mov eax, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0x20]
push edx
mov edx, dword [esp + 0x90]
push eax
mov eax, dword [ebp + 0x1c]
push ecx
push edx
push 1
push 1
push eax
jmp 0x4b7d83
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x13c]
push ecx
mov ecx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0x20]
push eax
mov eax, dword [esp + 0x90]
push ecx
push edx
push eax
push 1
push 1
push 0
mov eax, ebx
call fcn.004b48e0
mov esi, eax
mov ecx, dword [ebx + 0x84]
mov edx, dword [ebx + 0x1c]
mov eax, dword [esp + 0xa4]
mov dword [edx + ecx*4], eax
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x88]
mov eax, dword [esp + 0x88]
mov dword [edx + ecx*4], eax
mov ecx, dword [esp + 0xac]
mov dl, byte [esp + 0x1e]
mov eax, dword [esp + 0x124]
mov dword [ebx + 0xa0], ecx
mov ecx, dword [esp + 0x120]
mov byte [ebx + 0xa4], dl
mov edx, dword [esp + 0x11c]
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 0xcc]
mov dword [ebx + 0xb4], ecx
mov ecx, dword [esp + 0xd8]
mov dword [ebx + 0xb8], edx
mov edx, dword [esp + 0xd0]
push eax
mov eax, dword [esp + 0xd8]
mov byte [ebx + 0xd8], 0
call fcn.00482e60
mov ecx, dword [esp + 0xfc]
mov eax, dword [esp + 0x104]
mov edx, dword [esp + 0x100]
push ecx
mov ecx, dword [esp + 0x10c]
call fcn.00482e60
mov edx, dword [esp + 0x10c]
mov ecx, dword [esp + 0x118]
mov eax, dword [esp + 0x114]
push edx
mov edx, dword [esp + 0x114]
call fcn.00482e60
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0xb8]
push eax
mov eax, dword [esp + 0xc0]
call fcn.00482e60
mov ecx, dword [esp + 0xec]
mov eax, dword [esp + 0xf4]
mov edx, dword [esp + 0xf0]
push ecx
mov ecx, dword [esp + 0xfc]
call fcn.00482e60
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x68]
call fcn.00482e60
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x98]
push eax
mov eax, dword [esp + 0xa0]
call fcn.00482e60
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20