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

Disassembly:
sub esp, 0x7c
mov eax, dword [esp + 0x84]
push ebx
lea eax, [eax + eax*4]
push ebp
shl eax, 4
push esi
mov esi, dword [esp + 0x8c]
mov ebx, dword [esi]
mov edx, dword [ebx]
mov ebp, dword [ebx + 8]
push edi
lea edi, [eax + esi + 0x2e0]
movzx eax, byte [edi + 0x2c]
mov dword [esp + 0x30], edx
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea ecx, [esi + 0x148]
mov dword [esp + 0x4c], ecx
mov ecx, dword [edi + 0x40]
shl edx, 4
lea eax, [edx + eax + 8]
mov dword [esp + 0x28], ecx
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x44]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x44], 0
test eax, eax
jle 0x499ff9
lea ecx, [esi + 0x48]
mov edx, dword [esp + 0x1c]
cmp dword [ecx], edx
je 0x49a131
inc dword [esp + 0x44]
add ecx, 4
cmp dword [esp + 0x44], eax
jl 0x499fe0
xor eax, eax
xor edx, edx
mov ecx, dword [esp + 0x94]
not eax
and eax, dword [esp + 0x98]
not edx
and edx, dword [esp + 0x9c]
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], edx
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
call fcn.00525e90
and eax, 1
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
test byte [eax + 0x24], 0x40
je 0x49a046
test byte [esi + 0x22], 0x20
mov dword [esp + 0x6c], 1
je 0x49a04e
mov dword [esp + 0x6c], 0
mov eax, ebp
call fcn.00458100
mov dword [esp + 0x44], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0xc], eax
mov eax, ebp
call fcn.00458100
cmp byte [edi + 0x2c], 0
mov dword [esp + 0x58], eax
mov dword [edi + 0x18], eax
jbe 0x49a0d1
mov ecx, dword [esp + 0x48]
test byte [ecx + 0x24], 8
je 0x49a0d1
inc dword [ebx + 0x48]
mov ecx, dword [ebx + 0x48]
mov dword [edi], ecx
mov eax, dword [ebp + 0x20]
mov edx, dword [ebp + 0x18]
cmp dword [edx + 0x54], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x7c], eax
jg 0x49a0ad
push ebp
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x49a0d1
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x34]
mov edx, dword [ebp + 4]
inc dword [ebp + 0x20]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov byte [eax], 0x17
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov byte [eax + 1], dl
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x28]
mov dword [esp + 0x88], eax
test al, 4
je 0x49a17e
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x18]
push ecx
push 0
push eax
push 0x11
mov esi, ebp
mov dword [esp + 0x8c], eax
call fcn.00457e10
mov esi, dword [ebp + 0x20]
mov edx, dword [ebp + 0x18]
add esp, 0x10
cmp dword [edx + 0x54], esi
jg 0x49a146
push ebp
call fcn.00457d80
add esp, 4
test eax, eax
je 0x49a146
mov esi, 1
mov dword [edi + 0x34], esi
mov byte [edi + 0x2d], 0xe
jmp 0x49b5a8
mov ecx, dword [esp + 0x44]
mov eax, 1
xor edx, edx
call fcn.00528330
jmp 0x499ffd
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x20]
mov edx, dword [esp + 0x7c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x14
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov dword [edi + 0x34], esi
mov byte [edi + 0x2d], 0xe
jmp 0x49b5a8
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x24]
test edx, 0x400
je 0x49a3b9
movzx eax, word [ecx + 0x28]
mov esi, dword [ebx + 0x38]
inc dword [ebx + 0x64]
mov edx, dword [ebx + 0x3c]
mov dword [esp + 0x48], eax
add eax, 2
cmp eax, esi
mov dword [esp + 0x78], eax
mov dword [esp + 0x3c], edx
jg 0x49a1bd
add edx, eax
sub esi, eax
mov dword [ebx + 0x3c], edx
mov dword [ebx + 0x38], esi
jmp 0x49a1cc
mov edx, dword [ebx + 0x48]
lea esi, [edx + 1]
add eax, edx
mov dword [esp + 0x3c], esi
mov dword [ebx + 0x48], eax
mov edx, dword [edi + 0xc]
xor esi, esi
cmp dword [esp + 0x48], esi
mov dword [esp + 0x6c], edx
jle 0x49a233
mov eax, dword [esp + 0x3c]
add eax, 2
mov dword [esp + 0x44], eax
mov edx, dword [ecx + 0x30]
mov eax, dword [edx + esi*4]
test eax, eax
je 0x49a228
test byte [eax + 0x12], 1
mov ecx, dword [esp + 0x44]
push ecx
je 0x49a215
mov edx, dword [esp + 0x24]
push edx
push esi
push edi
push eax
push ebx
call fcn.004999d0
mov eax, dword [edi + 0x10]
add esp, 0x18
mov dword [esp + 0x6c], eax
jmp 0x49a224
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
push eax
push ebx
call fcn.0046ddd0
add esp, 0xc
mov ecx, dword [esp + 0x28]
inc dword [esp + 0x44]
inc esi
cmp esi, dword [esp + 0x48]
jl 0x49a1e6
mov edi, dword [ecx + 0x18]
mov esi, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x18]
cmp dword [ecx + 0x54], esi
jg 0x49a24e
push ebp
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x49a276
mov eax, dword [ebp + 4]
inc dword [ebp + 0x20]
mov ecx, dword [esp + 0x3c]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x17
mov byte [eax + 3], 0
mov dword [eax + 4], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov esi, dword [ebp + 0x20]
mov edx, dword [ebp + 0x18]
cmp dword [edx + 0x54], esi
jg 0x49a28e
push ebp
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x49a2bb
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x20]
mov edx, dword [esp + 0x48]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x3c]
inc ecx
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x17
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [esp + 0x28]
movzx esi, byte [eax + 0x1c]
mov edx, dword [eax + 0x20]
mov edi, dword [ebp + 0x20]
mov eax, dword [ebp + 0x18]
neg esi
sbb esi, esi
and esi, 0xfffffff7
add esi, 0xfffffffe
cmp dword [eax + 0x54], edi
mov dword [esp + 0x7c], edx
jg 0x49a2f3
push ebp
call fcn.00457d80
add esp, 4
test eax, eax
je 0x49a2f3
mov eax, 1
jmp 0x49a328
mov edx, dword [ebp + 4]
inc dword [ebp + 0x20]
lea ecx, [edi + edi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x6c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x3c]
mov byte [eax], 0xc
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov eax, edi
mov edi, dword [esp + 0x7c]
push esi
push ebp
call fcn.00458620
mov edi, dword [esp + 0x30]
xor esi, esi
add esp, 8
cmp dword [esp + 0x48], esi
mov byte [edi + 0x1c], 0
jle 0x49a374
cmp esi, 0x10
jge 0x49a374
mov dx, word [edi + 0x1e]
mov cx, si
shr dx, cl
test dl, 1
je 0x49a36d
mov eax, dword [edi + 0x30]
mov eax, dword [eax + esi*4]
mov edi, dword [esp + 0x18]
call fcn.004998b0
mov edi, dword [esp + 0x28]
inc esi
cmp esi, dword [esp + 0x48]
jl 0x49a346
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x78]
mov byte [eax + 0x2d], 0x9a
mov dword [eax + 0x30], ecx
mov edx, dword [ebp + 0x20]
mov dword [eax + 0x34], edx
mov eax, dword [esp + 0x3c]
push eax
mov eax, edi
mov esi, ebx
call fcn.0046c870
add esp, 4
cmp edi, dword [ebx + 0x38]
jle 0x49a3ad
mov ecx, dword [esp + 0x3c]
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x3c], ecx
mov eax, ebx
call fcn.0046c8d0
jmp 0x49b5a8
mov eax, edx
and eax, 0x100
je 0x49a494
test dl, 5
je 0x49a494
mov edx, ecx
mov eax, dword [edx + 0x30]
mov eax, dword [eax]
inc dword [ebx + 0x48]
mov esi, dword [ebx + 0x48]
mov ecx, dword [esp + 0x20]
push esi
push ecx
push 0
push edi
push eax
push ebx
call fcn.004999d0
add esp, 0x18
mov dword [esp + 0x3c], eax
cmp eax, esi
je 0x49a3fe
mov edx, ebx
call fcn.0046f030
mov esi, dword [ebp + 0x20]
mov eax, dword [ebp + 0x18]
cmp dword [eax + 0x54], esi
mov edx, dword [edi + 0x10]
mov dword [esp + 0x40], edx
jg 0x49a41d
push ebp
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x49a449
mov edx, dword [ebp + 4]
inc dword [ebp + 0x20]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x26
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
push 0x49
mov esi, ebp
call fcn.00457e10
mov eax, dword [esp + 0x4c]
push eax
mov eax, 1
mov esi, ebx
call fcn.0046c870
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x30]
add esp, 0x14
push ecx
push 0xffffffffffffffff
push edx
mov edx, ebx
call fcn.0046c760
add esp, 0xc
mov byte [edi + 0x2d], 0x9f
jmp 0x49b5a8
test eax, eax
je 0x49a6a6
test dl, 2
je 0x49a6a6
xor eax, eax
xor esi, esi
mov dword [esp + 0x38], 0x9f
mov dword [esp + 0x6c], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x3c], esi
test dl, 0x20
je 0x49a4d0
mov eax, dword [ecx + 0x30]
mov esi, dword [eax]
mov dword [esp + 0x3c], esi
mov eax, 1
test dl, 0x10
je 0x49a4df
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx + eax*4]
mov dword [esp + 0x48], edx
cmp dword [esp + 0x20], 0
je 0x49a4f4
mov eax, esi
mov esi, dword [esp + 0x48]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x48], eax
test esi, esi
je 0x49a56e
mov eax, dword [esp + 0x3c]
mov esi, dword [eax]
mov eax, dword [esi + 0x10]
lea ecx, [esp + 0x7c]
push ecx
mov ecx, ebx
mov byte [esp + 0x44], 0x42
mov byte [esp + 0x45], 0x40
mov byte [esp + 0x46], 0x3f
mov byte [esp + 0x47], 0x41
call fcn.0046dcc0
movzx ecx, byte [esi]
mov edx, dword [esp + 0x48]
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x1c]
push edi
push edx
movzx edx, byte [esp + ecx - 8]
push eax
push edx
mov esi, ebp
call fcn.00457e10
push edi
mov eax, 1
mov esi, ebx
call fcn.0046c870
mov esi, dword [esp + 0x90]
add esp, 0x14
mov edx, ebx
call fcn.0046f030
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x18]
call fcn.004998b0
jmp 0x49a593
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x1c]
neg edx
push 0
sbb edx, edx
push eax
and edx, 0xfffffffd
push ecx
add edx, 0x6d
push edx
mov esi, ebp
call fcn.00457e10
add esp, 0x10
mov eax, dword [esp + 0x48]
test eax, eax
je 0x49a5f0
mov esi, dword [eax]
inc dword [ebx + 0x48]
mov eax, dword [ebx + 0x48]
push eax
mov dword [esp + 0x70], eax
mov eax, dword [esi + 0x10]
push eax
push ebx
call fcn.0046ddd0
mov al, byte [esi]
add esp, 0xc
cmp al, 0x52
je 0x49a5d2
cmp al, 0x50
je 0x49a5d2
xor ecx, ecx
cmp dword [esp + 0x20], ecx
setne cl
lea ecx, [ecx + ecx + 0x50]
mov dword [esp + 0x38], ecx
jmp 0x49a5e3
xor edx, edx
cmp dword [esp + 0x20], edx
sete dl
lea edx, [edx + edx + 0x51]
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x18]
call fcn.004998b0
cmp dword [esp + 0x20], 0
mov eax, dword [ebp + 0x20]
mov edx, dword [esp + 0x1c]
sete cl
add cl, 7
cmp dword [esp + 0x38], 0x9f
mov byte [edi + 0x2d], cl
mov dword [edi + 0x30], edx
mov dword [edi + 0x34], eax
je 0x49b5a8
inc dword [ebx + 0x48]
mov edi, dword [ebp + 0x20]
mov eax, dword [ebp + 0x18]
cmp dword [eax + 0x54], edi
mov esi, dword [ebx + 0x48]
jg 0x49a637
push ebp
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x49a65f
mov edx, dword [ebp + 4]
inc dword [ebp + 0x20]
lea ecx, [edi + edi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x68
mov byte [eax + 3], 0
mov dword [eax + 8], esi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov edx, dword [esp + 0x1c]
push esi
push 0xffffffffffffffff
push edx
mov edx, ebx
call fcn.0046c760
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x44]
add esp, 0xc
push esi
push eax
push ecx
push edx
mov esi, ebp
call fcn.00457e10
mov eax, dword [ebp + 4]
add esp, 0x10
test eax, eax
je 0x49b5a8
mov ecx, dword [ebp + 0x20]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 - 0x11], 0x53
jmp 0x49b5a8
test edx, 0x200
je 0x49ad9b
movzx eax, word [ecx + 0x18]
xor edx, edx
test byte [esi + 0x22], 1
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], edx
mov byte [esp + 0x50], dl
mov byte [esp + 0x16], dl
mov byte [esp + 0x17], dl
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0x44], edx
mov edx, dword [edi + 8]
mov dword [esp + 0x54], eax
mov dword [esp + 0x48], edx
je 0x49a705
cmp byte [esi + 0x24], 0
jle 0x49a705
mov edx, dword [esp + 0x44]
cmp word [edx + 0x2e], ax
jbe 0x49a705
mov byte [esp + 0x16], 1
mov dword [esp + 0x40], 1
test byte [ecx + 0x24], 0x20
movzx esi, ax
mov eax, esi
je 0x49a727
mov edx, dword [ecx + 0x30]
mov edx, dword [edx + eax*4]
mov dword [esp + 0x38], edx
mov edx, 1
add eax, edx
mov dword [esp + 0x40], edx
jmp 0x49a72c
mov edx, 1
test byte [ecx + 0x24], 0x10
je 0x49a7f1
mov ecx, dword [ecx + 0x30]
mov eax, dword [ecx + eax*4]
mov ecx, 0x100
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
test word [eax + 0x14], cx
je 0x49a7c6
add dword [ebx + 0x48], edx
mov ecx, dword [ebx + 0x48]
mov edx, dword [esp + 0x44]
mov dword [edi + 0x24], ecx
mov eax, dword [edx + 0x1c]
xor edx, edx
cmp byte [esi + eax], 1
mov eax, dword [ebp + 0x20]
sete dl
mov dword [esp + 0x34], ecx
mov dword [esp + 0x7c], eax
xor edx, dword [esp + 0x20]
mov dword [esp + 0x78], edx
mov edx, dword [ebp + 0x18]
cmp dword [edx + 0x54], eax
jg 0x49a798
push ebp
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x49a7c0
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x7c]
mov edx, dword [ebp + 4]
inc dword [ebp + 0x20]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x78]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x17
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [ebp + 0x20]
mov dword [edi + 0x28], eax
cmp dword [esp + 0x38], 0
jne 0x49a7f1
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + 4]
movsx eax, word [edx + esi*2]
test eax, eax
jl 0x49a7f1
mov ecx, dword [ecx + 0xc]
lea edx, [eax + eax*2]
mov eax, dword [ecx + 4]
cmp byte [eax + edx*8 + 0x14], 0
jne 0x49a7f1
mov byte [esp + 0x16], 1
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x2c]
push ecx
push edx
push eax
push edi
push ebx
call fcn.00499c20
add esp, 0x14
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x34], eax
je 0x49a820
mov ecx, dword [esp + 0x2c]
mov dl, byte [esi + ecx]
mov byte [esp + 0x50], dl
mov eax, dword [edi + 0x10]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x40], eax
movzx eax, word [ecx + 0x2e]
cmp word [esp + 0x54], ax
jae 0x49a847
mov ecx, dword [ecx + 0x1c]
xor edx, edx
cmp byte [esi + ecx], dl
sete dl
cmp dword [esp + 0x20], edx
je 0x49a856
xor ecx, ecx
cmp dword [esp + 0x20], ecx
je 0x49a877
cmp ax, word [esp + 0x54]
jne 0x49a877
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x3c], ecx
mov cl, byte [esp + 0x16]
mov byte [esp + 0x17], cl
mov dword [esp + 0x38], eax
mov byte [esp + 0x16], 0
xor ecx, ecx
jmp 0x49a87b
mov eax, dword [esp + 0x38]
cmp eax, ecx
je 0x49a889
test byte [eax + 0x12], 0x28
mov dword [esp + 0x5c], ecx
je 0x49a891
mov dword [esp + 0x5c], 1
mov edx, dword [esp + 0x3c]
cmp edx, ecx
je 0x49a8a3
test byte [edx + 0x12], 0x28
mov dword [esp + 0x64], ecx
je 0x49a8ab
mov dword [esp + 0x64], 1
cmp eax, ecx
jne 0x49a8ba
mov dword [esp + 0x60], ecx
cmp word [esp + 0x54], cx
jbe 0x49a8c2
mov dword [esp + 0x60], 1
mov dword [esp + 0x24], esi
cmp eax, ecx
je 0x49a9aa
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov eax, dword [edx]
mov eax, dword [eax + 0x10]
add ecx, esi
push ecx
push eax
push ebx
mov dword [esp + 0x60], eax
call fcn.0046ddd0
mov eax, dword [esp + 0x44]
mov edx, 0x100
add esp, 0xc
test word [eax + 0x14], dx
je 0x49a906
push edi
mov ecx, ebp
call fcn.00499f30
add esp, 4
mov eax, dword [esp + 0x54]
call fcn.0046aff0
test eax, eax
je 0x49a961
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x18]
cmp dword [ecx + 0x54], eax
mov dword [esp + 0x7c], eax
jg 0x49a933
push ebp
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x49a961
mov eax, dword [esp + 0x7c]
inc dword [ebp + 0x20]
mov ecx, dword [esp + 0x34]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x40]
add ecx, esi
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x4c
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
cmp dword [esp + 0x2c], 0
je 0x49a9a4
mov eax, dword [esp + 0x2c]
movzx ecx, byte [esi + eax]
mov eax, dword [esp + 0x54]
push ecx
call fcn.004694b0
add esp, 4
cmp al, 0x41
jne 0x49a988
mov edx, dword [esp + 0x2c]
mov byte [esi + edx], al
mov eax, dword [esp + 0x2c]
mov dl, byte [esi + eax]
mov ecx, dword [esp + 0x54]
call fcn.0046b0a0
test eax, eax
je 0x49a9a4
mov ecx, dword [esp + 0x2c]
mov byte [esi + ecx], 0x41
inc dword [esp + 0x24]
jmp 0x49aa0d
cmp byte [esp + 0x16], 0
je 0x49aa0d
mov eax, dword [ebp + 0x20]
mov edx, dword [ebp + 0x18]
cmp dword [edx + 0x54], eax
mov dword [esp + 0x7c], eax
jg 0x49a9d3
push ebp
call fcn.00457d80
add esp, 4
xor ecx, ecx
test eax, eax
jne 0x49a9fc
mov eax, dword [esp + 0x7c]
mov edx, dword [ebp + 4]
inc dword [ebp + 0x20]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x34]
add edx, esi
mov byte [eax], 0x1a
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0
mov eax, 1
add dword [esp + 0x24], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
movzx eax, byte [esp + 0x16]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
sub ecx, eax
mov eax, dword [esp + 0x2c]
push ecx
push edx
push ebx
call fcn.00499920
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x68]
add esp, 0xc
push eax
mov eax, dword [esp + 0x64]
push ecx
lea ecx, [edx + eax*2]
mov edx, dword [esp + 0x28]
movzx eax, byte [edx + ecx*2 + 0x539a04]
mov ecx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x40]
push ebp
call fcn.00458080
add esp, 0x10
cmp dword [esp + 0x3c], 0
mov dword [esp + 0x24], esi
je 0x49ab4f
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x60], eax
lea eax, [esi + ecx]
mov dword [esp + 0x5c], eax
push eax
mov eax, 1
mov esi, ebx
call fcn.0046c870
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
add esp, 4
push edx
push eax
push ebx
call fcn.0046ddd0
mov edx, dword [esp + 0x48]
mov ecx, 0x100
add esp, 0xc
test word [edx + 0x14], cx
je 0x49aac2
push edi
mov ecx, ebp
call fcn.00499f30
add esp, 4
mov eax, dword [esp + 0x60]
call fcn.0046aff0
test eax, eax
je 0x49ab13
mov esi, dword [ebp + 0x20]
mov eax, dword [ebp + 0x18]
cmp dword [eax + 0x54], esi
jg 0x49aae7
push ebp
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x49ab13
mov edx, dword [ebp + 4]
inc dword [ebp + 0x20]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x40]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x4c
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x60]
push eax
mov eax, esi
call fcn.004694b0
add esp, 4
cmp al, 0x41
je 0x49aba8
mov dl, byte [esp + 0x50]
mov ecx, esi
call fcn.0046b0a0
test eax, eax
jne 0x49aba8
mov ecx, dword [esp + 0x5c]
push 1
push ecx
push ebx
lea eax, [esp + 0x5c]
call fcn.00499920
add esp, 0xc
jmp 0x49aba8
cmp byte [esp + 0x17], 0
je 0x49abac
mov eax, dword [ebp + 0x20]
mov edx, dword [ebp + 0x18]
cmp dword [edx + 0x54], eax
mov dword [esp + 0x7c], eax
jg 0x49ab76
push ebp
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x49aba2
mov eax, dword [esp + 0x7c]
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x20]
mov edx, dword [esp + 0x34]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
add esi, edx
mov byte [eax], 0x1a
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
jmp 0x49aba4
xor ecx, ecx
mov dword [esp + 0x64], ecx
inc dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
call fcn.0043b7d0
mov eax, dword [ebp + 0x20]
mov dword [edi + 0x34], eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x49abef
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x24]
push ecx
movzx ecx, byte [edx + eax*2 + 0x539a0c]
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x4c]
push ebp
call fcn.00458080
add esp, 0x10
mov eax, dword [esp + 0x38]
call fcn.004998b0
mov eax, dword [esp + 0x3c]
call fcn.004998b0
cmp dword [esp + 0x6c], 0
jne 0x49ad53
mov edx, dword [esp + 0x44]
mov eax, dword [edx + 0xc]
test byte [eax + 0x2a], 0x20
jne 0x49acbe
inc dword [ebx + 0x48]
mov esi, dword [ebp + 0x20]
mov eax, dword [ebp + 0x18]
cmp dword [eax + 0x54], esi
mov edi, dword [ebx + 0x48]
jg 0x49ac3b
push ebp
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x49ac63
mov edx, dword [ebp + 4]
inc dword [ebp + 0x20]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x71
mov byte [eax + 3], 0
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov edx, dword [esp + 0x1c]
push edi
push 0xffffffffffffffff
push edx
mov edx, ebx
call fcn.0046c760
mov esi, dword [ebp + 0x20]
mov eax, dword [ebp + 0x18]
add esp, 0xc
cmp dword [eax + 0x54], esi
jg 0x49ac91
push ebp
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x49ad4f
mov edx, dword [ebp + 4]
inc dword [ebp + 0x20]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x43
mov byte [eax + 3], 0
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
jmp 0x49ad4f
mov edx, dword [esp + 0x1c]
cmp edx, dword [esp + 0x48]
je 0x49ad53
call fcn.00473e10
movzx esi, word [eax + 0x2e]
mov ecx, ebx
mov dword [esp + 0x40], eax
call fcn.0046f060
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x3c], eax
xor eax, eax
xor edi, edi
cmp ax, word [ecx + 0x2e]
jae 0x49ad2e
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
lea eax, [edi + edx]
mov edx, dword [ecx + 4]
mov si, word [edx + edi*2]
mov edx, dword [esp + 0x44]
push eax
call fcn.00473e30
mov ecx, dword [esp + 0x4c]
cwde
push eax
push ecx
push 0x2f
mov esi, ebp
call fcn.00457e10
mov edx, dword [esp + 0x50]
movzx eax, word [edx + 0x2e]
inc edi
add esp, 0x10
cmp edi, eax
jl 0x49acf2
mov ecx, dword [esp + 0x40]
movzx edx, word [ecx + 0x2e]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x58]
push edx
push eax
mov eax, dword [esp + 0x44]
push 0x45
push ebp
call fcn.00458080
add esp, 0x10
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
test dword [eax + 0x24], 0x1000
je 0x49ad66
mov byte [edi + 0x2d], 0x9f
jmp 0x49ad74
cmp dword [esp + 0x20], 0
sete cl
add cl, 7
mov byte [edi + 0x2d], cl
mov edx, dword [esp + 0x48]
mov dword [edi + 0x30], edx
mov cl, byte [eax + 0x26]
and cl, 1
mov byte [edi + 0x2e], cl
test byte [eax + 0x24], 0xf
jne 0x49b5a8
mov edx, dword [esp + 0x18]
mov byte [edx + 0x2f], 1
jmp 0x49b5a8
test edx, 0x2000
je 0x49b562
mov eax, dword [ebx + 0x44]
inc dword [ebx + 0x48]
mov dword [esp + 0x70], eax
inc eax
mov dword [ebx + 0x44], eax
mov eax, dword [ebx + 0x48]
xor ecx, ecx
mov dword [esp + 0x34], eax
mov eax, ebp
mov dword [esp + 0x20], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x50], ecx
call fcn.00458100
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x78], eax
xor eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x30]
mov eax, dword [ecx]
mov dword [esp + 0x38], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
mov byte [edi + 0x2d], 0x10
mov dword [edi + 0x30], eax
mov al, byte [esi + 0x29]
mov dword [esp + 0x68], edx
cmp al, 1
jbe 0x49aee0
mov esi, dword [esp + 0x30]
movzx eax, al
sub eax, dword [esp + 0x94]
push 0
dec eax
lea ecx, [eax + eax*4]
shl ecx, 4
add ecx, 0x58
push ecx
mov dword [esp + 0x6c], eax
call fcn.0043ba30
add esp, 8
mov dword [esp + 0x54], eax
test eax, eax
jne 0x49ae59
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
mov dl, byte [esp + 0x64]
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x48]
inc dl
movzx ecx, dl
mov dword [eax + 4], ecx
mov dword [eax], ecx
lea edi, [eax + 8]
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x90]
mov edx, dword [ecx + 4]
add edx, 8
cmp dword [esp + 0x64], 1
jl 0x49aee7
mov ecx, dword [esp + 0x64]
add eax, 0x58
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x18]
add eax, 0x7c
mov dword [esp + 0x60], eax
mov dword [esp + 0x6c], ecx
jmp 0x49aeb0
mov eax, dword [esp + 0x60]
movzx eax, byte [eax]
mov edi, dword [esp + 0x5c]
lea esi, [eax + eax*4]
shl esi, 4
mov eax, 0x50
add dword [esp + 0x60], eax
add dword [esp + 0x5c], eax
add esi, edx
sub dword [esp + 0x6c], 1
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
jne 0x49aeb0
jmp 0x49aee7
mov ecx, dword [esi + 4]
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x90]
test byte [edx + 0x22], 8
jne 0x49afc1
mov eax, dword [esp + 0x38]
test byte [eax + 0x2a], 0x20
jne 0x49af52
inc dword [ebx + 0x48]
mov esi, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x18]
cmp dword [ecx + 0x54], esi
mov eax, dword [ebx + 0x48]
mov dword [esp + 0x40], eax
jg 0x49af28
push ebp
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x49afb7
mov eax, dword [ebp + 4]
inc dword [ebp + 0x20]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x40]
xor ecx, ecx
mov byte [eax], 0x1a
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
jmp 0x49afb7
call fcn.00473e10
mov ecx, eax
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x40], eax
inc eax
mov dword [ebx + 0x44], eax
mov esi, dword [ebp + 0x20]
mov eax, dword [ebp + 0x18]
cmp dword [eax + 0x54], esi
movzx edi, word [ecx + 0x2e]
mov dword [esp + 0x74], ecx
jg 0x49af84
push ebp
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x49afac
mov edx, dword [ebp + 4]
inc dword [ebp + 0x20]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x39
mov byte [eax + 3], 0
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov ecx, dword [esp + 0x74]
mov eax, ebx
call fcn.004586f0
inc dword [ebx + 0x48]
mov edx, dword [ebx + 0x48]
mov dword [esp + 0x50], edx
mov esi, dword [ebp + 0x20]
mov eax, dword [ebp + 0x18]
cmp dword [eax + 0x54], esi
jg 0x49afe3
push ebp
call fcn.00457d80
add esp, 4
test eax, eax
je 0x49afe3
mov dword [esp + 0x74], 1
jmp 0x49b00f
mov edx, dword [ebp + 4]
inc dword [ebp + 0x20]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov edx, dword [esp + 0x34]
xor ecx, ecx
mov byte [eax], 0x17
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov dword [esp + 0x74], esi
mov edi, dword [esp + 0x4c]
mov eax, dword [edi + 0xc]
cmp eax, 1
jle 0x49b121
xor esi, esi
cmp eax, esi
mov dword [esp + 0x6c], esi
jle 0x49b121
lea ecx, [ecx]
mov eax, dword [edi + 0x14]
mov ecx, dword [eax + esi]
add eax, esi
cmp eax, dword [esp + 0x28]
je 0x49b080
test byte [ecx + 4], 1
jne 0x49b080
mov edx, dword [edi + 0x14]
test byte [esi + edx + 0x14], 2
lea eax, [esi + edx]
jne 0x49b080
mov edx, 0x1fff
test word [eax + 0x12], dx
je 0x49b080
mov eax, dword [esp + 0x30]
push eax
xor eax, eax
call fcn.0046a370
mov ecx, dword [esp + 0x30]
add esp, 4
push ecx
mov ecx, dword [esp + 0x34]
call fcn.00469b40
add esp, 4
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x6c]
inc eax
add esi, 0x30
cmp eax, dword [edi + 0xc]
mov dword [esp + 0x6c], eax
jl 0x49b030
cmp dword [esp + 0x2c], 0
je 0x49b121
mov esi, dword [ebx]
push 0
push 0x30
call fcn.0043ba30
mov esi, eax
add esp, 8
test esi, esi
je 0x49b0ce
push 0x30
push 0
push esi
call fcn.0050e6a0
add esp, 0xc
or edx, 0xffffffff
mov byte [esi], 0x48
mov word [esi + 0x22], dx
mov dword [esi + 0x18], 1
mov edi, dword [ebx]
test esi, esi
jne 0x49b0eb
push esi
push edi
call fcn.00469eb0
mov eax, dword [esp + 0x34]
push eax
push edi
call fcn.00469eb0
add esp, 0x10
jmp 0x49b11d
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x10], eax
mov ecx, dword [eax + 4]
and ecx, 0x200100
or dword [esi + 4], ecx
call fcn.00469790
mov edx, dword [ebx]
mov eax, dword [edx + 0x64]
cmp dword [esi + 0x18], eax
jle 0x49b11d
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
mov edi, ebx
call fcn.0043e000
add esp, 8
mov dword [esp + 0x2c], esi
mov edi, dword [esp + 0x68]
xor eax, eax
cmp dword [edi + 0xc], eax
mov dword [esp + 0x5c], 0xf0
mov dword [esp + 0x24], eax
jle 0x49b488
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 0x14]
add eax, dword [esp + 0x6c]
mov ecx, dword [eax + 8]
cmp ecx, dword [esp + 0x1c]
je 0x49b15f
mov edx, 0x400
test word [eax + 0x12], dx
je 0x49b471
mov ecx, dword [esp + 0x2c]
mov eax, dword [eax]
mov dword [esp + 0x60], 0
test ecx, ecx
je 0x49b17c
test byte [eax + 4], 1
jne 0x49b17c
mov dword [ecx + 0xc], eax
mov eax, ecx
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x54]
push ecx
push edx
push 0
push 0
push eax
push esi
push ebx
call fcn.004a1990
add esp, 0x1c
mov dword [esp + 0x88], eax
test eax, eax
je 0x49b471
mov ecx, dword [esp + 0x18]
movzx edx, byte [ecx + 0x2c]
mov ecx, dword [esp + 0x94]
push 0
push edx
push ecx
lea edx, [eax + 0x2e0]
push esi
mov ecx, ebx
call fcn.004995b0
mov edx, dword [esp + 0xa0]
add esp, 0x10
test byte [edx + 0x22], 8
jne 0x49b398
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0xc]
mov esi, dword [esp + 0x24]
dec ecx
cmp esi, ecx
jne 0x49b1f0
or esi, 0xffffffff
mov eax, dword [esp + 0x38]
test byte [eax + 0x2a], 0x20
mov dword [esp + 0x44], esi
jne 0x49b236
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x1c]
push 0
push edx
push ecx
push 0xffffffffffffffff
push eax
mov eax, ebx
call fcn.0046c9f0
mov edx, dword [esp + 0x54]
add esp, 0x14
push esi
push edx
push 0x83
push ebp
xor ecx, ecx
call fcn.00458080
add esp, 0x10
mov dword [esp + 0x60], eax
jmp 0x49b398
call fcn.00473e10
movzx esi, word [eax + 0x2e]
mov ecx, ebx
mov dword [esp + 0x80], eax
mov dword [esp + 0x3c], esi
call fcn.0046f060
mov dword [esp + 0x48], eax
mov dword [esp + 0x64], 0
test esi, esi
jle 0x49b2fe
mov esi, eax
jmp 0x49b270
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x64]
movsx eax, word [ecx + edx*2]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
push 0
push esi
push ecx
push eax
push edx
mov eax, ebx
call fcn.0046c9f0
mov edi, eax
add esp, 0x14
cmp edi, esi
je 0x49b2ea
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x18]
cmp dword [ecx + 0x54], eax
mov dword [esp + 0x84], eax
jg 0x49b2c6
push ebp
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x49b2ea
mov eax, dword [esp + 0x84]
inc dword [ebp + 0x20]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 4]
lea eax, [eax + edx*4]
xor ecx, ecx
mov byte [eax], 0x20
mov byte [eax + 3], 0
mov dword [eax + 4], edi
mov dword [eax + 8], esi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [esp + 0x64]
inc eax
inc esi
cmp eax, dword [esp + 0x3c]
mov dword [esp + 0x64], eax
jl 0x49b270
cmp dword [esp + 0x44], 0
je 0x49b32b
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x48]
push ecx
push edx
push 0x46
push ebp
xor ecx, ecx
call fcn.00458080
add esp, 0x10
cmp dword [esp + 0x44], 0
mov dword [esp + 0x60], eax
jl 0x49b374
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x48]
push eax
push edi
push ecx
push 0x31
mov esi, ebp
call fcn.00457e10
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x50]
push 0
push edx
push eax
push 0x6f
call fcn.00457e10
add esp, 0x20
cmp dword [esp + 0x44], 0
je 0x49b378
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x49b378
mov eax, dword [ebp + 0x20]
lea edx, [eax + eax*4]
mov byte [ecx + edx*4 - 0x11], 0x10
jmp 0x49b378
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x48]
push eax
mov eax, edi
mov esi, ebx
call fcn.0046c870
add esp, 4
cmp edi, dword [ebx + 0x38]
jle 0x49b398
mov ecx, dword [esp + 0x48]
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x3c], ecx
mov esi, dword [ebp + 0x20]
mov edx, dword [ebp + 0x18]
cmp dword [edx + 0x54], esi
jg 0x49b3b0
push ebp
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x49b3df
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x20]
mov edx, dword [esp + 0x34]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x78]
xor edi, edi
mov byte [eax], 0xf
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
jmp 0x49b3e1
xor edi, edi
mov eax, dword [esp + 0x60]
cmp eax, edi
je 0x49b404
mov ecx, dword [ebp + 0x20]
cmp ecx, eax
jbe 0x49b3fa
lea edx, [eax + eax*4]
mov eax, dword [ebp + 4]
mov dword [eax + edx*4 + 8], ecx
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x18]
dec ecx
mov dword [edx + 0x58], ecx
mov eax, dword [esp + 0x88]
cmp byte [eax + 0x27], 0
je 0x49b419
mov dword [esp + 0x7c], 1
mov esi, dword [eax + 0x320]
test dword [esi + 0x24], 0x200
je 0x49b460
cmp dword [esp + 0x24], edi
je 0x49b437
mov ecx, dword [esp + 0x20]
cmp dword [esi + 0x1c], ecx
jne 0x49b460
mov edx, dword [esp + 0x38]
test byte [edx + 0x2a], 0x20
je 0x49b44f
mov ecx, dword [esi + 0x1c]
mov edx, dword [ecx + 0x34]
and dl, 3
cmp dl, 2
je 0x49b460
mov ecx, dword [esi + 0x1c]
or dword [esp + 0x5c], 0x1000
mov dword [esp + 0x20], ecx
jmp 0x49b464
mov dword [esp + 0x20], edi
push eax
call fcn.004a2280
mov edi, dword [esp + 0x6c]
add esp, 4
mov eax, dword [esp + 0x24]
add dword [esp + 0x6c], 0x30
inc eax
cmp eax, dword [edi + 0xc]
mov dword [esp + 0x24], eax
jl 0x49b140
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
mov dword [esi + 0x38], eax
test eax, eax
je 0x49b49e
mov edx, dword [esp + 0x70]
mov dword [esi + 8], edx
cmp dword [esp + 0x2c], 0
je 0x49b4be
mov eax, dword [esp + 0x2c]
push eax
mov dword [eax + 0xc], 0
mov eax, dword [esp + 0x34]
push eax
call fcn.00469eb0
add esp, 8
mov eax, dword [ebp + 0x20]
mov ecx, dword [esp + 0x74]
cmp eax, ecx
jbe 0x49b4d3
mov edx, dword [ebp + 4]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 4], eax
mov edi, dword [esi + 0xc]
mov esi, dword [ebp + 0x20]
mov eax, dword [ebp + 0x18]
cmp dword [eax + 0x54], esi
jg 0x49b4ee
push ebp
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x49b512
mov edx, dword [ebp + 4]
inc dword [ebp + 0x20]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
xor ecx, ecx
mov byte [eax], 0xe
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov ecx, dword [ebp + 0x18]
or eax, 0xffffffff
sub eax, dword [esp + 0x78]
js 0x49b52b
mov edx, dword [ecx + 0x70]
test edx, edx
je 0x49b52b
mov esi, dword [ebp + 0x20]
mov dword [edx + eax*4], esi
mov eax, dword [ebp + 0x20]
dec eax
mov dword [ecx + 0x58], eax
mov ecx, dword [esp + 0x90]
cmp byte [ecx + 0x29], 1
jbe 0x49b54c
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x30]
call fcn.0043b7d0
cmp dword [esp + 0x7c], 0
jne 0x49b5a8
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x18]
call fcn.004998b0
jmp 0x49b5a8
test byte [esp + 0x88], 8
je 0x49b572
mov byte [edi + 0x2d], 0x9f
jmp 0x49b5a8
mov eax, dword [esp + 0x20]
mov dl, byte [eax + 0x539a10]
mov ecx, dword [esp + 0x1c]
mov byte [edi + 0x2d], dl
mov edx, dword [esp + 0x44]
push 0
mov dword [edi + 0x30], ecx
movzx eax, byte [eax + 0x539a14]
push edx
push ecx
push eax
mov esi, ebp
call fcn.00457e10
add esp, 0x10
inc eax
mov dword [edi + 0x34], eax
mov byte [edi + 0x2f], 1
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx + 0xc]
mov edi, dword [ecx + 0x14]
mov dword [esp + 0x28], edi
mov dword [esp + 0x48], eax
test eax, eax
jle 0x49b6cc
mov edx, dword [esp + 0x18]
movzx eax, word [edi + 0x14]
xor esi, esi
mov dword [esp + 0x88], eax
test al, 6
jne 0x49b6b0
mov eax, dword [edi + 0x28]
mov ecx, dword [edi + 0x2c]
and eax, dword [edx + 0x48]
and ecx, dword [edx + 0x4c]
or eax, ecx
je 0x49b5fb
mov eax, dword [esp + 0x90]
mov byte [eax + 0x27], 1
jmp 0x49b6b0
cmp dword [edx], 0
mov eax, dword [edi]
mov dword [esp + 0x84], eax
je 0x49b613
test byte [eax + 4], 1
je 0x49b6b0
test dword [esp + 0x88], 0x200
je 0x49b66a
mov esi, dword [ebp + 0x20]
mov edx, dword [ebp + 0x18]
cmp dword [edx + 0x54], esi
mov ecx, dword [esp + 0x18]
mov edi, dword [ecx + 0x24]
jg 0x49b646
push ebp
call fcn.00457d80
add esp, 4
test eax, eax
je 0x49b646
mov esi, 1
jmp 0x49b66a
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x20]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov byte [eax], 0x2e
mov byte [eax + 3], 0
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x84]
push 0x10
push edx
push eax
push ebx
call fcn.0046e560
add esp, 0x10
test esi, esi
je 0x49b6a1
mov eax, dword [ebp + 0x20]
cmp eax, esi
jbe 0x49b697
mov edx, dword [ebp + 4]
lea ecx, [esi + esi*4]
mov dword [edx + ecx*4 + 8], eax
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x18]
dec eax
mov dword [ecx + 0x58], eax
mov eax, dword [esp + 0x28]
or word [eax + 0x14], 4
mov edx, dword [esp + 0x18]
mov edi, eax
mov eax, dword [esp + 0x48]
dec eax
add edi, 0x30
mov dword [esp + 0x48], eax
mov dword [esp + 0x28], edi
test eax, eax
jg 0x49b5c6
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x28], eax
mov dword [esp + 0x48], ecx
test ecx, ecx
jle 0x49b81a
test byte [eax + 0x14], 6
jne 0x49b7fe
movzx ecx, word [eax + 0x12]
test cl, 0x82
je 0x49b7fe
test ecx, 0x800
je 0x49b7fe
mov edx, dword [eax + 8]
cmp edx, dword [esp + 0x1c]
jne 0x49b7fe
mov eax, dword [esp + 0x18]
cmp dword [eax], 0
jne 0x49b7fe
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [esp + 0x9c]
push 0
push 0x83
push edx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0xa4]
push ecx
push edx
mov edx, dword [esp + 0x60]
call fcn.0049d810
mov edi, eax
add esp, 0x14
test edi, edi
je 0x49b7fe
test byte [edi + 0x14], 4
jne 0x49b7fe
mov esi, dword [esp + 0x30]
push 0
push 0x30
call fcn.0043ba30
add esp, 8
mov dword [esp + 0x54], eax
test eax, eax
je 0x49b7fe
mov esi, dword [edi]
mov edi, eax
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0xc]
mov ecx, dword [esp + 0x58]
push 0x10
push ecx
push eax
push ebx
mov dword [eax + 0xc], edx
call fcn.0046e560
mov eax, dword [esp + 0x64]
add esp, 0x10
cmp dword [esp + 0x30], 0
je 0x49b7f5
mov ecx, dword [esp + 0x30]
cmp dword [ecx + 0x208], 0
je 0x49b7cf
call fcn.0043b790
jmp 0x49b7fe
cmp eax, dword [ecx + 0x114]
jb 0x49b7f5
cmp eax, dword [ecx + 0x118]
jae 0x49b7f5
mov edx, dword [ecx + 0x110]
mov dword [eax], edx
dec dword [ecx + 0xfc]
mov dword [ecx + 0x110], eax
jmp 0x49b7fe
push eax
call fcn.0043b720
add esp, 4
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x28]
dec ecx
add eax, 0x30
mov dword [esp + 0x48], ecx
mov dword [esp + 0x28], eax
test ecx, ecx
jg 0x49b6e2
mov eax, dword [esp + 0x18]
cmp dword [eax], 0
je 0x49b8cb
mov ecx, dword [ebp + 0x20]
mov edi, dword [eax]
mov dword [eax + 0x1c], ecx
mov esi, dword [ebp + 0x20]
mov edx, dword [ebp + 0x18]
cmp dword [edx + 0x54], esi
jg 0x49b847
push ebp
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x49b870
mov edx, dword [ebp + 4]
mov ecx, 1
add dword [ebp + 0x20], ecx
lea eax, [esi + esi*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x17
mov byte [eax + 3], 0
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov edx, ebx
call fcn.0046cab0
mov edi, dword [esp + 0x4c]
mov esi, dword [edi + 0x14]
xor ebp, ebp
cmp dword [edi + 0xc], ebp
jle 0x49b8cb
mov edx, dword [esp + 0x18]
lea esp, [esp]
test byte [esi + 0x14], 6
jne 0x49b8c2
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
and eax, dword [edx + 0x48]
and ecx, dword [edx + 0x4c]
or eax, ecx
jne 0x49b8c2
mov eax, dword [esp + 0x58]
mov ecx, dword [esi]
push 0x10
push eax
push ecx
push ebx
call fcn.0046e560
mov edx, dword [esp + 0x28]
add esp, 0x10
or word [esi + 0x14], 4
inc ebp
add esi, 0x30
cmp ebp, dword [edi + 0xc]
jl 0x49b890
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x48]
mov edx, dword [ecx + 0x4c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret