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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
xor eax, eax
mov dword [esp + 0x64], edx
push esi
mov esi, ecx
mov dword [esp + 0x64], eax
or edx, 0xffffffff
mov dword [esp + 0x60], eax
mov dword [esp + 0x4c], eax
xorps xmm0, xmm0
mov dword [esp + 0x6c], eax
cmp dword [esi + 0x40], 0
mov dword [esp + 0x70], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x58], eax
mov eax, dword [esi]
push edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x58], edx
mov dword [esp + 0x60], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x44], eax
movaps xmmword [esp + 0x80], xmm0
jne 0x4bb4ae
cmp byte [eax + 0x1e], 0
jne 0x4bb4ae
mov edx, dword [esp + 0x6c]
cmp dword [edx + 0xc], 0
je 0x4bb4ae
call fcn.004b5f70
mov dword [esp + 0x20], eax
test eax, eax
je 0x4bb4ae
mov edx, dword [eax + 0x40]
mov edi, 0xfff0bdc0
mov dword [esp + 0x18], edi
test edx, edx
je 0x4b9af4
mov ecx, dword [esp + 0x44]
xor edi, edi
mov dword [esp + 0x18], edi
mov ecx, dword [ecx + 4]
test ecx, ecx
jle 0x4b9af4
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 8]
add eax, 0xc
nop dword [eax]
cmp dword [eax], edx
je 0x4b9aec
inc edi
add eax, 0x10
cmp edi, ecx
jl 0x4b9ae0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], edi
mov edx, eax
mov ecx, esi
call fcn.004b2660
test eax, eax
jne 0x4bb4ae
mov edx, dword [esp + 0x20]
push ecx
mov ecx, esi
call fcn.004b6030
add esp, 4
test eax, eax
jne 0x4bb4ae
mov esi, dword [esi + 0xc]
mov dword [esp + 0x78], esi
test esi, esi
jne 0x4b9b41
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx]
call fcn.0049b4a0
mov esi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x78], esi
mov dword [eax + 0xc], esi
jmp 0x4b9b45
mov eax, dword [esp + 0x10]
test esi, esi
je 0x4bb4ae
cmp byte [eax + 0x13], 0
jne 0x4b9b57
mov byte [esi + 0x6d], 1
mov edx, edi
mov ecx, eax
call fcn.004b52a0
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x150]
bts eax, edi
test edx, edx
mov dword [ecx + 0x150], eax
setne al
or byte [ecx + 0x158], al
cmp dword [ebp + 0x10], 0
jne 0x4b9cb6
push edi
push dword [ebp + 0x14]
mov edi, ecx
push edx
mov edx, dword [esp + 0x2c]
call fcn.004bc620
add esp, 0xc
test eax, eax
jne 0x4bb41c
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x4ba30d
mov eax, dword [edi + 0x48]
inc eax
mov dword [edi + 0x48], eax
mov edi, dword [esi + 0xc]
mov dword [esp + 0x28], eax
mov eax, edi
cmp dword [esi + 0x10], edi
jg 0x4b9bd4
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4b9c0d
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x28]
lea ecx, [edi + edi*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov eax, dword [esp + 0x10]
mov word [esp + 0x80], 0xa
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov edi, dword [eax + 0x48]
inc edi
mov dword [eax + 0x48], edi
mov dword [esp + 0x84], edi
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x1c], ecx
lea eax, [ecx + 2]
mov dword [esp + 0x2c], eax
mov eax, ecx
cmp dword [esi + 0x10], ecx
jg 0x4b9c66
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4b9c9c
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x1c]
inc eax
lea ecx, [ecx + ecx*4]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edi
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x2c]
dec eax
mov dword [ecx + 0xc], 0
mov dword [ecx + 4], eax
mov dword [ecx + 0x10], 0
mov byte [esi + 0x6e], 0
mov edi, dword [esi + 0xc]
cmp dword [esi + 0x10], edi
jg 0x4b9cbd
mov ecx, esi
call fcn.0049b560
test eax, eax
je 0x4b9cbd
mov edi, 1
jmp 0x4b9cf5
mov edi, ecx
jmp 0x4b9ba9
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
inc dword [esi + 0xc]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x80]
mov ecx, dword [esp + 0x10]
push eax
call fcn.004c9f90
add esp, 4
test eax, eax
jne 0x4ba2ec
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x40], 0
jne 0x4ba2ec
mov eax, dword [esp + 0x44]
cmp byte [eax + 0x1e], 0
jne 0x4ba2ec
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x1c], ecx
cmp dword [esi + 0x10], ecx
jg 0x4b9d50
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4b9d89
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0x84]
mov dword [esp + 0x14], eax
mov eax, ecx
mov dword [esp + 0x1c], ecx
cmp dword [esi + 0x10], ecx
jg 0x4b9db4
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4b9ded
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x1c], ecx
cmp dword [esi + 0x10], ecx
jg 0x4b9e0d
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4b9e46
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x1c]
inc eax
lea ecx, [ecx + ecx*4]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 6
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 2
mov dword [eax + ecx*4 + 8], 2
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov edx, dword [esi + 0xc]
cmp edx, edi
jle 0x4b9e57
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
mov dword [eax + ecx*4 + 8], edx
mov eax, dword [esp + 0x88]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x40], eax
test eax, eax
jne 0x4b9e8a
mov ecx, dword [edi]
call fcn.0049b4a0
mov dword [esp + 0x40], eax
mov dword [edi + 0xc], eax
mov ecx, dword [eax + 0xc]
mov eax, dword [esp + 0x20]
test byte [eax + 0x22], 0x10
je 0x4b9ead
mov edx, dword [eax + 0x30]
test edx, edx
je 0x4b9eaf
mov eax, dword [edi]
cmp dword [edx], eax
je 0x4b9eaf
mov edx, dword [edx + 0x10]
test edx, edx
jne 0x4b9ea0
jmp 0x4b9eaf
xor edx, edx
mov eax, dword [esp + 0x2c]
cmp eax, ecx
jge 0x4ba3b5
mov edi, dword [esp + 0x18]
nop
mov ecx, eax
test eax, eax
jns 0x4b9edb
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + 0xc]
test eax, eax
jne 0x4b9ed8
mov eax, 0x5353f0
jmp 0x4b9efb
lea ecx, [eax - 1]
mov eax, dword [esp + 0x40]
mov eax, dword [eax]
cmp byte [eax + 0x1e], 0
je 0x4b9eee
mov eax, 0x5353f0
jmp 0x4b9efb
mov eax, dword [esp + 0x40]
lea ecx, [ecx + ecx*4]
mov eax, dword [eax + 0x14]
lea eax, [eax + ecx*4]
mov cl, byte [eax]
cmp cl, 0x26
jne 0x4b9f2e
cmp dword [eax + 0xc], edi
jne 0x4b9f38
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x20]
cmp ecx, dword [eax + 0x18]
je 0x4b9f57
mov eax, dword [eax + 0x14]
test eax, eax
je 0x4b9f38
nop word [eax + eax]
cmp ecx, dword [eax + 0x14]
je 0x4b9f57
mov eax, dword [eax + 0x20]
test eax, eax
jne 0x4b9f20
jmp 0x4b9f38
cmp cl, 0x7c
jne 0x4b9f38
cmp dword [eax + 0x10], edx
je 0x4b9f57
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [edi + 0xc]
mov edi, dword [esp + 0x18]
jl 0x4b9ec0
jmp 0x4ba3b5
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x44]
mov cl, byte [edx + 0x15]
mov dword [esp + 0x4c], eax
inc eax
mov dword [edx + 0x44], eax
test cl, cl
jne 0x4b9f7f
inc dword [edx + 0x48]
mov edi, dword [edx + 0x48]
inc dword [edx + 0x48]
mov edx, dword [edx + 0x48]
mov dword [esp + 0x2c], edx
jmp 0x4b9faa
sub cl, 1
movzx eax, cl
mov byte [edx + 0x15], cl
mov edi, dword [edx + eax*4 + 0x18]
jne 0x4b9f9a
inc dword [edx + 0x48]
mov edx, dword [edx + 0x48]
mov dword [esp + 0x2c], edx
jmp 0x4b9faa
dec cl
movzx eax, cl
mov byte [edx + 0x15], cl
mov eax, dword [edx + eax*4 + 0x18]
mov dword [esp + 0x2c], eax
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x1c], ecx
cmp dword [esi + 0x10], ecx
jg 0x4b9fca
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4ba003
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x4c]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x54]
mov word [eax + ecx*4], 0x28
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0x84]
mov dword [esp + 0x1c], eax
mov eax, ecx
mov dword [esp + 0x38], ecx
cmp dword [esi + 0x10], ecx
jg 0x4ba038
mov ecx, esi
call fcn.0049b560
test eax, eax
je 0x4ba031
mov dword [esp + 0x38], 1
jmp 0x4ba071
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x1c]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov edx, dword [esi + 0xc]
mov eax, edx
mov dword [esp + 0x48], edx
cmp dword [esi + 0x10], edx
jg 0x4ba09b
mov ecx, esi
call fcn.0049b560
test eax, eax
je 0x4ba094
mov dword [esp + 0x48], 1
jmp 0x4ba0d4
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x48]
inc eax
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x28]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x1c], ecx
cmp dword [esi + 0x10], ecx
jg 0x4ba0f4
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4ba129
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x70]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x54]
mov word [eax + ecx*4], 0x1e
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x1c], ecx
cmp dword [esi + 0x10], ecx
jg 0x4ba149
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4ba182
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x4c]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 0x35
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x1c], ecx
cmp dword [esi + 0x10], ecx
jg 0x4ba1a2
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4ba1d7
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x4c]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 0x36
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x1c], ecx
cmp dword [esi + 0x10], ecx
jg 0x4ba1f7
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4ba230
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov edx, dword [esi + 0xc]
mov eax, dword [esp + 0x48]
cmp edx, eax
jle 0x4ba245
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov dword [esp + 0x60], 1
test edi, edi
je 0x4ba296
mov eax, dword [esp + 0x10]
mov dword [esp + 0x60], 1
mov dl, byte [eax + 0x15]
cmp dl, 8
jae 0x4ba2df
xor ecx, ecx
mov dword [esp + 0x60], 1
add eax, 0x60
cmp dword [eax + 0x10], edi
je 0x4ba292
inc ecx
add eax, 0x18
cmp ecx, 0xa
jl 0x4ba272
mov ecx, dword [esp + 0x10]
movzx eax, dl
mov dword [ecx + eax*4 + 0x18], edi
mov edi, ecx
inc byte [edi + 0x15]
jmp 0x4ba29a
mov byte [eax + 9], 1
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x4ba3b5
mov al, byte [edi + 0x15]
mov byte [esp + 0x27], al
cmp al, 8
jae 0x4ba3b5
xor ecx, ecx
lea eax, [edi + 0x60]
nop word [eax + eax]
cmp dword [eax + 0x10], edx
je 0x4ba2e3
inc ecx
add eax, 0x18
cmp ecx, 0xa
jl 0x4ba2c0
movzx eax, byte [esp + 0x27]
mov dword [edi + eax*4 + 0x18], edx
inc byte [edi + 0x15]
jmp 0x4ba3b5
mov edi, eax
jmp 0x4ba29a
mov byte [eax + 9], 1
jmp 0x4ba3b5
mov esi, dword [esp + 0x44]
mov ecx, esi
mov edx, dword [esp + 0x6c]
call fcn.004b49f0
mov edx, dword [ebp + 8]
mov ecx, esi
call fcn.004a8dc0
mov edi, dword [ebp + 0xc]
jmp 0x4bb4ce
mov ecx, dword [ebp + 8]
xorps xmm0, xmm0
movlpd qword [esp + 0xa0], xmm0
movlpd qword [esp + 0xa8], xmm0
movlpd qword [esp + 0xb0], xmm0
movlpd qword [esp + 0xb8], xmm0
mov dword [esp + 0x9c], edi
mov dword [esp + 0x4c], 0xffffffff
test ecx, ecx
je 0x4ba3ad
mov eax, dword [ecx]
mov dword [esp + 0x54], eax
mov dword [esp + 0x3c], 0
test eax, eax
jle 0x4ba3b5
xor edi, edi
mov dword [esp + 0x54], eax
mov edx, dword [ecx + 0xc]
lea ecx, [esp + 0x9c]
mov edx, dword [edi + edx]
call fcn.004a7210
test eax, eax
jne 0x4ba38f
mov eax, dword [esp + 0x3c]
add edi, 0x14
mov ecx, dword [ebp + 8]
inc eax
mov dword [esp + 0x3c], eax
cmp eax, dword [esp + 0x54]
jl 0x4ba362
jmp 0x4ba3b5
mov esi, dword [esp + 0x44]
mov ecx, esi
mov edx, dword [esp + 0x6c]
call fcn.004b49f0
mov edx, dword [ebp + 8]
mov ecx, esi
call fcn.004a8dc0
jmp 0x4bb4e1
mov dword [esp + 0x54], 0
mov edx, dword [esp + 0x20]
xor ecx, ecx
test byte [edx + 0x22], 0x10
je 0x4ba425
mov eax, dword [edx + 0xc]
xor edi, edi
mov dword [esp + 0x38], edi
cmp eax, 2
jl 0x4ba45f
mov ecx, dword [edx + 0x10]
lea edx, [eax - 2]
mov dword [esp + 0x14], ecx
add ecx, 0x2f
shr edx, 1
inc edx
lea eax, [edx + edx]
mov dword [esp + 0x1c], eax
nop word [eax + eax]
xor eax, eax
lea ecx, [ecx + 0x30]
cmp byte [ecx - 0x48], al
setne al
add edi, eax
xor eax, eax
cmp byte [ecx - 0x30], al
setne al
add dword [esp + 0x38], eax
sub edx, 1
jne 0x4ba3f0
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [edx + 0xc]
jl 0x4ba480
xor ecx, ecx
mov eax, dword [esp + 0x38]
add eax, edi
add ecx, eax
mov edi, dword [ebp + 0x10]
test edi, edi
jne 0x4ba543
mov edi, dword [esp + 0x54]
test edi, edi
je 0x4ba4a1
mov eax, dword [edx + 0xc]
sub eax, ecx
cmp edi, eax
je 0x4ba496
push edi
push eax
push 0
push dword [esp + 0x78]
push 0x522ce4
push dword [esp + 0x24]
call fcn.0048cb70
add esp, 0x18
jmp 0x4bb4ae
test eax, eax
jle 0x4ba41b
mov edx, dword [edx + 0x10]
lea eax, [ecx + ecx*2]
xor ecx, ecx
cmp byte [edx + eax*8 + 0x17], cl
mov edx, dword [esp + 0x20]
setne cl
jmp 0x4ba41d
mov edx, dword [esp + 0x14]
lea eax, [ecx + ecx*2]
xor ecx, ecx
cmp byte [edx + eax*8 + 0x17], cl
mov edx, dword [esp + 0x20]
setne cl
jmp 0x4ba41d
test edi, edi
jle 0x4ba4a1
mov edx, dword [edx + 8]
mov dword [esp + 0x58], edx
mov eax, dword [esp + 0x44]
test byte [eax + 0xc], 0x80
je 0x4ba504
mov eax, dword [esp + 0x10]
inc dword [eax + 0x48]
mov edi, dword [esi + 0xc]
mov eax, dword [eax + 0x48]
mov dword [esp + 0x74], eax
cmp dword [esi + 0x10], edi
jg 0x4ba4cc
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4ba504
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x74]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov ecx, dword [eax + 0x44]
push ecx
mov dword [esp + 0x44], ecx
push ecx
mov ecx, eax
call fcn.004bc440
mov edx, dword [esp + 0x4c]
mov edi, eax
add esp, 8
cmp byte [edx + 0x1e], 0
lea ecx, [edi*4 + 4]
je 0x4ba6aa
mov dword [esp + 0x5c], 0
jmp 0x4bb4ae
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x54]
cmp ecx, eax
je 0x4ba566
push eax
push ecx
push 0x522d18
push dword [esp + 0x1c]
call fcn.0048cb70
add esp, 0x10
jmp 0x4bb4ae
xor ecx, ecx
test eax, eax
jle 0x4ba582
nop dword [eax]
mov eax, dword [edi]
mov dword [eax + ecx*8 + 4], 0xffffffff
inc ecx
mov eax, dword [edi + 4]
cmp ecx, eax
jl 0x4ba570
xor ecx, ecx
mov dword [esp + 0x2c], ecx
test eax, eax
jle 0x4ba4a1
mov eax, edi
xor edi, edi
mov dword [esp + 0x3c], edi
cmp edi, dword [edx + 0xc]
jge 0x4ba654
mov eax, dword [eax]
lea eax, [eax + ecx*8]
mov ecx, dword [eax]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x10]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x38], eax
mov edx, dword [eax]
mov al, byte [ecx]
mov byte [esp + 0x27], al
test al, al
je 0x4ba5f9
mov edi, ecx
sub edi, edx
nop word [eax + eax]
movzx ecx, byte [edx]
mov byte [esp + 0x27], al
movzx eax, al
mov al, byte [eax + 0x51d778]
cmp al, byte [ecx + 0x51d778]
jne 0x4ba5f5
mov al, byte [edi + edx + 1]
inc edx
mov byte [esp + 0x27], al
test al, al
jne 0x4ba5d0
mov edi, dword [esp + 0x3c]
movzx eax, byte [edx]
mov edx, dword [esp + 0x20]
movzx ecx, byte [eax + 0x51d778]
movzx eax, byte [esp + 0x27]
movzx eax, byte [eax + 0x51d778]
sub eax, ecx
je 0x4ba636
mov eax, dword [esp + 0x38]
inc edi
mov ecx, dword [esp + 0x1c]
add eax, 0x18
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], eax
cmp edi, dword [edx + 0xc]
jl 0x4ba5b7
mov ecx, dword [esp + 0x2c]
jmp 0x4ba64f
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], edi
mov eax, dword [esp + 0x58]
cmp edi, dword [edx + 8]
cmove eax, ecx
mov dword [esp + 0x58], eax
cmp edi, dword [edx + 0xc]
jl 0x4ba673
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov edi, dword [eax + ecx*8]
mov ecx, edi
call fcn.004a9260
test eax, eax
je 0x4ba689
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x58], ecx
mov eax, dword [ebp + 0x10]
inc ecx
mov dword [esp + 0x2c], ecx
cmp ecx, dword [eax + 4]
jl 0x4ba592
jmp 0x4ba4a1
mov esi, dword [esp + 0x10]
push edi
push 0
push dword [esp + 0x74]
push 0x522d34
push esi
call fcn.0048cb70
add esp, 0x14
inc dword [esi + 0x40]
jmp 0x4bb4ae
cmp byte [edx + 0xe2], 0
je 0x4ba74f
movzx eax, word [edx + 0xe0]
cmp ecx, eax
jg 0x4ba74f
mov eax, dword [edx + 0xec]
mov dword [esp + 0x5c], eax
test eax, eax
je 0x4ba74f
mov eax, dword [eax]
mov dword [edx + 0xec], eax
mov eax, dword [edx + 0xe4]
inc eax
mov dword [edx + 0xe4], eax
cmp eax, dword [edx + 0xe8]
jle 0x4ba6f7
mov dword [edx + 0xe8], eax
mov edx, dword [esp + 0x5c]
xor ecx, ecx
test edi, edi
jle 0x4ba717
mov esi, dword [esp + 0x10]
inc dword [esi + 0x48]
mov eax, dword [esi + 0x48]
mov dword [edx + ecx*4], eax
inc ecx
cmp ecx, edi
jl 0x4ba705
mov esi, dword [esp + 0x78]
cmp dword [esp + 0x60], 0
je 0x4ba7b7
mov edi, dword [esi + 0xc]
mov eax, edi
mov dword [esp + 0x68], edi
cmp dword [esi + 0x10], edi
jg 0x4ba772
mov ecx, esi
call fcn.0049b560
test eax, eax
je 0x4ba76f
mov eax, dword [esi + 0xc]
mov dword [esp + 0x68], 1
mov dword [esp + 0x64], eax
jmp 0x4ba880
push ecx
call fcn.0048a660
mov edx, eax
add esp, 4
mov dword [esp + 0x5c], edx
test edx, edx
jne 0x4ba6fb
mov eax, dword [esp + 0x44]
mov byte [eax + 0x1e], 1
jmp 0x4bb4ae
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x4c]
lea ecx, [edi + edi*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 0x40
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0xc]
mov byte [esi + 0x6e], 0
mov dword [esp + 0x64], eax
jmp 0x4ba880
cmp dword [ebp + 0xc], 0
je 0x4ba880
mov edx, dword [esi + 0xc]
mov eax, edx
mov edi, dword [esp + 0x84]
mov dword [esp + 0x64], edx
cmp dword [esi + 0x10], edx
jg 0x4ba7f2
mov ecx, esi
call fcn.0049b560
test eax, eax
je 0x4ba7eb
mov dword [esp + 0x64], 1
jmp 0x4ba827
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x64]
inc eax
lea ecx, [edx + edx*4]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov edi, dword [esi + 0xc]
mov dword [esp + 0x68], edi
cmp dword [esi + 0x10], edi
jg 0x4ba848
mov ecx, esi
call fcn.0049b560
test eax, eax
je 0x4ba848
mov dword [esp + 0x68], 1
jmp 0x4ba880
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x28]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0x48]
inc ecx
mov dword [edx + 0x48], ecx
lea eax, [ecx + 1]
mov edi, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], edi
mov eax, dword [eax + 0xc]
inc eax
add eax, ecx
mov ecx, dword [esp + 0x20]
mov dword [edx + 0x48], eax
test byte [ecx + 0x22], 0x10
je 0x4ba8b8
inc edi
inc eax
mov dword [esp + 0x18], edi
mov dword [edx + 0x48], eax
mov ecx, esi
call fcn.0049b6c0
mov edx, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
test byte [edx + 0x22], 0x10
je 0x4ba924
mov eax, dword [esi + 0xc]
mov dword [esp + 0x14], eax
cmp dword [esi + 0x10], eax
jg 0x4ba8e8
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4ba920
mov eax, dword [esp + 0x14]
inc dword [esi + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 0xa
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x58]
test eax, eax
js 0x4bac64
cmp dword [esp + 0x60], 0
je 0x4ba995
mov eax, dword [esi + 0xc]
lea edi, [esi + 0xc]
mov dword [esp + 0x14], eax
cmp dword [esi + 0x10], eax
jg 0x4ba959
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4baade
mov eax, dword [esp + 0x14]
inc dword [edi]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x4c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x58]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x18]
mov word [eax + ecx*4], 0x1c
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
jmp 0x4baade
cmp dword [ebp + 0xc], 0
je 0x4ba9fd
mov eax, dword [esi + 0xc]
lea edi, [esi + 0xc]
mov dword [esp + 0x14], eax
cmp dword [esi + 0x10], eax
jg 0x4ba9bd
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4baade
mov eax, dword [esp + 0x14]
inc dword [edi]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 0xf
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x70]
mov dword [ecx + 0x10], 0
add eax, dword [esp + 0x58]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x18]
mov dword [ecx + 8], eax
mov byte [esi + 0x6e], 0
jmp 0x4baade
lea ecx, [eax + eax*4]
mov eax, dword [ebp + 8]
push edi
mov eax, dword [eax + 0xc]
mov edx, dword [eax + ecx*4]
mov ecx, dword [esp + 0x14]
call fcn.004aaf70
add esp, 4
mov dword [esp + 0x3c], eax
cmp eax, edi
je 0x4baa7c
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0xc]
test edi, edi
je 0x4baa7c
mov eax, dword [edi + 0xc]
mov dword [esp + 0x14], eax
cmp dword [edi + 0x10], eax
jg 0x4baa44
mov ecx, edi
call fcn.0049b560
test eax, eax
jne 0x4baa7c
mov eax, dword [esp + 0x14]
inc dword [edi + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x14]
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov word [eax + ecx*4], 0xf
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [edi + 0x6e], 0
mov eax, dword [esi + 0xc]
lea edi, [esi + 0xc]
test eax, eax
jne 0x4baa8d
mov eax, 0x5353f0
jmp 0x4baaae
lea ecx, [eax + eax*4]
mov eax, dword [esi]
shl ecx, 2
cmp byte [eax + 0x1e], 0
je 0x4baaa2
mov eax, 0x5353f0
jmp 0x4baaae
mov eax, dword [esi + 0x14]
add ecx, 0xffffffec
add eax, ecx
mov ecx, edi
je 0x4baadc
cmp byte [eax], 0xa
mov ecx, edi
jne 0x4baadc
mov edx, dword [esp + 0x20]
test byte [edx + 0x22], 0x10
mov edx, dword [esp + 0x18]
jne 0x4baadc
mov ecx, dword [esp + 0x40]
mov byte [eax], 0x35
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], 0
jmp 0x4bad16
mov edi, ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [edi]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x28], edx
test byte [ecx + 0x22], 0x10
mov ecx, edx
jne 0x4babbc
cmp eax, edx
jg 0x4bab16
mov ecx, esi
call fcn.0049b560
test eax, eax
je 0x4bab10
mov dword [esp + 0x28], 1
jmp 0x4bab50
mov ecx, dword [edi]
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x18]
mov word [eax + ecx*4], 0x4a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [edi]
mov eax, ecx
mov dword [esp + 0x14], ecx
cmp dword [esi + 0x10], ecx
jg 0x4bab6e
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4baba6
mov eax, dword [edi]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [edi], eax
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov word [eax + ecx*4], 0x35
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov edx, dword [edi]
mov eax, dword [esp + 0x28]
cmp edx, eax
jle 0x4bac0a
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 8], edx
jmp 0x4bac0a
cmp eax, edx
jg 0x4babd1
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4bac0a
mov ecx, dword [edi]
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [edi], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 0x49
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x18]
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], eax
lea eax, [edx + 2]
mov dword [ecx + 8], eax
mov byte [esi + 0x6e], 0
mov eax, dword [edi]
mov dword [esp + 0x14], eax
cmp dword [esi + 0x10], eax
jg 0x4bac28
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4bad1e
mov eax, dword [esp + 0x14]
inc dword [edi]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x18]
mov word [eax + ecx*4], 0x15
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
jmp 0x4bad1e
test byte [edx + 0x22], 0x10
lea ecx, [esi + 0x10]
mov eax, dword [esi + 0xc]
lea edi, [esi + 0xc]
mov dword [esp + 0x28], ecx
mov ecx, dword [ecx]
mov dword [esp + 0x3c], eax
je 0x4baccc
cmp ecx, eax
jg 0x4bac90
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4bacc7
mov eax, dword [esp + 0x3c]
inc dword [edi]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x18]
mov word [eax + ecx*4], 0xa
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
lea ecx, [esi + 0x10]
jmp 0x4bad25
cmp ecx, eax
jg 0x4bacdf
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4bad16
mov eax, dword [esp + 0x3c]
inc dword [edi]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov word [eax + ecx*4], 0x35
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov dword [esp + 0x50], 1
lea ecx, [esi + 0x10]
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x20]
xor edx, edx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x34], edx
cmp dword [eax + 0xc], edx
jle 0x4bb052
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x98], 0xffffffff
jmp 0x4bad64
mov ecx, dword [esp + 0x28]
add eax, edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
cmp edx, dword [eax + 8]
jne 0x4badcc
mov eax, dword [edi]
mov dword [esp + 0x14], eax
cmp dword [ecx], eax
jg 0x4bad90
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4bb031
mov eax, dword [esp + 0x14]
inc dword [edi]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x18]
mov word [eax + ecx*4], 0xa
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
jmp 0x4bb031
cmp dword [ebp + 0x10], 0
jne 0x4bae01
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x38]
mov cl, byte [eax + ecx + 0x17]
mov eax, dword [esp + 0x3c]
sub edx, eax
test cl, cl
cmovne edx, dword [esp + 0x98]
inc eax
test cl, cl
cmove eax, dword [esp + 0x3c]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x10]
add eax, 4
jmp 0x4bae3c
mov eax, dword [ebp + 0x10]
xor edx, edx
lea ecx, [eax + 4]
mov dword [esp + 0x48], edx
cmp dword [ecx], edx
jle 0x4bae4d
mov eax, dword [eax]
mov esi, dword [esp + 0x34]
add eax, 4
nop word [eax + eax]
mov dword [esp + 0x14], ecx
cmp dword [eax], esi
je 0x4bae34
inc edx
mov dword [esp + 0x14], ecx
add eax, 8
cmp edx, dword [ecx]
jl 0x4bae20
mov esi, dword [esp + 0x78]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x48], edx
mov ecx, eax
test edx, edx
js 0x4baf9e
mov eax, dword [ebp + 0x10]
cmp dword [esp + 0x54], 0
je 0x4baf9e
test eax, eax
je 0x4bae64
cmp edx, dword [ecx]
jge 0x4baf9e
cmp dword [esp + 0x60], 0
je 0x4baec8
mov ecx, dword [esp + 0x28]
mov eax, dword [edi]
mov dword [esp + 0x14], eax
cmp dword [ecx], eax
jg 0x4bae8c
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4bb031
mov eax, dword [esp + 0x14]
inc dword [edi]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x4c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x18]
mov word [eax + ecx*4], 0x1c
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
jmp 0x4bb031
cmp dword [ebp + 0xc], 0
je 0x4baf2f
mov ecx, dword [esp + 0x28]
mov eax, dword [edi]
mov dword [esp + 0x14], eax
cmp dword [ecx], eax
jg 0x4baeef
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4bb031
mov eax, dword [esp + 0x14]
inc dword [edi]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 0xf
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x70]
mov dword [ecx + 0x10], 0
add eax, dword [esp + 0x48]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x18]
mov dword [ecx + 8], eax
mov byte [esi + 0x6e], 0
jmp 0x4bb031
mov eax, dword [ebp + 8]
lea ecx, [edx + edx*4]
push dword [esp + 0x18]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + ecx*4]
mov ecx, dword [esp + 0x14]
call fcn.004aaf70
add esp, 4
mov dword [esp + 0x7c], eax
cmp eax, dword [esp + 0x18]
je 0x4bb031
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x14], edx
test edx, edx
je 0x4bb031
mov eax, dword [edx + 0xc]
mov dword [esp + 0x48], eax
cmp dword [edx + 0x10], eax
jg 0x4baf8f
mov ecx, edx
call fcn.0049b560
test eax, eax
jne 0x4bb031
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x48]
inc dword [edx + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x14]
mov edx, dword [esp + 0x7c]
jmp 0x4bb002
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
push dword [esp + 0x18]
mov eax, dword [eax + 0x10]
mov edx, dword [eax + ecx + 4]
mov ecx, dword [esp + 0x14]
call fcn.004aaf70
add esp, 4
mov dword [esp + 0x48], eax
cmp eax, dword [esp + 0x18]
je 0x4bb031
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x14], edx
test edx, edx
je 0x4bb031
mov eax, dword [edx + 0xc]
mov dword [esp + 0x7c], eax
cmp dword [edx + 0x10], eax
jg 0x4baff5
mov ecx, edx
call fcn.0049b560
test eax, eax
jne 0x4bb031
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x7c]
inc dword [edx + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x14]
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x14]
mov word [eax + ecx*4], 0xf
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [edx + 0x6e], 0
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
inc edx
add dword [esp + 0x38], 0x18
mov eax, dword [esp + 0x30]
mov dword [esp + 0x34], edx
cmp edx, dword [ecx + 0xc]
jl 0x4bad60
jmp 0x4bb054
mov ecx, eax
test byte [ecx + 0x22], 0x10
je 0x4bb114
mov eax, dword [ecx + 0x30]
mov dword [esp + 0x50], eax
test eax, eax
je 0x4bb07f
mov edx, dword [esp + 0x44]
nop dword [eax]
cmp dword [eax], edx
je 0x4bb07b
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x4bb070
mov dword [esp + 0x50], eax
mov edx, ecx
mov ecx, dword [esp + 0x10]
call fcn.004ce7e0
mov ecx, dword [esp + 0x20]
mov edx, dword [edi]
mov dword [esp + 0x14], edx
mov eax, dword [ecx + 0xc]
add eax, 2
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x28]
cmp dword [eax], edx
jg 0x4bb0bc
mov ecx, esi
call fcn.0049b560
test eax, eax
je 0x4bb0b8
mov edx, 1
jmp 0x4bb0f7
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x14]
lea ecx, [edx + edx*4]
inc dword [edi]
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 0xc], edx
mov edx, dword [esp + 0x14]
mov word [eax + ecx*4], 0x81
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
push 0xfffffffffffffff6
push dword [esp + 0x54]
mov ecx, esi
call fcn.0049bbc0
mov eax, dword [esp + 0x18]
add esp, 8
mov byte [eax + 0x159], 1
jmp 0x4bb172
lea eax, [esp + 0x30]
mov edx, ecx
mov ecx, dword [esp + 0x10]
push eax
push dword [esp + 0x20]
mov eax, dword [esp + 0x60]
push dword [ebp + 0x14]
not eax
push 0
shr eax, 0x1f
push eax
push dword [esp + 0x70]
push dword [esp + 0x44]
push dword [esp + 0x5c]
call fcn.004bb5b0
mov edx, dword [esp + 0x40]
xor eax, eax
cmp dword [esp + 0x50], eax
mov ecx, dword [esp + 0x30]
sete al
push eax
push dword [esp + 0x74]
push 0
push dword [esp + 0x88]
push dword [esp + 0x5c]
push dword [esp + 0x74]
call fcn.004bc1e0
add esp, 0x38
mov eax, dword [esp + 0x44]
test byte [eax + 0xc], 0x80
je 0x4bb1d0
mov ecx, dword [esp + 0x28]
mov eax, dword [edi]
mov dword [esp + 0x30], eax
cmp dword [ecx], eax
jg 0x4bb199
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4bb1d0
mov eax, dword [esp + 0x30]
inc dword [edi]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x74]
mov word [eax + ecx*4], 0x14
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x4bb1e8
mov eax, dword [esp + 0x1c]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi]
mov dword [ecx], eax
cmp dword [esp + 0x60], 0
je 0x4bb2ba
mov edx, dword [esp + 0x28]
mov ecx, dword [edi]
mov eax, ecx
mov dword [esp + 0x30], ecx
cmp dword [edx], ecx
jg 0x4bb214
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4bb24c
mov eax, dword [edi]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x4c]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [edi], eax
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x64]
mov word [eax + ecx*4], 0x42
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov edx, dword [edi]
mov eax, dword [esp + 0x68]
cmp edx, eax
jle 0x4bb260
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov ecx, dword [esp + 0x28]
mov eax, dword [edi]
mov dword [esp + 0x30], eax
cmp dword [ecx], eax
jg 0x4bb281
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4bb32d
mov eax, dword [esp + 0x30]
inc dword [edi]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x4c]
mov word [eax + ecx*4], 0x2a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
jmp 0x4bb32d
cmp dword [ebp + 0xc], 0
je 0x4bb32d
mov edx, dword [esp + 0x28]
mov ecx, dword [edi]
mov eax, ecx
mov dword [esp + 0x30], ecx
cmp dword [edx], ecx
jg 0x4bb2e1
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4bb319
mov eax, dword [edi]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x64]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [edi], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov edx, dword [edi]
mov eax, dword [esp + 0x68]
cmp edx, eax
jle 0x4bb32d
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov eax, dword [esp + 0x20]
test byte [eax + 0x22], 0x10
jne 0x4bb418
mov ecx, dword [esp + 0x28]
mov eax, dword [edi]
mov dword [esp + 0x30], eax
cmp dword [ecx], eax
jg 0x4bb358
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4bb391
mov eax, dword [esp + 0x30]
inc dword [edi]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x40]
mov word [eax + ecx*4], 0x2a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
jmp 0x4bb395
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4bb418
inc edx
mov dword [esp + 0x50], edx
nop dword [eax]
mov ecx, dword [esp + 0x28]
mov eax, dword [edi]
mov dword [esp + 0x30], eax
cmp dword [ecx], eax
jg 0x4bb3d1
mov ecx, esi
call fcn.0049b560
mov edx, dword [esp + 0x50]
test eax, eax
jne 0x4bb404
mov eax, dword [esp + 0x30]
inc dword [edi]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 0x2a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esp + 0x1c]
inc edx
mov dword [esp + 0x50], edx
mov ecx, dword [ecx + 0x20]
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x4bb3b0
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x44]
test byte [eax + 0xc], 0x80
je 0x4bb4ae
cmp byte [edi + 0x13], 0
jne 0x4bb4ae
cmp dword [edi + 0x1a4], 0
jne 0x4bb4ae
mov edi, dword [esi + 0xc]
cmp dword [esi + 0x10], edi
jg 0x4bb44c
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4bb484
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x74]
mov word [eax + ecx*4], 0x10
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov edx, 1
mov ecx, esi
call fcn.0049c110
mov eax, dword [esi]
cmp byte [eax + 0x1e], 0
jne 0x4bb4ae
mov ecx, dword [esi + 0x28]
mov edx, 0x522d54
push 0
push 1
push 0xffffffffffffffff
call fcn.0049a890
add esp, 0xc
mov esi, dword [esp + 0x44]
mov ecx, esi
mov edx, dword [esp + 0x6c]
call fcn.004b49f0
mov edx, dword [ebp + 8]
mov ecx, esi
call fcn.004a8dc0
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x4bb4e1
mov edx, edi
mov ecx, esi
call fcn.004c1870
push edi
push esi
call fcn.0048a750
add esp, 8
mov edx, dword [ebp + 0x10]
mov ecx, esi
call fcn.004b4390
mov edi, dword [esp + 0x5c]
test esi, esi
je 0x4bb525
test edi, edi
je 0x4bb59b
cmp edi, dword [esi + 0xf0]
jb 0x4bb529
cmp edi, dword [esi + 0xf4]
jae 0x4bb529
mov eax, dword [esi + 0xec]
mov dword [edi], eax
dec dword [esi + 0xe4]
mov dword [esi + 0xec], edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x4bb59b
cmp dword [0x532cd8], 0
je 0x4bb591
mov eax, dword [0x535520]
test eax, eax
je 0x4bb545
push eax
call dword [0x532d20]
add esp, 4
push edi
call dword [0x532cfc]
mov ecx, dword [0x5353a8]
neg eax
add ecx, eax
add esp, 4
mov eax, dword [0x5353cc]
cmp ecx, eax
mov dword [0x5353a8], ecx
cmovg eax, ecx
push edi
mov dword [0x5353cc], eax
call dword [0x532cf4]
mov eax, dword [0x535520]
add esp, 4
test eax, eax
je 0x4bb59b
push eax
call dword [0x532d28]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push edi
call dword [0x532cf4]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret