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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
mov eax, dword [0x609e44]
xor eax, esp
mov dword [esp + 0xd4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x28]
push edi
mov edi, ecx
mov dword [esp + 0xac], eax
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x30]
mov esi, dword [edi + 8]
mov dword [esp + 0x60], eax
mov eax, dword [edi]
mov dword [esp + 0xc], edx
mov dword [esp + 8], edi
mov dword [esp + 0x80], 0
mov dword [esp + 0x78], 0
mov byte [esp + 0x1f], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x64], eax
mov dword [esp + 0x34], esi
test esi, esi
jne 0x4b7f48
cmp dword [edi + 0x74], esi
jne 0x4b7f39
test byte [eax + 0x4c], 8
jne 0x4b7f39
mov byte [edi + 0x17], 1
call fcn.0047a090
mov edx, dword [esp + 0xc]
mov esi, eax
mov dword [esp + 0x34], esi
movsx eax, word [edx + 0x2a]
mov ecx, dword [edx + 0x24]
mov dword [esp + 0x10], eax
test cl, cl
js 0x4b7f69
mov dword [esp + 0x28], 0
mov dword [esp + 0x74], 1
jmp 0x4b7f9a
mov eax, dword [edx + 8]
mov dword [esp + 0x28], eax
test eax, eax
je 0x4b7f92
mov esi, eax
mov eax, dword [esi + 0x38]
and al, 3
cmp al, 2
je 0x4b7f86
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x4b7f76
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
movzx eax, word [eax + 0x32]
mov dword [esp + 0x74], eax
test ecx, 0x800
je 0x4b831f
xor eax, eax
xor edi, edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x2c], edi
mov ecx, dword [esp + 0x10]
nop word [eax + eax]
xor edx, edx
mov dword [esp + 0x44], edx
test ecx, ecx
jle 0x4b82cc
mov eax, dword [esp + 0x10]
xor edi, edi
mov dword [esp + 0x3c], edi
nop dword [eax + eax]
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + 4]
add ecx, edi
mov dword [esp + 0x18], ecx
movzx edi, byte [ecx + 0xc]
test edi, edi
je 0x4b82a2
mov eax, dword [esp + 0xc]
movsx eax, word [eax + 0x28]
cmp edx, eax
je 0x4b829e
movzx eax, word [ecx + 0x10]
and eax, 0x60
je 0x4b8022
cmp dword [esp + 0x38], 0
jne 0x4b8022
inc dword [esp + 0x2c]
jmp 0x4b829e
cmp dword [esp + 0x40], 0
mov ecx, dword [esp + 0x18]
je 0x4b8043
mov ecx, dword [esp + 0x40]
cmp dword [ecx + edx*4], 0
mov ecx, dword [esp + 0x18]
jge 0x4b8043
test eax, eax
je 0x4b829e
cmp byte [ebp + 0x20], 0xb
mov edx, dword [esp + 0x44]
je 0x4b806a
movzx edi, byte [ebp + 0x20]
cmp edi, 5
jne 0x4b8074
cmp dword [esp + 0x38], 0
jne 0x4b8063
cmp dword [ecx + 4], 0
jne 0x4b8083
mov edi, 2
jmp 0x4b8083
cmp edi, 0xb
jne 0x4b8051
mov edi, 2
cmp dword [esp + 0x38], 0
je 0x4b8083
test eax, eax
je 0x4b829e
mov ecx, dword [esp + 0xc]
call fcn.004a3960
mov edx, dword [ebp + 0x14]
cwde
inc edx
add edx, eax
lea eax, [edi - 1]
mov dword [esp + 0x24], edx
cmp eax, 4
ja case.0x4b80a3.4
jmp dword [eax*4 + 0x4b9e18]
mov edi, dword [esi + 0x6c]
cmp dword [esi + 0x70], edi
jg 0x4b80ca
push 0
push 0
push edx
mov edx, 0x33
mov ecx, esi
call fcn.0047a300
add esp, 0xc
mov edi, eax
jmp 0x4b80fd
lea eax, [edi + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x33
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 [esp + 0x18]
inc dword [esp + 0x54]
mov edx, dword [eax + 4]
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
test edx, edx
je 0x4b8128
push 0
push 0
call fcn.00492790
mov ecx, dword [esp + 0x28]
add esp, 8
jmp 0x4b812a
xor eax, eax
cmp byte [ecx + 0x51], 0
mov dword [esp + 0x48], eax
jne 0x4b814b
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 8]
push edx
mov edx, eax
call fcn.004996c0
mov ecx, dword [esp + 0x24]
add esp, 4
mov edx, dword [esp + 0x48]
test edx, edx
je 0x4b8158
call fcn.00492560
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4b8170
mov eax, 0x60d7e0
mov dword [eax + 8], edx
jmp 0x4b829e
test edi, edi
lea eax, [edx - 1]
cmovns eax, edi
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4b829e
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov eax, dword [esp + 0x18]
push dword [eax]
mov eax, dword [esp + 0x10]
push dword [eax]
push str._s._s
push dword [esp + 0x70]
call fcn.0045aa50
mov ecx, dword [esi + 0x6c]
add esp, 0x10
mov edx, dword [esp + 0x24]
mov dword [esp + 0x20], eax
cmp dword [esi + 0x70], ecx
jg 0x4b81df
push edx
push edi
push 0x513
mov edx, 0x43
mov ecx, esi
call fcn.0047a300
add esp, 0xc
jmp 0x4b820a
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x43
mov dword [eax + ecx*4 + 4], 0x513
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi]
mov edx, dword [esp + 0x20]
cmp byte [ecx + 0x51], 0
je 0x4b8226
push edx
mov edx, 0xfffffff9
call fcn.0047af00
add esp, 4
jmp 0x4b8238
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf9
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x4b829e
lea ecx, [eax + eax*4]
mov edx, 1
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x4b829e
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4b8270
push 0
push dword [ebp + 0x24]
mov ecx, esi
push edx
mov edx, 0x32
call fcn.0047a300
add esp, 0xc
jmp 0x4b829e
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp + 0x24]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x44]
mov edi, dword [esp + 0x3c]
inc ecx
add edi, 0x14
mov dword [esp + 0x44], ecx
mov dword [esp + 0x3c], edi
mov edx, ecx
cmp ecx, eax
jl 0x4b7fe0
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x54]
test edi, edi
jne 0x4b82d8
test edx, edx
je 0x4b8317
test eax, eax
jne 0x4b8317
mov eax, 1
mov dword [esp + 0x38], eax
test edx, edx
jle 0x4b7fc0
mov edx, dword [esp + 0xc]
test byte [edx + 0x24], 0x60
je 0x4b7fc0
mov ecx, dword [esp + 8]
push edx
mov edx, dword [ebp + 0x14]
lea edx, [edx + 1]
call fcn.004b5a40
mov eax, dword [esp + 0x3c]
add esp, 4
jmp 0x4b7fb6
mov edi, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, dword [edx + 0x18]
mov dword [esp + 0x68], ecx
test ecx, ecx
je 0x4b85b1
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 0x20]
and eax, 0x200
or eax, 0
jne 0x4b85b1
mov eax, dword [ebp + 0x14]
not eax
mov dword [edi + 0x34], eax
mov al, byte [ebp + 0x20]
movzx edi, al
cmp al, 0xb
jne 0x4b835a
mov edi, 2
xor edx, edx
mov dword [esp + 0x18], edx
cmp dword [ecx], edx
jle 0x4b85a6
lea eax, [ecx + 8]
mov dword [esp + 0x2c], eax
nop
mov ecx, dword [esp + 0x40]
mov eax, dword [eax - 4]
mov dword [esp + 0x90], eax
test ecx, ecx
je 0x4b83e8
mov dword [esp + 0xc8], 0
xorps xmm0, xmm0
movaps xmmword [esp + 0xb0], xmm0
movq qword [esp + 0xc0], xmm0
mov dword [esp + 0xb4], 0x4b7e40
mov dword [esp + 0xc8], ecx
test eax, eax
je 0x4b83c9
mov edx, eax
lea ecx, [esp + 0xb0]
call fcn.0048e580
mov edx, dword [esp + 0x18]
cmp byte [ebp + 0x1c], 0
mov ax, word [esp + 0xc4]
jne 0x4b83df
mov ecx, 0xfffd
and ax, cx
test ax, ax
je 0x4b858a
cmp byte [esp + 0x1f], 0
jne 0x4b8407
mov eax, dword [ebp + 0x14]
mov ecx, esi
mov edx, dword [esp + 0xc]
inc eax
push eax
call fcn.004b58c0
add esp, 4
mov byte [esp + 0x1f], 1
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x90]
dec dword [eax + 0x38]
mov ecx, dword [eax + 0x38]
mov dword [esp + 0x48], ecx
test edx, edx
je 0x4b8436
mov ecx, dword [esp + 0x64]
push 0
push 0
call fcn.00492790
mov ecx, dword [esp + 0x50]
add esp, 8
jmp 0x4b8438
xor eax, eax
mov edx, dword [esp + 0x64]
mov dword [esp + 0x20], eax
cmp byte [edx + 0x51], 0
jne 0x4b8456
push 0x10
push ecx
push eax
push dword [esp + 0x14]
call fcn.00499bd0
add esp, 0x10
mov edx, dword [esp + 0x20]
test edx, edx
je 0x4b8467
mov ecx, dword [esp + 0x64]
call fcn.00492560
cmp edi, 4
jne 0x4b84c4
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4b848d
push 0
push dword [ebp + 0x24]
lea edx, [edi + 7]
mov ecx, esi
push 0
call fcn.0047a300
add esp, 0xc
jmp 0x4b855f
mov edx, dword [ebp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
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
jmp 0x4b855f
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx]
mov dword [esp + 0x20], ecx
test ecx, ecx
jne 0x4b84dc
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 8]
cmp edi, 5
mov eax, 2
cmove edi, eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x4b8514
cmp dword [ecx + 0x74], eax
jne 0x4b8507
mov eax, dword [ecx]
test byte [eax + 0x4c], 8
jne 0x4b8507
mov byte [ecx + 0x17], 1
call fcn.0047a090
mov ecx, dword [esp + 8]
mov dword [esp + 0x24], eax
cmp edi, 2
jne 0x4b8525
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov ecx, dword [esp + 0x24]
mov edx, 0x44
push 0
push dword [esp + 0x24]
push 0
push edi
push 0x113
call fcn.0047a620
mov eax, dword [esp + 0x38]
add esp, 0x14
mov ecx, dword [eax + 0x6c]
test ecx, ecx
jle 0x4b855f
mov eax, dword [eax + 0x68]
lea ecx, [ecx + ecx*4]
mov edx, 3
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x48]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4b857d
push edx
mov edx, esi
call fcn.0047aae0
add esp, 4
jmp 0x4b8586
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x68]
inc edx
mov eax, dword [esp + 0x2c]
add eax, 0x14
mov dword [esp + 0x18], edx
mov dword [esp + 0x2c], eax
cmp edx, dword [ecx]
jl 0x4b8370
mov edi, dword [esp + 8]
mov dword [edi + 0x34], 0
mov edx, dword [esp + 0x60]
test edx, edx
je 0x4b8631
cmp dword [edx], 0
jne 0x4b85cc
mov byte [ebp + 0x20], 4
mov dword [esp + 0x60], 0
jmp 0x4b8631
mov eax, dword [edx + 0x10]
mov dword [esp + 0x78], eax
test eax, eax
je 0x4b8631
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x7c], edx
cmp dword [esi + 0x70], edx
jg 0x4b85fe
push 0
push 0
push 0
mov edx, 0xb
mov ecx, esi
call fcn.0047a300
add esp, 0xc
mov dword [esp + 0x7c], eax
jmp 0x4b8631
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
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 eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x94], eax
mov eax, ecx
and eax, 0x6000
or eax, 0
jne 0x4b865b
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
jmp 0x4b875c
and ecx, 0x2000
or ecx, 0
je 0x4b86d3
mov ecx, dword [esp + 8]
xor edx, edx
xor edi, edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
and eax, 0x40000
or eax, edx
je 0x4b8687
mov edx, dword [esp + 0xc]
call fcn.004d1030
mov edx, eax
mov ecx, edx
test edx, edx
je 0x4b86a3
nop dword [eax]
cmp byte [ecx + 8], 0x7e
jne 0x4b869c
movzx eax, byte [ecx + 9]
or edi, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x4b8690
xor eax, eax
test edi, edi
mov edi, dword [esp + 8]
cmovne eax, edx
mov dword [esp + 0x54], eax
test eax, eax
jne 0x4b86f7
mov edx, dword [esp + 0xc]
mov ecx, edi
push eax
push eax
call fcn.004b49b0
add esp, 8
test eax, eax
jne 0x4b86f7
mov dword [esp + 0x58], eax
jmp 0x4b875c
mov edx, dword [esp + 0xc]
mov ecx, edi
push 0
push 0
mov dword [esp + 0x5c], 0
call fcn.004b49b0
mov edx, eax
add esp, 8
mov dword [esp + 0x58], edx
test edx, edx
je 0x4b875c
inc dword [edi + 0x2c]
mov ecx, dword [esi + 0x6c]
mov edx, dword [edi + 0x2c]
mov dword [esp + 0x58], edx
cmp dword [esi + 0x70], ecx
jg 0x4b871f
push 0
push edx
push 0
mov edx, 0x45
mov ecx, esi
call fcn.0047a300
add esp, 0xc
jmp 0x4b8752
mov edi, dword [esp + 8]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x45
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
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
mov dword [esp + 0x5c], eax
cmp byte [ebp + 0x1c], 0
je 0x4b8b53
cmp dword [esp + 0x28], 0
jne 0x4b8b53
mov ecx, dword [esp + 0xc]
dec dword [edi + 0x38]
mov dl, byte [ebp + 0x20]
mov edi, dword [edi + 0x38]
movzx eax, byte [ecx + 0x32]
cmp dl, 0xb
je 0x4b878c
movzx eax, dl
jmp 0x4b8797
cmp eax, 0xb
mov esi, 2
cmove eax, esi
cmp dword [esp + 0x60], 0
mov esi, dword [esp + 0x34]
mov dword [esp + 0x24], eax
je 0x4b87cd
mov esi, dword [esp + 0x60]
cmp dword [esi + 0x10], 0
mov esi, dword [esp + 0x34]
jne 0x4b87cd
mov ecx, dword [esp + 0x60]
xor eax, eax
cmp dword [ecx + 8], eax
setne al
lea eax, [eax*2 + 4]
mov dword [esp + 0x24], eax
jmp 0x4b883c
cmp eax, 5
jne 0x4b883c
cmp dl, al
je 0x4b883c
cmp dword [ecx + 8], 0
je 0x4b883c
mov edx, dword [esi + 0x6c]
cmp dword [esi + 0x70], edx
jg 0x4b87fb
push 0
push 0
push 0
lea edx, [eax + 6]
mov ecx, esi
call fcn.0047a300
add esp, 0xc
mov edx, eax
jmp 0x4b8832
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4], 0xb
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
lea eax, [edx + 1]
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4b88a5
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4b8861
push eax
push edi
push dword [ebp + 0x14]
mov edx, 0x35
mov ecx, esi
call fcn.0047a300
add esp, 0xc
jmp 0x4b888e
mov edx, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp + 0x18]
mov dword [eax + ecx*4], 0x35
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x4b88a5
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4b88c5
push dword [ebp + 0x14]
mov edx, 0x20
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.0047a300
add esp, 0xc
jmp 0x4b88f2
mov edx, dword [ebp + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + ecx*4], 0x20
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x24]
lea eax, [edx - 1]
cmp eax, 5
ja case.default.0x4b8902
jmp dword [eax*4 + 0x4b9e2c]
cmp dword [esp + 0x58], 0
mov edx, dword [esp + 0xc]
je 0x4b89d3
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
push 1
push 5
mov eax, dword [ecx + 0x74]
test eax, eax
push 0
push 1
push dword [ebp + 0x14]
cmovne ecx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov byte [ecx + 0x14], 1
push dword [esp + 0x74]
mov ecx, dword [esp + 0x2c]
call fcn.004ae270
mov ecx, dword [esi + 0x6c]
add esp, 0x24
cmp dword [esi + 0x70], ecx
jg 0x4b8985
push 0
push 1
push dword [esp + 0x60]
mov edx, 0x52
mov ecx, esi
call fcn.0047a300
add esp, 0xc
mov dword [esp + 0x8c], 1
mov dword [esp + 0x80], 1
jmp 0x4b8a91
mov edx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [esp + 0x8c], 1
mov dword [esp + 0x80], 1
mov dword [eax + ecx*4], 0x52
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
jmp 0x4b8a91
cmp dword [edx + 8], 0
je 0x4b89ff
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
push 0
push dword [ebp + 0x10]
mov eax, dword [ecx + 0x74]
test eax, eax
push dword [ebp + 0xc]
cmovne ecx, eax
mov byte [ecx + 0x14], 1
mov ecx, dword [esp + 0x18]
call fcn.004ae7e0
add esp, 0x10
mov dword [esp + 0x80], 1
jmp 0x4b8a91
push dword [ebp + 0xc]
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0xc]
push 0
push dword [esp + 0x14]
call fcn.004d6870
add esp, 0xc
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4b8a48
push 0
push dword [ebp + 0x24]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.0047a300
add esp, 0xc
jmp 0x4b8a91
mov edx, dword [ebp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
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
jmp 0x4b8a91
mov edx, 2
push dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
call fcn.004ab6e0
add esp, 4
mov ecx, dword [esi + 0xc]
not edi
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4b8aab
push edi
mov edx, esi
call fcn.0047aae0
add esp, 4
jmp 0x4b8ab4
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edi*4], eax
cmp dword [esp + 0x88], 0
je 0x4b8b53
mov edi, dword [esi + 0x6c]
mov dword [esp + 0xa8], edi
cmp dword [esi + 0x70], edi
jg 0x4b8aef
push 0
push 0
push 0
mov edx, 0xb
mov ecx, esi
call fcn.0047a300
add esp, 0xc
mov dword [esp + 0xa8], eax
jmp 0x4b8b22
lea eax, [edi + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
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 eax, dword [esi]
mov edi, dword [esp + 0x88]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
lea ecx, [edi - 1]
je 0x4b8b3e
mov eax, 0x60d7e8
jmp 0x4b8b51
test ecx, ecx
mov eax, edx
cmovns eax, edi
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
add eax, 0xfffffff4
mov dword [eax], edx
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x10], 0
mov dword [esp + 0x40], ecx
mov eax, dword [edi + 8]
mov dword [esp + 0x14], eax
test eax, eax
je 0x4b8fa2
mov edx, dword [esp + 0x30]
mov dword [esp + 0x40], ecx
xor ecx, ecx
cmp dword [edx + ecx*4], 0
je 0x4b8f8e
mov ecx, dword [esp + 0x78]
cmp ecx, eax
jne 0x4b8c3f
mov eax, dword [esp + 0x7c]
mov edi, dword [esi + 0x6c]
inc eax
mov dword [esp + 0x50], eax
mov dword [esp + 0xa4], edi
cmp dword [esi + 0x70], edi
jg 0x4b8bcc
push 0
push 0
push 0
mov edx, 0xb
mov ecx, esi
call fcn.0047a300
add esp, 0xc
mov dword [esp + 0xa4], eax
jmp 0x4b8bff
lea eax, [edi + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
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 eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4b8c1c
mov edi, dword [esp + 8]
mov eax, 0x60d7e0
mov ecx, dword [esp + 0x78]
mov dword [eax + 8], edx
jmp 0x4b8c4d
mov ecx, dword [esp + 0x7c]
lea eax, [edx - 1]
mov edi, dword [esp + 8]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x78]
jmp 0x4b8c4d
mov edi, dword [esp + 8]
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
mov dword [esp + 0x50], eax
cmp byte [esp + 0x1f], 0
jne 0x4b8c76
test ecx, ecx
je 0x4b8c5e
cmp ecx, dword [esp + 0x14]
jne 0x4b8c76
mov eax, dword [ebp + 0x14]
mov ecx, esi
mov edx, dword [esp + 0xc]
inc eax
push eax
call fcn.004b58c0
add esp, 4
mov byte [esp + 0x1f], 1
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
cmp dword [ecx + 0x24], 0
je 0x4b8d50
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 0x6c]
mov edx, dword [eax + edx*4]
cmp dword [esi + 0x70], ecx
jg 0x4b8cad
push 0
push edx
push 0
mov edx, 0x48
mov ecx, esi
call fcn.0047a300
add esp, 0xc
jmp 0x4b8ce0
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x48
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 eax, dword [ebp + 0x14]
not eax
mov dword [edi + 0x34], eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x24]
mov eax, dword [edi]
mov dword [esp + 0x20], eax
test edx, edx
je 0x4b8d13
push 0
push 0
mov ecx, eax
call fcn.00492790
mov edi, eax
add esp, 8
mov eax, dword [esp + 0x20]
jmp 0x4b8d15
xor edi, edi
cmp byte [eax + 0x51], 0
jne 0x4b8d32
push 0x10
push dword [esp + 0x54]
push edi
push dword [esp + 0x14]
call fcn.0049a0f0
mov eax, dword [esp + 0x30]
add esp, 0x10
test edi, edi
je 0x4b8d3f
mov edx, edi
mov ecx, eax
call fcn.00492560
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x10]
mov dword [eax + 0x34], 0
jmp 0x4b8d59
mov eax, dword [ebp + 0x14]
not eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax + edx*4]
xor edx, edx
mov dword [esp + 0x90], eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x68], edx
lea edi, [eax + 1]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], edi
movzx eax, word [eax + 0x34]
mov ecx, eax
cmp dx, ax
jae 0x4b8ee6
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
movzx edx, word [eax + edx*2]
movsx ecx, dx
cmp ecx, 0xfffffffe
jne 0x4b8e1f
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x24]
mov dword [ecx + 0x34], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x28]
mov edx, dword [eax + edx + 4]
mov eax, dword [ecx]
mov dword [esp + 0x20], eax
test edx, edx
je 0x4b8de4
push 0
push 0
mov ecx, eax
call fcn.00492790
mov ecx, dword [esp + 0x10]
mov edi, eax
mov eax, dword [esp + 0x28]
add esp, 8
jmp 0x4b8de6
xor edi, edi
cmp byte [eax + 0x51], 0
jne 0x4b8dfe
push dword [esp + 0x18]
mov edx, edi
call fcn.004996c0
mov eax, dword [esp + 0x24]
add esp, 4
test edi, edi
je 0x4b8e0b
mov edx, edi
mov ecx, eax
call fcn.00492560
mov eax, dword [esp + 8]
mov edi, dword [esp + 0x18]
mov dword [eax + 0x34], 0
jmp 0x4b8ec3
cmp ecx, 0xffffffff
je 0x4b8e76
mov eax, dword [esp + 0xc]
movsx eax, word [eax + 0x28]
cmp ecx, eax
je 0x4b8e76
mov ecx, dword [esp + 0xc]
call fcn.004a3960
mov edx, dword [ebp + 0x14]
mov ecx, dword [esi + 0x6c]
inc edx
cwde
add edx, eax
cmp dword [esi + 0x70], ecx
jg 0x4b8e5d
push 0
push edi
push edx
mov edx, 0x4e
mov ecx, esi
call fcn.0047a300
add esp, 0xc
jmp 0x4b8ec3
mov edi, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x4e
jmp 0x4b8eab
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4b8e95
push 0
push edi
push dword [ebp + 0x14]
mov edx, 0x4f
mov ecx, esi
call fcn.0047a300
add esp, 0xc
jmp 0x4b8ec3
mov edx, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x4f
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 4], edx
mov eax, dword [esp + 0x14]
inc edi
mov edx, dword [esp + 0x2c]
add dword [esp + 0x24], 0x14
inc edx
mov dword [esp + 0x2c], edx
movzx ecx, word [eax + 0x34]
mov dword [esp + 0x18], edi
cmp edx, ecx
jl 0x4b8d93
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
movzx edi, cx
mov ecx, dword [esi + 0x6c]
mov edx, dword [edx + eax*4]
cmp dword [esi + 0x70], ecx
jg 0x4b8f13
push edx
push edi
push dword [esp + 0x40]
mov edx, 0x5b
mov ecx, esi
call fcn.0047a300
add esp, 0xc
jmp 0x4b8f42
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x38]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x5b
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [ebp + 0x18], 0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
je 0x4b8fe1
cmp edx, ecx
jne 0x4b8fe1
cmp byte [ebp + 0x1c], 0
jne 0x4b8fe1
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x50]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4b8fd6
push edx
mov edx, esi
call fcn.0047aae0
add esp, 4
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x14]
inc ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
test eax, eax
jne 0x4b8b80
mov edx, dword [esp + 0x88]
test edx, edx
je 0x4b9ba0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4b9b40
push 0
push edx
push 0
mov edx, 0xb
mov ecx, esi
call fcn.0047a300
add esp, 0xc
jmp 0x4b9b73
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
jmp 0x4b8f7e
movzx eax, byte [ecx + 0x36]
test eax, eax
je 0x4b8f62
cmp byte [ebp + 0x20], 0xb
je 0x4b8ff9
movzx eax, byte [ebp + 0x20]
jmp 0x4b9004
cmp eax, 0xb
mov edi, 2
cmove eax, edi
mov dword [esp + 0x24], eax
cmp dword [esp + 0x78], ecx
jne 0x4b9025
mov edi, dword [esp + 0x60]
xor eax, eax
cmp dword [edi + 8], eax
setne al
lea eax, [eax*2 + 4]
mov dword [esp + 0x24], eax
cmp dword [esp + 0x10], 0
jne 0x4b9105
cmp dword [ecx + 0x14], 0
jne 0x4b9105
cmp edx, ecx
jne 0x4b9105
cmp eax, 5
jne 0x4b9105
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 0x20]
and eax, 0x2000
mov dword [esp + 0x68], eax
je 0x4b90a2
mov ecx, dword [esp + 8]
xor edx, edx
xor edi, edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
and eax, 0x40000
or eax, edx
je 0x4b907e
mov edx, dword [esp + 0xc]
call fcn.004d1030
mov edx, eax
mov ecx, edx
test edx, edx
je 0x4b90a2
cmp byte [ecx + 8], 0x7e
jne 0x4b9090
movzx eax, byte [ecx + 9]
or edi, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x4b9084
xor eax, eax
test edi, edi
cmovne eax, edx
test eax, eax
jne 0x4b9105
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0xc]
mov eax, dword [eax + 0x20]
and eax, 0x4000
mov dword [esp + 0x68], eax
je 0x4b90d6
cmp dword [edi + 0x10], 0
jne 0x4b9105
mov ecx, dword [edi + 0x48]
mov edx, dword [edi]
add ecx, 0x38
push 0
call fcn.0045cf50
add esp, 4
cmp dword [eax + 8], 0
jne 0x4b9105
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x50]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4b90f7
push edx
mov edx, esi
call fcn.0047aae0
add esp, 4
jmp 0x4b8f82
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
jmp 0x4b8f82
mov eax, dword [esp + 0x14]
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x44], edx
movzx edi, word [eax + 0x32]
mov dword [esp + 0x68], edi
cmp dword [esi + 0x70], edx
jg 0x4b9144
push dword [esp + 0x38]
mov eax, dword [esp + 0x14]
mov edx, 0x1c
push dword [esp + 0x54]
add eax, dword [ebp + 0x10]
mov ecx, esi
push eax
call fcn.0047a300
mov edx, eax
add esp, 0xc
mov dword [esp + 0x44], edx
jmp 0x4b9186
mov edi, dword [esp + 0x68]
lea eax, [edx + 1]
lea ecx, [edx + edx*4]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x68]
mov edx, dword [esp + 0x10]
add edx, dword [ebp + 0x10]
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x50]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4 + 0xc], edx
mov edx, dword [esp + 0x44]
mov dword [eax + ecx*4], 0x1c
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
jne 0x4b919d
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edi
mov edx, dword [esp + 0x14]
cmp edx, dword [esp + 0x28]
jne 0x4b91b1
mov edi, dword [esp + 0x38]
mov dword [esp + 0x3c], edi
jmp 0x4b920f
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 8]
cmp eax, 1
jne 0x4b91de
mov al, byte [edx + 0x13]
test al, al
jne 0x4b91cd
inc dword [edx + 0x2c]
mov edi, dword [edx + 0x2c]
jmp 0x4b9207
dec al
mov byte [edx + 0x13], al
movzx eax, al
mov edi, dword [edx + eax*4 + 0x98]
jmp 0x4b9207
mov ecx, dword [edx + 0x1c]
mov edi, dword [edx + 0x20]
mov dword [esp + 0x3c], edi
cmp eax, ecx
jg 0x4b91fa
add eax, edi
sub ecx, dword [esp + 0x74]
mov dword [edx + 0x20], eax
mov dword [edx + 0x1c], ecx
jmp 0x4b920b
mov eax, dword [edx + 0x2c]
lea edi, [eax + 1]
add eax, dword [esp + 0x74]
mov dword [edx + 0x2c], eax
mov dword [esp + 0x3c], edi
mov edx, dword [esp + 0x14]
cmp dword [ebp + 0x18], 0
jne 0x4b9220
cmp dword [esp + 0x24], 5
jne 0x4b95fc
mov eax, dword [esp + 0xc]
test byte [eax + 0x24], 0x80
jne 0x4b9307
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4b9252
mov eax, dword [esp + 0x10]
mov edx, 0x86
add eax, dword [ebp + 0x10]
mov ecx, esi
push 0
push edi
push eax
call fcn.0047a300
add esp, 0xc
jmp 0x4b928c
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
add edx, dword [ebp + 0x10]
lea ecx, [ecx + ecx*4]
mov edi, dword [esp + 0x3c]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x86
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x4b95ff
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4b92b9
push edx
push dword [esp + 0x54]
mov edx, 0x35
mov ecx, esi
push edi
call fcn.0047a300
mov edx, dword [ebp + 0x18]
add esp, 0xc
jmp 0x4b92e7
mov edx, dword [esp + 0x50]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebp + 0x18]
mov dword [eax + ecx*4], 0x35
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x4b95ff
lea ecx, [eax + eax*4]
mov edi, 0x90
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], di
jmp 0x4b95ff
mov edi, dword [esp + 0x28]
cmp edx, edi
je 0x4b93f5
mov ecx, dword [esp + 0x28]
xor edi, edi
xor eax, eax
mov dword [esp + 0x18], edi
cmp ax, word [ecx + 0x32]
jae 0x4b93f1
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
movzx edx, word [edx + 0x34]
xor ecx, ecx
test edx, edx
je 0x4b935d
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 4]
movzx edi, word [eax + edi*2]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
nop dword [eax]
cmp di, word [eax]
je 0x4b938e
inc ecx
add eax, 2
cmp ecx, edx
jl 0x4b9350
or eax, 0xffffffff
mov ecx, dword [esi + 0x6c]
movsx edx, ax
mov dword [esp + 0x68], edx
cmp dword [esi + 0x70], ecx
jg 0x4b9393
mov edi, dword [esp + 0x2c]
mov ecx, esi
mov eax, dword [esp + 0x10]
add eax, dword [ebp + 0x10]
push edi
push edx
push eax
mov edx, 0x59
call fcn.0047a300
add esp, 0xc
jmp 0x4b93cd
movzx eax, cx
jmp 0x4b9360
mov edi, dword [esp + 0x10]
lea eax, [ecx + 1]
add edi, dword [ebp + 0x10]
lea ecx, [ecx + ecx*4]
mov edx, dword [esp + 0x68]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x59
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x28]
inc edi
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x2c], edi
mov edi, ecx
movzx eax, word [eax + 0x32]
mov dword [esp + 0x18], ecx
cmp ecx, eax
jl 0x4b9331
mov edi, dword [esp + 0x28]
cmp dword [ebp + 0x18], 0
je 0x4b95fc
movzx ecx, word [edi + 0x32]
mov eax, dword [esi + 0x6c]
add eax, ecx
mov dword [esp + 0x48], 0x34
mov dword [esp + 0x20], eax
mov eax, dword [edx + 0x38]
mov edx, dword [esp + 0x3c]
and al, 3
cmp al, 2
cmove edx, dword [esp + 0x38]
mov dword [esp + 0x68], edx
xor edx, edx
mov dword [esp + 0x18], edx
test ecx, ecx
je 0x4b95fc
mov eax, dword [edi + 0x20]
mov ecx, dword [eax + edx*4]
mov eax, dword [esp + 8]
mov dword [esp + 0x84], ecx
mov edi, dword [eax]
mov dl, byte [edi + 0x4e]
mov al, byte [edi + 0xa5]
mov byte [esp + 0x4f], dl
mov byte [esp + 0x4e], al
test ecx, ecx
je 0x4b9528
movzx eax, al
mov edx, ecx
push eax
mov ecx, edi
call fcn.004ac2d0
mov dl, byte [esp + 0x53]
mov edi, eax
mov ecx, dword [esp + 0x88]
add esp, 4
mov dword [esp + 0x2c], edi
test edi, edi
je 0x4b9497
movzx eax, dl
lea eax, [eax + eax*4]
lea edi, [edi + eax*4]
add edi, 0xffffffec
mov dword [esp + 0x2c], edi
mov al, byte [esp + 0x4e]
test al, al
jne 0x4b94bd
test edi, edi
je 0x4b94a9
cmp dword [edi + 0xc], 0
jne 0x4b94bd
push ecx
mov ecx, dword [esp + 0xc]
push edi
call fcn.004ac460
mov edi, eax
add esp, 8
mov dword [esp + 0x2c], edi
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x18]
movzx edx, word [ecx + eax*2]
mov ecx, dword [esp + 0x28]
movzx ecx, word [ecx + 0x32]
dec ecx
cmp eax, ecx
jne 0x4b94e9
mov eax, dword [esp + 0x50]
mov dword [esp + 0x20], eax
mov dword [esp + 0x48], 0x35
mov ecx, dword [esp + 0xc]
call fcn.004a3960
mov ecx, dword [ebp + 0x18]
mov edx, dword [esi + 0x6c]
inc ecx
cwde
add eax, ecx
mov ecx, dword [esp + 0x18]
add ecx, dword [esp + 0x68]
mov dword [esp + 0x84], eax
cmp dword [esi + 0x70], edx
jg 0x4b9534
mov edx, dword [esp + 0x48]
push ecx
push dword [esp + 0x24]
mov ecx, esi
push eax
call fcn.0047a300
add esp, 0xc
mov edx, eax
jmp 0x4b9580
mov edi, dword [edi + 8]
mov dword [esp + 0x2c], edi
jmp 0x4b949b
mov edi, dword [esp + 0x2c]
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x48]
mov byte [eax], cl
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x84]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x68]
add ecx, dword [esp + 0x18]
mov dword [eax + 0xc], ecx
mov ecx, dword [esi]
cmp byte [ecx + 0x51], 0
je 0x4b9598
push edi
mov edx, 0xfffffffe
call fcn.0047af00
add esp, 4
jmp 0x4b95cc
test edx, edx
jns 0x4b95a0
mov edx, dword [esi + 0x6c]
dec edx
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4b95c1
push 0xfffffffffffffffe
push edi
mov edx, eax
mov ecx, esi
call fcn.0047b0d0
add esp, 8
jmp 0x4b95cc
test edi, edi
je 0x4b95cc
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0xfe
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x4b95e3
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
inc edx
mov dword [esp + 0x18], edx
movzx eax, word [edi + 0x32]
cmp edx, eax
jl 0x4b9436
mov edx, dword [ebp + 0x18]
mov edi, dword [esp + 0x24]
lea eax, [edi - 1]
cmp eax, 5
ja case.0x4b960f.5
jmp dword [eax*4 + 0x4b9e44]
push dword [esp + 0x14]
mov edx, edi
mov edi, dword [esp + 0xc]
mov ecx, edi
call fcn.004ab480
add esp, 4
jmp 0x4b9a2e
mov eax, dword [esp + 0x10]
add eax, dword [ebp + 0x10]
mov edi, dword [esp + 8]
mov ecx, edi
mov edx, dword [esp + 0x60]
push eax
push dword [esp + 0x18]
push dword [esp + 0x14]
call fcn.004d6870
add esp, 0xc
jmp 0x4b9657
mov edi, dword [esp + 8]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4b967a
push 0
push dword [ebp + 0x24]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.0047a300
add esp, 0xc
jmp 0x4b9a2e
mov edx, dword [ebp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
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
jmp 0x4b9a2e
mov edi, dword [esi + 0x6c]
sub edi, dword [esp + 0x44]
cmp dword [esp + 0x58], 0
je 0x4b96d6
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
inc dword [esp + 0x8c]
mov byte [ecx + 0x14], 1
cmp dword [esp + 0x54], 0
je 0x4b9733
test edx, edx
je 0x4b9733
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4b9701
push 0
push 0
push dword [ebp + 0xc]
mov edx, 0x9f
mov ecx, esi
call fcn.0047a300
add esp, 0xc
jmp 0x4b9733
mov edx, dword [ebp + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x9f
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 edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x10]
add eax, edx
mov ecx, dword [esp + 8]
push eax
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x18], eax
sete al
movzx eax, al
push eax
push 5
push 0
push dword [esp + 0x84]
push dword [esp + 0x50]
push edx
push dword [ebp + 0xc]
mov edx, dword [esp + 0x2c]
push dword [esp + 0x74]
call fcn.004ae270
add esp, 0x24
cmp dword [esp + 0x54], 0
je 0x4b97d2
cmp dword [ebp + 0x18], 0
je 0x4b97d2
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4b97a0
push 0
push 0
push dword [ebp + 0xc]
mov edx, 0xa0
mov ecx, esi
call fcn.0047a300
add esp, 0xc
jmp 0x4b97d2
mov edx, dword [ebp + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xa0
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 edx, dword [esp + 0x58]
test edx, edx
je 0x4b9a1f
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4b97fc
push 0
push 1
push edx
mov edx, 0x52
mov ecx, esi
call fcn.0047a300
add esp, 0xc
jmp 0x4b982f
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x52
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 edx, dword [esi + 0x6c]
mov dword [esp + 0x68], edx
cmp dword [esi + 0x70], edx
jg 0x4b9856
push 0
push 0
push 0
mov edx, 0xb
mov ecx, esi
call fcn.0047a300
add esp, 0xc
mov dword [esp + 0x68], eax
jmp 0x4b9889
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
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 ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x40]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4b98a7
push edx
mov edx, esi
call fcn.0047aae0
add esp, 4
jmp 0x4b98b0
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 8]
dec dword [eax + 0x38]
mov edx, dword [eax + 0x38]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], edx
cmp dword [eax + 0x24], 0
je 0x4b9922
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4b98ec
push 0
push edx
mov edx, dword [esp + 0x98]
mov ecx, esi
push edx
mov edx, 0x32
call fcn.0047a300
add esp, 0xc
jmp 0x4b9922
mov edx, dword [esp + 0x90]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
test edi, edi
jle 0x4b99d8
mov eax, dword [esp + 0x44]
nop
mov ecx, eax
test eax, eax
jns 0x4b993a
mov ecx, dword [esi + 0x6c]
dec ecx
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x4b9949
mov eax, 0x60d7e0
jmp 0x4b9952
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
movups xmm0, xmmword [eax]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x90], eax
movd eax, xmm0
movaps xmmword [esp + 0xb0], xmm0
cmp al, 0x86
je 0x4b99c6
mov ecx, dword [esp + 0xb8]
movzx edx, al
test byte [edx + 0x5fc5c0], 1
cmovne ecx, dword [esp + 0x40]
shr eax, 8
movsx eax, al
push eax
push dword [esp + 0x94]
push dword [esp + 0xc4]
push ecx
push dword [esp + 0xc4]
mov ecx, esi
call fcn.0047a620
mov eax, dword [esi + 0x6c]
add esp, 0x14
test eax, eax
jle 0x4b99c6
mov ecx, dword [esi + 0x68]
lea edx, [eax + eax*4]
mov ax, word [esp + 0xb2]
mov word [ecx + edx*4 - 0x12], ax
mov eax, dword [esp + 0x44]
dec edi
inc eax
mov dword [esp + 0x44], eax
test edi, edi
jg 0x4b9930
push dword [esp + 0x14]
mov edi, dword [esp + 0xc]
mov edx, 2
mov ecx, edi
call fcn.004ab480
mov eax, dword [esi]
add esp, 4
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4b9a04
mov eax, 0x60d7e0
mov dword [eax + 8], edx
jmp 0x4b9a23
mov ecx, dword [esp + 0x68]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4b9a23
mov edi, dword [esp + 8]
mov dword [esp + 0x80], 1
mov eax, dword [esp + 0x78]
cmp eax, dword [esp + 0x14]
jne 0x4b9ac5
mov edx, dword [esp + 0x7c]
mov ecx, dword [esi + 0x6c]
inc edx
cmp dword [esi + 0x70], ecx
jg 0x4b9a5f
push 0
push edx
push 0
mov edx, 0xb
mov ecx, esi
call fcn.0047a300
add esp, 0xc
jmp 0x4b9a92
mov edi, dword [esp + 8]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
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 eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4b9aa7
mov eax, 0x60d7e0
mov dword [eax + 8], edx
jmp 0x4b9aec
mov ecx, dword [esp + 0xa4]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4b9aec
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x50]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4b9ae3
push edx
mov edx, esi
call fcn.0047aae0
add esp, 4
jmp 0x4b9aec
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x3c]
cmp ecx, dword [esp + 0x38]
je 0x4b8f7e
mov eax, dword [esp + 0x74]
cmp eax, 1
jne 0x4b9b2c
test ecx, ecx
je 0x4b8f7e
mov al, byte [edi + 0x13]
mov edx, dword [esp + 0x30]
cmp al, 8
jae 0x4b9b23
movzx eax, al
mov dword [edi + eax*4 + 0x98], ecx
inc byte [edi + 0x13]
mov edi, dword [esp + 0xc]
jmp 0x4b8f86
cmp eax, dword [edi + 0x1c]
jle 0x4b8f7e
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], ecx
jmp 0x4b8f7e
mov edi, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
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 eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4b9b85
mov eax, 0x60d7e0
jmp 0x4b9b9d
mov ecx, dword [esp + 0xa8]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
cmp dword [esp + 0x8c], 0
je 0x4b9d62
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4b9bd1
push 0
push dword [esp + 0x44]
mov edx, 0x14
mov ecx, esi
push dword [esp + 0x60]
call fcn.0047a300
add esp, 0xc
jmp 0x4b9c04
mov edx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4], 0x14
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x28], 0
jne 0x4b9ce7
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4b9c7f
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4b9c37
push eax
push dword [esp + 0x60]
mov edx, 0x35
mov ecx, esi
push dword [ebp + 0x14]
call fcn.0047a300
add esp, 0xc
jmp 0x4b9c68
mov edx, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x5c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebp + 0x18]
mov dword [eax + ecx*4], 0x35
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x4b9c7f
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4b9ca2
push dword [ebp + 0x14]
mov edx, 0x20
mov ecx, esi
push dword [esp + 0x60]
push dword [ebp + 0xc]
call fcn.0047a300
add esp, 0xc
jmp 0x4b9cd3
mov edx, dword [ebp + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x5c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + ecx*4], 0x20
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 8]
mov edx, 2
push edi
call fcn.004ab6e0
add esp, 4
jmp 0x4b9d3b
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4b9d08
push 0
push dword [esp + 0x60]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.0047a300
add esp, 0xc
jmp 0x4b9d3b
mov edx, dword [esp + 0x5c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
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 ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x40]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4b9d59
push edx
mov edx, esi
call fcn.0047aae0
add esp, 4
jmp 0x4b9d62
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
test byte [edi + 0x24], 0x80
jne 0x4b9df3
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
mov edi, dword [ecx + eax*4]
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x90], edi
movsx edx, word [eax + 0x2c]
mov eax, dword [ebp + 0x14]
inc eax
cmp dword [esi + 0x70], ecx
jg 0x4b9da6
push edi
push edx
push eax
mov edx, 0x5b
mov ecx, esi
call fcn.0047a300
add esp, 0xc
jmp 0x4b9ddc
mov edi, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
inc edi
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x90]
mov dword [eax + ecx*4], 0x5b
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [esp + 0x1f], 0
jne 0x4b9df3
mov edx, dword [esp + 0xc]
mov ecx, esi
push 0
call fcn.004b58c0
add esp, 4
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0x80]
pop edi
pop esi
mov dword [ecx], eax
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.005a6fed
mov esp, ebp
pop ebp
ret