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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xfc
mov eax, dword [0x4c3790]
xor eax, esp
mov dword [esp + 0xf8], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [esp + 0x6c], eax
lea eax, [eax + eax*8]
push esi
mov esi, ecx
lea eax, [esi + eax*8 + 0x2e0]
lea ecx, [esi + 0x148]
mov dword [esp + 8], eax
mov dword [esp + 0x60], ecx
mov ecx, dword [eax + 0x38]
movzx eax, byte [eax + 0x24]
push edi
mov edi, dword [esi]
mov edx, dword [edi]
mov ebx, dword [edi + 8]
mov dword [esp + 0x68], edx
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
add edx, edx
lea eax, [eax + edx*8 + 8]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x44]
mov dword [esp + 0x78], esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x2c], 0
test eax, eax
jle 0x485d82
lea ecx, [esi + 0x48]
mov edx, dword [esp + 0x34]
cmp dword [ecx], edx
je 0x485fa1
inc dword [esp + 0x2c]
add ecx, 4
cmp dword [esp + 0x2c], eax
jl 0x485d69
xor eax, eax
xor edx, edx
mov ecx, dword [esp + 0xc]
not eax
and eax, dword [ebp + 0xc]
not edx
and edx, dword [ebp + 0x10]
mov dword [ecx + 0x40], eax
mov dword [ecx + 0x44], edx
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
mov ecx, dword [esp + 0x74]
call fcn.004aa3f0
and eax, 1
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x3c]
test byte [eax + 0x24], 0x40
je 0x485dc8
test byte [esi + 0x22], 0x20
mov dword [esp + 0x58], 1
je 0x485dd0
mov dword [esp + 0x58], 0
mov eax, dword [ebx + 0x18]
mov ecx, dword [eax + 0x6c]
lea edx, [ecx + 1]
mov dword [eax + 0x6c], edx
lea edx, [ecx - 1]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x24], ecx
test ecx, edx
jne 0x485e1c
mov eax, ecx
lea ecx, [eax*8 + 4]
push 0
push ecx
mov ecx, dword [esp + 0x64]
mov eax, dword [ecx + 0x70]
mov esi, dword [ecx]
call fcn.0041f030
mov edx, dword [esp + 0x64]
mov esi, dword [esp + 0x80]
mov ecx, dword [esp + 0x2c]
mov dword [edx + 0x70], eax
add esp, 8
mov eax, edx
mov eax, dword [eax + 0x70]
test eax, eax
je 0x485e2a
mov dword [eax + ecx*4], 0xffffffff
or eax, 0xffffffff
sub eax, ecx
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0xc], eax
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 0x6c]
lea edx, [eax + 1]
mov dword [ecx + 0x6c], edx
lea edx, [eax - 1]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x24], eax
test eax, edx
jne 0x485e87
lea ecx, [eax*8 + 4]
push 0
push ecx
mov ecx, dword [esp + 0x64]
mov eax, dword [ecx + 0x70]
mov esi, dword [ecx]
call fcn.0041f030
mov edx, dword [esp + 0x64]
mov esi, dword [esp + 0x80]
mov dword [edx + 0x70], eax
mov eax, dword [esp + 0x2c]
add esp, 8
mov ecx, edx
mov ecx, dword [ecx + 0x70]
test ecx, ecx
je 0x485e95
mov dword [ecx + eax*4], 0xffffffff
or ecx, 0xffffffff
sub ecx, eax
mov eax, dword [esp + 0xc]
cmp byte [eax + 0x24], 0
mov dword [esp + 0x5c], ecx
mov dword [eax + 0x18], ecx
jbe 0x485f0d
mov eax, dword [esp + 0x54]
test byte [eax + 0x24], 8
je 0x485f0d
mov ecx, dword [edi + 0x48]
mov edx, dword [esp + 0xc]
inc ecx
mov dword [edi + 0x48], ecx
mov dword [edx], ecx
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x48], eax
cmp dword [edx + 0x54], eax
jg 0x485eea
push ebx
call fcn.0043cdf0
add esp, 4
test eax, eax
jne 0x485f0d
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x48]
mov edx, dword [ebx + 4]
inc dword [ebx + 0x20]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
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 word [eax], 0x19
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x80], eax
test al, 4
je 0x485ff1
mov eax, dword [ecx + 0x1c]
mov esi, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x24], eax
mov dword [esp + 0x48], ecx
cmp dword [edx + 0x54], esi
jg 0x485f49
push ebx
call fcn.0043cdf0
add esp, 4
test eax, eax
jne 0x485f74
mov ecx, dword [ebx + 4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x24]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x48]
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov word [eax], 0x14
mov esi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x54], esi
jg 0x485fb6
push ebx
call fcn.0043cdf0
add esp, 4
test eax, eax
je 0x485fb6
mov eax, dword [esp + 0xc]
mov esi, 1
mov dword [eax + 0x2c], esi
mov byte [eax + 0x25], 0x10
jmp 0x4862b9
mov ecx, dword [esp + 0x2c]
mov eax, 1
xor edx, edx
call fcn.004aa2a0
jmp 0x485d86
mov edx, dword [ebx + 4]
inc dword [ebx + 0x20]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x16
mov eax, dword [esp + 0xc]
mov dword [eax + 0x2c], esi
mov byte [eax + 0x25], 0x10
jmp 0x4862b9
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + 0x24]
test eax, 0x400
je 0x486220
movzx edx, word [ecx + 0x28]
mov eax, dword [edi + 0x38]
inc dword [edi + 0x64]
mov esi, dword [edi + 0x3c]
mov dword [esp + 0x28], edx
add edx, 2
mov dword [esp + 0x70], edx
mov dword [esp + 0x20], esi
cmp edx, eax
jg 0x48602f
add esi, edx
sub eax, edx
mov dword [edi + 0x3c], esi
mov dword [edi + 0x38], eax
jmp 0x48603e
mov eax, dword [edi + 0x48]
lea esi, [eax + 1]
add edx, eax
mov dword [esp + 0x20], esi
mov dword [edi + 0x48], edx
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 0xc]
xor esi, esi
mov dword [esp + 0x24], edx
cmp dword [esp + 0x28], esi
jle 0x4860a5
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x48609e
test byte [eax + 0x12], 1
mov ecx, dword [esp + 0x20]
lea edx, [ecx + esi + 2]
push edx
je 0x48608b
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x10]
push ecx
push esi
push eax
push edi
call fcn.004850b0
mov edx, dword [ebx + 0x10]
mov ebx, dword [esp + 0x28]
add esp, 0x14
mov dword [esp + 0x24], edx
jmp 0x48609a
mov eax, dword [eax]
mov ecx, dword [eax + 0x10]
push ecx
push edi
call fcn.00453a00
add esp, 0xc
mov ecx, dword [esp + 0x3c]
inc esi
cmp esi, dword [esp + 0x28]
jl 0x486051
mov esi, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
mov edi, dword [ecx + 0x18]
cmp dword [edx + 0x54], esi
jg 0x4860c0
push ebx
call fcn.0043cdf0
add esp, 4
test eax, eax
jne 0x4860e7
mov ecx, dword [ebx + 4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x20]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x19
mov esi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x54], esi
jg 0x4860ff
push ebx
call fcn.0043cdf0
add esp, 4
test eax, eax
jne 0x48612b
mov edx, dword [ebx + 4]
inc dword [ebx + 0x20]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
inc edx
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x19
mov eax, dword [esp + 0x3c]
movzx edi, byte [eax + 0x1c]
mov esi, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
mov eax, dword [eax + 0x20]
neg edi
sbb edi, edi
and edi, 0xfffffff7
mov dword [esp + 0x48], eax
cmp dword [ecx + 0x54], esi
jg 0x486160
push ebx
call fcn.0043cdf0
add esp, 4
test eax, eax
je 0x486160
mov esi, 1
jmp 0x486191
mov eax, dword [ebx + 4]
inc dword [ebx + 0x20]
mov ecx, dword [esp + 0x34]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x20]
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov word [eax], 0xe
lea ecx, [edi - 2]
mov edi, dword [esp + 0x48]
push ebx
mov eax, esi
call fcn.0043d710
mov ebx, dword [esp + 0x40]
xor esi, esi
add esp, 4
mov byte [ebx + 0x1c], 0
cmp dword [esp + 0x28], esi
jle 0x4861dd
cmp esi, 0x10
jge 0x4861dd
mov dx, word [ebx + 0x1e]
mov cx, si
shr dx, cl
test dl, 1
je 0x4861d6
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax + esi*4]
mov edi, dword [esp + 0xc]
call fcn.00484fe0
inc esi
cmp esi, dword [esp + 0x28]
jl 0x4861b3
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x20]
mov dword [eax + 0x28], ecx
mov byte [eax + 0x25], 0x95
mov ecx, dword [edx + 0x20]
mov dword [eax + 0x2c], ecx
mov eax, dword [esp + 0x1c]
mov ecx, esi
call fcn.00452320
cmp esi, dword [eax + 0x38]
jle 0x486214
mov dword [eax + 0x38], esi
mov dword [eax + 0x3c], edi
call fcn.00452420
mov edi, eax
jmp 0x4862b9
mov edx, eax
and edx, 0x100
je 0x4862ff
test al, 5
je 0x4862ff
mov ebx, dword [esp + 0xc]
mov edx, ecx
mov eax, dword [edx + 0x2c]
mov eax, dword [eax]
inc dword [edi + 0x48]
mov esi, dword [edi + 0x48]
mov ecx, dword [esp + 0x40]
push esi
push ecx
push 0
push eax
push edi
call fcn.004850b0
mov ebx, eax
add esp, 0x14
cmp ebx, esi
je 0x486266
mov edx, edi
call fcn.00454e10
mov edx, dword [esp + 0xc]
mov edi, dword [edx + 0x10]
mov esi, dword [esp + 0x14]
push edi
push ebx
push 0x26
call fcn.0043cf90
mov eax, dword [esp + 0x40]
add esp, 0xc
push ebx
push edi
push eax
push 0x46
call fcn.0043ce80
mov eax, dword [esp + 0x2c]
mov ecx, 1
mov edi, ebx
call fcn.00452320
mov ecx, dword [esp + 0x44]
push ebx
push 0xffffffffffffffff
push ecx
mov edx, eax
call fcn.00452210
mov edx, dword [esp + 0x28]
add esp, 0x1c
mov byte [edx + 0x25], 0x9a
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x64]
mov ebx, dword [eax + 0xc]
mov esi, dword [eax + 0x14]
test ebx, ebx
jle 0x4871d3
jmp 0x4862d0
test byte [esi + 0x14], 6
jne 0x4871c3
mov edx, dword [esp + 0xc]
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
and eax, dword [edx + 0x40]
and ecx, dword [edx + 0x44]
or eax, ecx
je 0x4871a1
mov edx, dword [esp + 0x78]
mov byte [edx + 0x27], 1
jmp 0x4871c3
test edx, edx
je 0x4864f2
test al, 2
je 0x4864f2
xor edx, edx
xor esi, esi
mov dword [esp + 0x30], 0x9a
mov dword [esp + 0x24], edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x44], esi
test al, 0x20
je 0x486339
mov edx, dword [ecx + 0x2c]
mov esi, dword [edx]
mov dword [esp + 0x44], esi
mov edx, 1
test al, 0x10
je 0x486347
mov eax, dword [ecx + 0x2c]
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x4c], ecx
cmp dword [esp + 0x40], 0
je 0x48635c
mov eax, esi
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x44], esi
mov dword [esp + 0x4c], eax
test esi, esi
je 0x4863d4
mov edx, dword [esp + 0x44]
mov eax, dword [edx]
lea ecx, [esp + 0x70]
mov dword [esp + 0x48], eax
mov eax, dword [eax + 0x10]
push ecx
mov esi, edi
mov dword [esp + 0x2c], 0x403e3f41
call fcn.00453830
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x4c]
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x34]
push edi
push edx
movzx edx, byte [ecx]
push eax
movzx eax, byte [esp + edx - 0x1c]
push eax
mov esi, ebx
call fcn.0043ce80
mov eax, dword [esp + 0x2c]
add esp, 0x10
mov ecx, 1
call fcn.00452320
mov esi, dword [esp + 0x70]
mov edx, eax
call fcn.00454e10
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0xc]
call fcn.00484fe0
mov edi, dword [esp + 0x1c]
jmp 0x4863f7
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
neg eax
sbb eax, eax
push ecx
and eax, 0xfffffffd
push edx
add eax, 0x6c
push eax
mov esi, ebx
call fcn.0043cf90
add esp, 0xc
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x486460
mov ebx, dword [esi]
inc dword [edi + 0x48]
mov eax, dword [edi + 0x48]
mov ecx, dword [ebx + 0x10]
push eax
push ecx
push edi
mov dword [esp + 0x30], eax
call fcn.00453a00
mov bl, byte [ebx]
add esp, 0xc
cmp bl, 0x52
je 0x486438
cmp bl, 0x50
je 0x486438
xor edx, edx
cmp dword [esp + 0x40], edx
setne dl
lea edx, [edx + edx + 0x50]
mov dword [esp + 0x30], edx
jmp 0x486449
xor eax, eax
cmp dword [esp + 0x40], eax
sete al
lea eax, [eax + eax + 0x51]
mov dword [esp + 0x30], eax
mov edi, dword [esp + 0xc]
mov eax, esi
call fcn.00484fe0
mov ebx, dword [esp + 0x14]
mov eax, edi
mov edi, dword [esp + 0x1c]
jmp 0x486464
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x40], 0
mov esi, dword [ebx + 0x20]
mov edx, dword [esp + 0x34]
sete cl
add cl, 8
cmp dword [esp + 0x30], 0x9a
mov byte [eax + 0x25], cl
mov dword [eax + 0x28], edx
mov dword [eax + 0x2c], esi
je 0x4862b9
inc dword [edi + 0x48]
mov eax, dword [edi + 0x48]
push eax
mov dword [esp + 0x24], eax
mov eax, edx
push eax
push 0x67
mov esi, ebx
call fcn.0043cf90
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x40]
add esp, 0xc
push esi
push 0xffffffffffffffff
push ecx
mov edx, edi
call fcn.00452210
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
add esp, 0xc
push esi
push edx
push eax
push ecx
mov esi, ebx
call fcn.0043ce80
mov eax, dword [ebx + 4]
add esp, 0x10
test eax, eax
je 0x4862b9
mov ebx, dword [ebx + 0x20]
lea edx, [ebx + ebx*4]
mov byte [eax + edx*4 - 0x11], 0x53
jmp 0x4862b9
test eax, 0x200
je 0x486a14
movzx eax, word [ecx + 0x18]
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0xc]
mov edx, dword [edx + 8]
mov dword [esp + 0x18], eax
xor eax, eax
test byte [esi + 0x22], 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], eax
mov byte [esp + 0x3b], al
mov byte [esp + 0x13], al
mov byte [esp + 0x63], al
mov dword [esp + 0x28], edx
je 0x486551
cmp byte [esi + 0x24], al
jle 0x486551
mov edx, dword [esp + 0x2c]
mov dx, word [edx + 0x32]
cmp dx, word [esp + 0x18]
jbe 0x486551
mov byte [esp + 0x13], 1
mov eax, 1
movzx esi, word [esp + 0x18]
mov edx, dword [ecx + 0x24]
mov dword [esp + 0x50], esi
test dl, 0x20
je 0x486572
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax + esi*4]
mov dword [esp + 0x30], eax
inc esi
mov eax, 1
test dl, 0x10
je 0x4865b4
cmp dword [esp + 0x30], 0
mov ecx, dword [ecx + 0x2c]
mov edx, dword [ecx + esi*4]
mov dword [esp + 0x20], edx
mov eax, 1
jne 0x4865b4
mov edx, dword [esp + 0x2c]
mov ecx, dword [edx + 4]
mov esi, dword [esp + 0x50]
movsx ecx, word [ecx + esi*2]
test ecx, ecx
js 0x4865b4
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 4]
lea ecx, [ecx + ecx*2]
cmp byte [edx + ecx*8 + 0x14], 0
jne 0x4865b4
mov byte [esp + 0x13], al
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x44]
push ecx
push eax
mov eax, dword [esp + 0x14]
push edx
push eax
push edi
call fcn.00485290
add esp, 0x14
cmp dword [esp + 0x44], 0
mov esi, eax
mov dword [esp + 0x4c], esi
je 0x4865e9
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x50]
mov al, byte [edx + ecx]
mov byte [esp + 0x3b], al
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x10]
mov ecx, dword [esp + 0x2c]
movzx eax, word [ecx + 0x32]
mov dword [esp + 0x54], edx
mov dword [esp + 0x48], eax
cmp word [esp + 0x18], ax
jae 0x486620
mov eax, dword [ecx + 0x1c]
mov edx, dword [esp + 0x50]
xor ecx, ecx
cmp byte [edx + eax], cl
sete cl
cmp dword [esp + 0x40], ecx
je 0x48662e
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x40], 0
je 0x48664b
cmp ax, word [esp + 0x18]
jne 0x48664b
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x30], eax
mov al, byte [esp + 0x13]
mov dword [esp + 0x20], ecx
mov byte [esp + 0x13], 0
mov byte [esp + 0x63], al
mov eax, dword [esp + 0x30]
mov cl, 0x28
test eax, eax
je 0x486662
mov dword [esp + 0x6c], 0
test byte [eax + 0x12], cl
je 0x48666a
mov dword [esp + 0x6c], 1
cmp dword [esp + 0x20], 0
je 0x486682
mov edx, dword [esp + 0x20]
mov dword [esp + 0x74], 0
test byte [edx + 0x12], cl
je 0x48668a
mov dword [esp + 0x74], 1
test eax, eax
jne 0x486699
mov dword [esp + 0x7c], eax
cmp word [esp + 0x18], ax
jbe 0x4866a1
mov dword [esp + 0x7c], 1
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x18], ecx
test eax, eax
je 0x48673a
mov edx, dword [esp + 0x30]
mov eax, dword [edx]
mov eax, dword [eax + 0x10]
add esi, ecx
push esi
push eax
push edi
mov dword [esp + 0x90], eax
call fcn.00453a00
mov eax, dword [esp + 0x90]
add esp, 0xc
call fcn.00450cb0
test eax, eax
je 0x4866f0
mov edx, dword [esp + 0x54]
push edx
push esi
push 0x4c
mov esi, ebx
call fcn.0043cf90
add esp, 0xc
cmp dword [esp + 0x44], 0
je 0x486730
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x44]
mov bl, byte [eax + esi]
mov eax, dword [esp + 0x84]
call fcn.0044f120
mov ebx, dword [esp + 0x50]
cmp al, 0x41
jne 0x486719
mov byte [ebx + esi], al
mov dl, byte [ebx + esi]
mov ecx, dword [esp + 0x84]
call fcn.00450d60
test eax, eax
je 0x486730
mov byte [ebx + esi], 0x41
inc dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
jmp 0x486769
cmp byte [esp + 0x13], 0
je 0x48676d
add ecx, dword [esp + 0x4c]
mov esi, ebx
push ecx
push 0
push 0x1c
call fcn.0043cf90
mov eax, 1
add esp, 0xc
add dword [esp + 0x18], eax
mov dword [esp + 0x6c], 0
mov dword [esp + 0x7c], eax
mov esi, dword [esp + 0x4c]
movzx eax, byte [esp + 0x13]
mov ecx, dword [esp + 0x18]
sub ecx, eax
mov eax, dword [esp + 0x44]
push esi
push edi
call fcn.00485030
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x78]
push esi
push edx
mov edx, dword [esp + 0x90]
push eax
lea eax, [ecx + edx*2]
mov ecx, dword [esp + 0x58]
movzx edx, byte [ecx + eax*2 + 0x4b46e0]
push edx
mov eax, ebx
call fcn.0043d140
mov edi, dword [esp + 0x6c]
add esp, 0x1c
cmp dword [esp + 0x20], 0
mov dword [esp + 0x18], edi
je 0x486859
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov ebx, dword [ecx + 0x10]
mov eax, dword [esp + 0x1c]
add edi, esi
mov ecx, 1
mov dword [esp + 0x48], ebx
call fcn.00452320
push edi
push ebx
push eax
call fcn.00453a00
add esp, 0xc
mov eax, ebx
call fcn.00450cb0
test eax, eax
je 0x486812
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x14]
push eax
push edi
push 0x4c
call fcn.0043cf90
add esp, 0xc
mov esi, dword [esp + 0x48]
mov bl, byte [esp + 0x3b]
mov eax, esi
call fcn.0044f120
cmp al, 0x41
je 0x48684b
mov dl, byte [esp + 0x3b]
mov ecx, esi
call fcn.00450d60
test eax, eax
jne 0x48684b
mov ecx, dword [esp + 0x1c]
push edi
push ecx
lea eax, [esp + 0x43]
mov ecx, 1
call fcn.00485030
add esp, 8
inc dword [esp + 0x18]
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
jmp 0x48687e
cmp byte [esp + 0x63], 0
je 0x486882
mov edx, edi
add edx, dword [esp + 0x4c]
mov esi, ebx
push edx
push 0
push 0x1c
call fcn.0043cf90
add esp, 0xc
mov dword [esp + 0x74], 0
inc edi
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x68]
call fcn.0041ec40
mov ecx, dword [ebx + 0x20]
mov edx, dword [esp + 0xc]
mov dword [edx + 0x2c], ecx
test edi, edi
je 0x4868c4
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x74]
push edi
push esi
push eax
mov eax, dword [esp + 0x4c]
push ecx
movzx ecx, byte [edx + eax*2 + 0x4b46e8]
push ecx
mov eax, ebx
call fcn.0043d140
add esp, 0x14
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0xc]
call fcn.00484fe0
mov eax, dword [esp + 0x20]
call fcn.00484fe0
cmp dword [esp + 0x58], 0
jne 0x4869cc
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0xc]
test byte [eax + 0x2c], 0x20
jne 0x486937
mov edi, dword [esp + 0x1c]
inc dword [edi + 0x48]
mov ebx, dword [edi + 0x48]
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
push ebx
push eax
push 0x70
call fcn.0043cf90
mov ecx, dword [esp + 0x40]
add esp, 0xc
push ebx
push 0xffffffffffffffff
push ecx
mov edx, edi
call fcn.00452210
mov edx, dword [esp + 0x40]
add esp, 0xc
push ebx
push edx
push 0x42
call fcn.0043cf90
add esp, 0xc
jmp 0x4869c8
mov ecx, dword [esp + 0x28]
cmp dword [esp + 0x34], ecx
je 0x4869cc
call fcn.0045a0d0
mov ecx, dword [esp + 0x1c]
mov edi, eax
movzx esi, word [edi + 0x32]
call fcn.00454e40
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x58], eax
cmp dx, word [edi + 0x32]
jae 0x4869a6
jmp 0x486970
mov eax, dword [esp + 0x58]
mov edx, dword [edi + 4]
mov si, word [edx + ebx*2]
mov edx, dword [esp + 0x2c]
lea ecx, [ebx + eax]
push ecx
call fcn.0045a0f0
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x18]
cwde
push eax
push ecx
push 0x2f
call fcn.0043ce80
movzx edx, word [edi + 0x32]
inc ebx
add esp, 0x10
cmp ebx, edx
jl 0x486970
movzx eax, word [edi + 0x32]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push eax
mov eax, dword [esp + 0x24]
push 0x44
call fcn.0043d140
add esp, 0x14
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x3c]
test dword [eax + 0x24], 0x1000
je 0x4869df
mov byte [edi + 0x25], 0x9a
jmp 0x4869ed
cmp dword [esp + 0x40], 0
sete cl
add cl, 8
mov byte [edi + 0x25], cl
mov edx, dword [esp + 0x28]
mov dword [edi + 0x28], edx
mov cl, byte [eax + 0x26]
and cl, 1
mov byte [edi + 0x26], cl
test byte [eax + 0x24], 0xf
jne 0x4862b5
mov edx, dword [esp + 0xc]
mov byte [edx + 0x27], 1
jmp 0x4862b5
test eax, 0x2000
je 0x487147
mov eax, dword [edi + 0x44]
inc dword [edi + 0x48]
mov dword [esp + 0x8c], eax
inc eax
mov dword [edi + 0x44], eax
mov eax, dword [edi + 0x48]
xor ecx, ecx
mov dword [esp + 0x20], eax
mov eax, ebx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x7c], ecx
call fcn.0043d1f0
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x70], eax
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xc]
mov byte [eax + 0x25], 0x12
mov dword [eax + 0x28], ecx
mov al, byte [esi + 0x29]
mov dword [esp + 0x40], edx
cmp al, 1
jbe 0x486b7b
mov esi, dword [esp + 0x68]
movzx ebx, al
sub ebx, dword [esp + 0x74]
push 0
dec ebx
lea edx, [ebx + ebx*4]
shl edx, 4
add edx, 0x58
push edx
call fcn.0041eec0
add esp, 8
mov dword [esp + 0x30], eax
test eax, eax
jne 0x486ad6
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xf8]
xor ecx, esp
call fcn.00495b13
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x54]
lea eax, [ebx + 1]
movzx eax, al
mov dword [edx + 4], eax
mov dword [edx], eax
lea edi, [edx + 8]
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx + 4]
add eax, 8
mov dword [esp + 0x6c], eax
cmp ebx, 1
jl 0x486b42
add edx, 0x58
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x58], ebx
mov ebx, dword [esp + 0x24]
add edx, 0x6c
lea esp, [esp]
movzx eax, byte [edx]
lea esi, [eax + eax*4]
shl esi, 4
add esi, dword [esp + 0x6c]
mov edi, ebx
mov ecx, 0x14
add edx, 0x48
add ebx, 0x50
dec dword [esp + 0x58]
rep movsd dword es:[edi], dword [esi]
jne 0x486b20
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x78]
test byte [eax + 0x22], 8
mov ebx, dword [esp + 0x64]
jne 0x486bc3
mov eax, dword [esp + 0x44]
test byte [eax + 0x2c], 0x20
jne 0x486b84
inc dword [edi + 0x48]
mov eax, dword [edi + 0x48]
mov esi, dword [esp + 0x14]
push eax
push 0
push 0x1c
mov dword [esp + 0x38], eax
call fcn.0043cf90
add esp, 0xc
jmp 0x486bb9
mov edx, dword [esi + 4]
mov dword [esp + 0x30], edx
jmp 0x486b46
call fcn.0045a0d0
mov esi, dword [esp + 0x14]
mov ebx, eax
mov eax, dword [edi + 0x44]
lea ecx, [eax + 1]
mov dword [edi + 0x44], ecx
movzx edx, word [ebx + 0x32]
push edx
push eax
push 0x39
mov dword [esp + 0x38], eax
call fcn.0043cf90
add esp, 0xc
mov ecx, ebx
mov eax, edi
call fcn.0043d7f0
mov ebx, dword [esp + 0x64]
inc dword [edi + 0x48]
mov eax, dword [edi + 0x48]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
push ecx
push 0
push 0x19
call fcn.0043cf90
mov dword [esp + 0x8c], eax
mov eax, dword [ebx + 0xc]
add esp, 0xc
cmp eax, 1
jle 0x486cf1
xor esi, esi
mov dword [esp + 0x58], esi
cmp eax, esi
jle 0x486cf1
lea esp, [esp]
mov edx, dword [ebx + 0x14]
mov ecx, dword [esi + edx]
lea eax, [esi + edx]
cmp eax, dword [esp + 0x3c]
je 0x486c4f
test byte [ecx + 4], 1
jne 0x486c4f
mov eax, edx
test byte [eax + esi + 0x14], 0x12
jne 0x486c4f
mov edx, 0xfff
test word [eax + esi + 0x12], dx
je 0x486c4f
mov eax, dword [esp + 0x68]
push 0
push 0
push ecx
push eax
call fcn.0044fce0
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x7c]
push ecx
call fcn.0044f810
add esp, 0x18
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x58]
inc eax
add esi, 0x30
mov dword [esp + 0x58], eax
cmp eax, dword [ebx + 0xc]
jl 0x486c00
cmp dword [esp + 0x18], 0
je 0x486cf1
mov esi, dword [edi]
push 0
push 0x30
call fcn.0041eec0
mov esi, eax
add esp, 8
test esi, esi
je 0x486c9d
push 0x30
push 0
push esi
call fcn.00499a80
add esp, 0xc
or edx, 0xffffffff
mov byte [esi], 0x48
mov word [esi + 0x22], dx
mov dword [esi + 0x18], 1
mov ebx, dword [edi]
test esi, esi
jne 0x486cba
push esi
push ebx
call fcn.0044fbb0
mov eax, dword [esp + 0x20]
push eax
push ebx
call fcn.0044fbb0
add esp, 0x10
jmp 0x486ced
mov eax, dword [esp + 0x18]
mov dword [esi + 0x10], eax
mov ecx, dword [eax + 4]
and ecx, 0x100
or dword [esi + 4], ecx
mov ebx, esi
call fcn.0044f450
mov edx, dword [edi]
mov eax, dword [edx + 0x64]
cmp dword [esi + 0x18], eax
jle 0x486ced
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push edi
call fcn.00421850
add esp, 0xc
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x40]
xor eax, eax
mov dword [esp + 0x50], 0x70
mov dword [esp + 0x54], eax
cmp dword [esi + 0xc], eax
jle 0x486fff
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x14]
add eax, dword [esp + 0x24]
mov ecx, dword [eax + 8]
cmp ecx, dword [esp + 0x34]
je 0x486d2f
mov edx, 0x200
test word [eax + 0x12], dx
je 0x486fe8
mov ecx, dword [esp + 0x18]
mov eax, dword [eax]
mov dword [esp + 0x84], 0
test ecx, ecx
je 0x486d4f
test byte [eax + 4], 1
jne 0x486d4f
mov dword [ecx + 0xc], eax
mov eax, ecx
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x30]
push ecx
push edx
push 0
push 0
push eax
push ebx
push edi
call fcn.0048a4f0
add esp, 0x1c
mov dword [esp + 0x88], eax
test eax, eax
je 0x486fe8
mov ecx, dword [esp + 0xc]
movzx edx, byte [ecx + 0x24]
mov ecx, dword [esp + 0x74]
push 0
push edx
push ecx
lea edx, [eax + 0x2e0]
push edi
mov ecx, ebx
call fcn.00485a40
mov edx, dword [esp + 0x88]
add esp, 0x10
test byte [edx + 0x22], 8
jne 0x486f0a
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0xc]
mov esi, dword [esp + 0x54]
dec ecx
cmp esi, ecx
jne 0x486dc3
or esi, 0xffffffff
mov eax, dword [esp + 0x44]
test byte [eax + 0x2c], 0x20
mov dword [esp + 0x6c], esi
jne 0x486e12
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x34]
push 0
push edx
push ecx
push 0xffffffffffffffff
push eax
call fcn.004526b0
mov edx, dword [esp + 0x40]
add esp, 0x14
push esi
push eax
mov eax, dword [esp + 0x1c]
push 0
push edx
push 0x82
call fcn.0043d140
mov edi, dword [esp + 0x30]
add esp, 0x14
mov dword [esp + 0x84], eax
jmp 0x486f0a
call fcn.0045a0d0
movzx ebx, word [eax + 0x32]
mov ecx, dword [edi + 0x3c]
mov dword [esp + 0x58], eax
mov eax, dword [edi + 0x38]
mov dword [esp + 0x28], ecx
cmp ebx, eax
jg 0x486e39
add ecx, ebx
sub eax, ebx
mov dword [edi + 0x3c], ecx
mov dword [edi + 0x38], eax
jmp 0x486e49
mov eax, dword [edi + 0x48]
lea ecx, [eax + 1]
lea edx, [ebx + eax]
mov dword [esp + 0x28], ecx
mov dword [edi + 0x48], edx
xor esi, esi
test ebx, ebx
jle 0x486e81
jmp 0x486e55
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x34]
push 0
add eax, esi
push eax
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x4c]
push ecx
movsx ecx, word [eax + esi*2]
push ecx
push edx
call fcn.004526b0
inc esi
add esp, 0x14
cmp esi, ebx
jl 0x486e51
mov edi, dword [esp + 0x6c]
mov esi, dword [esp + 0x14]
test edi, edi
je 0x486eaf
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
push ebx
push eax
push 0
push ecx
push 0x45
mov eax, esi
call fcn.0043d140
add esp, 0x14
mov dword [esp + 0x84], eax
test edi, edi
js 0x486eee
mov edi, dword [esp + 0x7c]
mov edx, dword [esp + 0x28]
push edi
push ebx
push edx
push 0x31
call fcn.0043ce80
mov eax, dword [esp + 0x3c]
push 0
push edi
push eax
push 0x6e
call fcn.0043ce80
add esp, 0x20
cmp dword [esp + 0x6c], 0
je 0x486eee
mov eax, dword [esi + 4]
test eax, eax
je 0x486eee
mov esi, dword [esi + 0x20]
lea ecx, [esi + esi*4]
mov byte [eax + ecx*4 - 0x11], 0x10
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
mov ecx, ebx
call fcn.00452320
cmp ebx, dword [eax + 0x38]
jle 0x486f08
mov dword [eax + 0x38], ebx
mov dword [eax + 0x3c], edi
mov edi, eax
mov esi, dword [esp + 0x14]
mov ebx, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
cmp dword [edx + 0x54], ebx
jg 0x486f26
push esi
call fcn.0043cdf0
add esp, 4
test eax, eax
jne 0x486f53
mov ecx, dword [esi + 4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x20]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x70]
mov dword [eax + 4], edx
xor edx, edx
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov word [eax], 0x11
jmp 0x486f55
xor edx, edx
mov eax, dword [esp + 0x84]
cmp eax, edx
je 0x486f7b
mov ecx, dword [esi + 0x20]
cmp ecx, eax
jbe 0x486f71
mov ebx, dword [esi + 4]
lea eax, [eax + eax*4]
mov dword [ebx + eax*4 + 8], ecx
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
dec ecx
mov dword [eax + 0x58], ecx
mov eax, dword [esp + 0x88]
cmp byte [eax + 0x27], 0
je 0x486f90
mov dword [esp + 0x48], 1
mov ecx, dword [eax + 0x318]
test dword [ecx + 0x24], 0x200
je 0x486fd7
cmp dword [esp + 0x54], edx
je 0x486fae
mov esi, dword [esp + 0x4c]
cmp dword [ecx + 0x1c], esi
jne 0x486fd7
mov esi, dword [esp + 0x44]
test byte [esi + 0x2c], 0x20
je 0x486fc6
mov esi, dword [ecx + 0x1c]
mov ebx, dword [esi + 0x38]
and bl, 3
cmp bl, 2
je 0x486fd7
mov ecx, dword [ecx + 0x1c]
or dword [esp + 0x50], 0x1000
mov dword [esp + 0x4c], ecx
jmp 0x486fdb
mov dword [esp + 0x4c], edx
push eax
call fcn.0048af40
mov esi, dword [esp + 0x44]
add esp, 4
mov eax, dword [esp + 0x54]
add dword [esp + 0x24], 0x30
inc eax
mov dword [esp + 0x54], eax
cmp eax, dword [esi + 0xc]
jl 0x486d10
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x30], eax
test eax, eax
je 0x487018
mov edx, dword [esp + 0x8c]
mov dword [ecx + 8], edx
cmp dword [esp + 0x18], 0
je 0x487038
mov eax, dword [esp + 0x18]
push eax
mov dword [eax + 0xc], 0
mov eax, dword [esp + 0x6c]
push eax
call fcn.0044fbb0
add esp, 8
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x20]
mov ecx, dword [esp + 0x80]
cmp eax, ecx
jbe 0x487054
mov edx, dword [edx + 4]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 4], eax
mov edx, dword [esp + 0x14]
mov esi, dword [edx + 0x20]
mov ecx, dword [edx + 0x18]
mov eax, dword [esp + 0xc]
mov ebx, dword [eax + 0xc]
cmp dword [ecx + 0x54], esi
jg 0x48707b
push edx
call fcn.0043cdf0
mov edx, dword [esp + 0x18]
add esp, 4
test eax, eax
jne 0x4870a0
mov ecx, dword [edx + 4]
inc dword [edx + 0x20]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
xor esi, esi
mov byte [eax + 3], 0
mov dword [eax + 4], esi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov word [eax], 0x10
jmp 0x4870a2
xor esi, esi
mov ecx, dword [edx + 0x18]
or eax, 0xffffffff
sub eax, dword [esp + 0x70]
js 0x4870bb
mov ebx, dword [ecx + 0x70]
cmp ebx, esi
je 0x4870bb
mov esi, dword [edx + 0x20]
mov dword [ebx + eax*4], esi
mov edx, dword [edx + 0x20]
mov eax, dword [esp + 0x78]
dec edx
mov dword [ecx + 0x58], edx
cmp byte [eax + 0x29], 1
jbe 0x48712a
cmp dword [esp + 0x30], 0
je 0x48712a
mov eax, dword [esp + 0x68]
test eax, eax
je 0x48711d
cmp dword [eax + 0x208], 0
je 0x4870f3
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x68]
call fcn.0041ec00
jmp 0x48712a
mov ecx, dword [esp + 0x30]
cmp ecx, dword [eax + 0x114]
jb 0x48711d
cmp ecx, dword [eax + 0x118]
jae 0x48711d
mov edx, dword [eax + 0x110]
mov dword [ecx], edx
dec dword [eax + 0xfc]
mov dword [eax + 0x110], ecx
jmp 0x48712a
mov eax, dword [esp + 0x30]
push eax
call fcn.0041eb60
add esp, 4
cmp dword [esp + 0x48], 0
jne 0x4862b9
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0xc]
call fcn.00484fe0
jmp 0x4862b5
test byte [esp + 0x80], 8
je 0x48715e
mov ecx, dword [esp + 0xc]
mov byte [ecx + 0x25], 0x9a
jmp 0x4862b9
mov eax, dword [esp + 0x40]
mov dl, byte [eax + 0x4b46ec]
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x34]
mov byte [esi + 0x25], dl
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x28], ecx
movzx eax, byte [eax + 0x4b46f0]
push edx
push ecx
push eax
mov esi, ebx
call fcn.0043cf90
lea ecx, [eax + 1]
mov eax, dword [esp + 0x18]
add esp, 0xc
mov dword [eax + 0x2c], ecx
mov byte [eax + 0x27], 1
jmp 0x4862b9
cmp dword [edx], 0
mov eax, dword [esi]
je 0x4871ae
test byte [eax + 4], 1
je 0x4871c3
mov ecx, dword [esp + 0x5c]
push 0x10
push ecx
push eax
push edi
call fcn.00454270
add esp, 0x10
or byte [esi + 0x14], 4
dec ebx
add esi, 0x30
test ebx, ebx
jg 0x4862d0
mov eax, dword [esp + 0x64]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x70], eax
test eax, eax
jle 0x487367
lea esp, [esp]
mov eax, dword [esp + 0x3c]
test byte [eax + 0x14], 6
jne 0x487351
mov ecx, 0x402
mov edx, eax
cmp word [edx + 0x12], cx
jne 0x487351
mov eax, dword [esp + 0x34]
mov ecx, edx
cmp dword [ecx + 8], eax
jne 0x487351
mov edx, dword [esp + 0xc]
cmp dword [edx], 0
jne 0x487351
mov edx, dword [esp + 0x34]
mov eax, ecx
mov ecx, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x80], ecx
push 3
push edx
lea ecx, [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x70]
xor edx, edx
mov dword [esp + 0x30], 0
call fcn.00482ba0
add esp, 0xc
test eax, eax
je 0x48729f
mov esi, dword [eax + 0x20]
mov ebx, dword [eax + 0x24]
mov ecx, esi
and ecx, dword [ebp + 0xc]
mov edx, ebx
and edx, dword [ebp + 0x10]
or ecx, edx
jne 0x48728b
or esi, ebx
jne 0x487280
test byte [eax + 0x12], 2
jne 0x4872a3
cmp dword [esp + 0x24], 0
jne 0x48728b
mov dword [esp + 0x24], eax
lea edx, [esp + 0x90]
push edx
call fcn.004828b0
add esp, 4
test eax, eax
jne 0x487262
mov eax, dword [esp + 0x24]
mov dword [esp + 0x48], eax
test eax, eax
je 0x487351
test byte [eax + 0x14], 4
jne 0x487351
mov esi, dword [esp + 0x68]
push 0
push 0x30
call fcn.0041eec0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x487351
mov eax, dword [esp + 0x48]
mov esi, dword [eax]
mov eax, dword [esp + 0x5c]
mov ecx, 0xc
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + 0xc]
mov ecx, dword [esp + 0x1c]
push 0x10
push eax
push ebx
push ecx
mov dword [ebx + 0xc], edx
call fcn.00454270
mov ecx, dword [esp + 0x78]
add esp, 0x10
test ecx, ecx
je 0x487344
cmp dword [ecx + 0x208], 0
je 0x48731e
mov eax, ebx
call fcn.0041ec00
jmp 0x48734d
cmp ebx, dword [ecx + 0x114]
jb 0x487344
cmp ebx, dword [ecx + 0x118]
jae 0x487344
mov edx, dword [ecx + 0x110]
mov dword [ebx], edx
dec dword [ecx + 0xfc]
mov dword [ecx + 0x110], ebx
jmp 0x48734d
push ebx
call fcn.0041eb60
add esp, 4
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x70]
add dword [esp + 0x3c], 0x30
dec eax
mov dword [esp + 0x70], eax
test eax, eax
jg 0x4871f0
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
mov dword [esp + 0x80], edx
test edx, edx
je 0x4874a1
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x20]
mov esi, dword [esp + 0xc]
mov dword [esi + 0x1c], ecx
mov ecx, dword [eax + 0x20]
mov esi, dword [eax + 0x18]
mov dword [esp + 0x88], ecx
cmp dword [esi + 0x54], ecx
jg 0x487420
mov eax, dword [esi + 0x54]
test eax, eax
je 0x4873ab
add eax, eax
jmp 0x4873b0
mov eax, 0x33
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x14]
mov ebx, dword [eax + 4]
mov eax, dword [esi]
add edx, edx
add edx, edx
push 0
push edx
call fcn.0041ef60
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x487448
mov eax, dword [esi]
test eax, eax
je 0x4873f0
cmp ebx, dword [eax + 0x114]
jb 0x4873f0
cmp ebx, dword [eax + 0x118]
jae 0x4873f0
movzx ecx, word [eax + 0xf8]
jmp 0x4873fc
push ebx
call dword [0x4c4c60]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
mov ecx, dword [esp + 0x14]
shr edx, 4
mov dword [esi + 0x54], edx
mov edx, dword [esp + 0x80]
mov dword [ecx + 4], ebx
mov eax, ecx
mov ecx, dword [esp + 0x88]
mov esi, 1
add dword [eax + 0x20], esi
mov eax, dword [eax + 4]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 4], esi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x19
mov eax, edi
call fcn.00452750
mov ecx, dword [esp + 0x64]
mov esi, dword [ecx + 0x14]
xor ebx, ebx
mov edx, ecx
cmp dword [edx + 0xc], ebx
jle 0x4874a1
mov edx, dword [esp + 0xc]
test byte [esi + 0x14], 6
jne 0x487494
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
and eax, dword [edx + 0x40]
and ecx, dword [edx + 0x44]
or eax, ecx
jne 0x487494
mov eax, dword [esp + 0x5c]
mov ecx, dword [esi]
push 0x10
push eax
push ecx
push edi
call fcn.00454270
mov edx, dword [esp + 0x1c]
add esp, 0x10
or byte [esi + 0x14], 4
mov eax, dword [esp + 0x64]
inc ebx
add esi, 0x30
cmp ebx, dword [eax + 0xc]
jl 0x487463
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x40]
mov edx, dword [ecx + 0x44]
mov ecx, dword [esp + 0x104]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00495b13
mov esp, ebp
pop ebp
ret