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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe4
mov eax, dword [0x4f72bc]
xor eax, esp
mov dword [esp + 0xe0], eax
push ebx
push esi
push edi
mov edi, edx
mov eax, dword [edi]
mov esi, dword [eax + 8]
mov dword [esp + 0x14], eax
mov eax, dword [eax]
mov dword [esp + 0x6c], ecx
lea ebx, [edi + 0x148]
lea ecx, [ecx + ecx*8]
mov dword [esp + 0x64], eax
mov eax, dword [edi + ecx*8 + 0x318]
mov dword [esp + 0x68], ebx
lea ebx, [edi + ecx*8 + 0x2e0]
mov dword [esp + 0x40], eax
movzx eax, byte [ebx + 0x24]
lea ecx, [eax + eax*8]
mov eax, dword [edi + 4]
lea eax, [eax + ecx*8 + 8]
mov ecx, dword [eax + 0x2c]
xor edx, edx
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edx
mov dword [esp + 0x48], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x60], edx
cmp eax, edx
jle 0x46b393
lea ecx, [edi + 0x48]
mov edx, dword [esp + 0x38]
cmp dword [ecx], edx
je 0x46b576
inc dword [esp + 0x60]
add ecx, 4
cmp dword [esp + 0x60], eax
jl 0x46b37a
xor eax, eax
xor edx, edx
mov ecx, dword [esp + 0x6c]
not eax
and eax, dword [ebp + 8]
not edx
and edx, dword [ebp + 0xc]
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], edx
mov eax, dword [edi + 0x18]
mov edx, dword [edi + 0x1c]
call fcn.004dd250
and eax, 1
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x40]
test byte [eax + 0x24], 0x40
je 0x46b3d5
test byte [edi + 0x22], 0x20
mov dword [esp + 0x10], 1
je 0x46b3dd
mov dword [esp + 0x10], 0
mov edi, dword [esi + 0x24]
lea edx, [edi - 1]
lea ecx, [edi + 1]
mov dword [esi + 0x24], ecx
test edi, edx
jne 0x46b424
mov eax, dword [esi]
mov ebx, dword [esi + 0x28]
lea ecx, [edi*8 + 4]
push ecx
mov dword [esp + 0x48], eax
call fcn.00409340
add esp, 4
mov dword [esp + 0x58], eax
test eax, eax
jne 0x46b41d
mov ecx, dword [esp + 0x44]
mov eax, ebx
call fcn.00409080
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0xc]
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x28]
test eax, eax
je 0x46b432
mov dword [eax + edi*4], 0xffffffff
or eax, 0xffffffff
sub eax, edi
mov dword [ebx + 0x10], eax
mov dword [ebx + 0xc], eax
mov edi, dword [esi + 0x24]
mov dword [esp + 0x24], eax
lea eax, [edi - 1]
lea edx, [edi + 1]
mov dword [esi + 0x24], edx
test edi, eax
jne 0x46b488
mov eax, dword [esi]
mov ebx, dword [esi + 0x28]
lea ecx, [edi*8 + 4]
push ecx
mov dword [esp + 0x48], eax
call fcn.00409340
add esp, 4
mov dword [esp + 0x58], eax
test eax, eax
jne 0x46b481
mov ecx, dword [esp + 0x44]
mov eax, ebx
call fcn.00409080
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0xc]
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x28]
test eax, eax
je 0x46b496
mov dword [eax + edi*4], 0xffffffff
or eax, 0xffffffff
sub eax, edi
cmp byte [ebx + 0x24], 0
mov dword [esp + 0x60], eax
mov dword [ebx + 0x18], eax
jbe 0x46b501
mov edx, dword [esp + 0x20]
test byte [edx + 0x20], 8
je 0x46b501
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x4c]
mov eax, dword [esp + 0xc]
inc ecx
mov dword [edx + 0x4c], ecx
mov dword [eax], ecx
mov ebx, dword [esi + 0x1c]
mov dword [esp + 0x3c], ecx
cmp dword [esi + 0x20], ebx
jg 0x46b4de
mov edi, esi
call fcn.00425eb0
test eax, eax
jne 0x46b501
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi + 4]
inc dword [esi + 0x1c]
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*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], 0x17
mov eax, dword [esp + 0x20]
test byte [eax + 0x24], 4
je 0x46b605
mov ecx, dword [eax + 0x1c]
mov ebx, dword [esi + 0x1c]
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax + 0x18]
dec ecx
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x20], ebx
jg 0x46b535
mov edi, esi
call fcn.00425eb0
test eax, eax
jne 0x46b55c
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 4]
inc dword [esi + 0x1c]
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x17
mov ebx, dword [esi + 0x1c]
cmp dword [esi + 0x20], ebx
jg 0x46b58b
mov edi, esi
call fcn.00425eb0
test eax, eax
je 0x46b58b
mov ebx, 1
jmp 0x46b5b2
mov ecx, dword [esp + 0x60]
mov eax, 1
xor edx, edx
call fcn.004df990
jmp 0x46b397
mov eax, dword [esi + 4]
inc dword [esi + 0x1c]
mov ecx, dword [esp + 0x2c]
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*4]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x14
mov edx, dword [esp + 0xc]
mov dword [edx + 0x2c], ebx
mov ebx, dword [esi + 0x1c]
cmp dword [esi + 0x20], ebx
jg 0x46b5cc
mov edi, esi
call fcn.00425eb0
test eax, eax
jne 0x46b5f8
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [esp + 0x2c]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x24]
inc edx
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x29
mov edx, dword [esp + 0xc]
mov byte [edx + 0x25], 0x10
jmp 0x46c5cc
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 0x24]
test edx, 0x400
je 0x46b871
movzx eax, word [ecx + 0x28]
mov ebx, dword [esp + 0x14]
mov edx, dword [ebx + 0x3c]
inc dword [ebx + 0x60]
mov edi, dword [ebx + 0x40]
mov dword [esp + 0x3c], eax
add eax, 2
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edi
cmp eax, edx
jg 0x46b648
add edi, eax
sub edx, eax
mov dword [ebx + 0x40], edi
mov dword [ebx + 0x3c], edx
jmp 0x46b657
mov edx, dword [ebx + 0x4c]
lea edi, [edx + 1]
add eax, edx
mov dword [esp + 0x28], edi
mov dword [ebx + 0x4c], eax
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 0xc]
xor edi, edi
mov dword [esp + 0x18], edx
cmp dword [esp + 0x3c], edi
jle 0x46b6c4
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x46b6bd
test byte [eax + 0x12], 1
mov ecx, dword [esp + 0x28]
lea edx, [ecx + edi + 2]
push edx
je 0x46b6aa
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
push ecx
push edi
push eax
push ebx
call fcn.0046a7b0
mov ebx, dword [esp + 0x28]
mov edx, esi
mov eax, dword [edx + 0x10]
mov esi, dword [esp + 0x5c]
add esp, 0x14
mov dword [esp + 0x18], eax
jmp 0x46b6b9
mov eax, dword [eax]
mov ecx, dword [eax + 0x10]
push ecx
push ebx
call fcn.0043ab90
add esp, 0xc
mov ecx, dword [esp + 0x40]
inc edi
cmp edi, dword [esp + 0x3c]
jl 0x46b66a
mov eax, dword [esi + 0x1c]
mov edx, dword [ecx + 0x18]
mov dword [esp + 0x44], edx
mov dword [esp + 0x10], eax
cmp dword [esi + 0x20], eax
jg 0x46b6ea
mov edi, esi
call fcn.00425eb0
mov ecx, dword [esp + 0x40]
test eax, eax
jne 0x46b715
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x44]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x28]
mov dword [eax + 8], edx
xor edx, edx
mov byte [eax + 3], 0
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov word [eax], 0x17
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x10], eax
cmp dword [esi + 0x20], eax
jg 0x46b734
mov edi, esi
call fcn.00425eb0
mov ecx, dword [esp + 0x40]
test eax, eax
jne 0x46b760
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x3c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x28]
inc edx
mov dword [eax + 8], edx
xor edx, edx
mov byte [eax + 3], 0
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov word [eax], 0x17
movzx eax, byte [ecx + 0x1c]
neg eax
sbb eax, eax
and eax, 0xfffffff7
add eax, 0xfffffffe
mov dword [esp + 0x58], eax
mov eax, dword [ecx + 0x20]
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x20], ecx
jg 0x46b79b
mov edi, esi
call fcn.00425eb0
test eax, eax
je 0x46b797
mov eax, 1
jmp 0x46b7ce
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 4]
inc dword [esi + 0x1c]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x28]
mov byte [eax + 3], 0
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov word [eax], 0xe
mov eax, ecx
mov ecx, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x5c]
push esi
call fcn.004266d0
mov edx, dword [esp + 0x48]
xor edi, edi
add esp, 8
mov byte [edx + 0x1c], 0
mov dword [esp + 0x20], edi
cmp dword [esp + 0x3c], edi
jle 0x46b82e
cmp edi, 0x10
jge 0x46b82e
mov eax, dword [esp + 0x40]
mov dx, word [eax + 0x1e]
mov cx, di
shr dx, cl
test dl, 1
je 0x46b823
mov ecx, dword [eax + 0x2c]
mov edx, dword [esp + 0x20]
mov eax, dword [ecx + edx*4]
mov edi, dword [esp + 0xc]
call fcn.0046a6b0
mov edi, dword [esp + 0x20]
inc edi
mov dword [esp + 0x20], edi
cmp edi, dword [esp + 0x3c]
jl 0x46b7f4
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x28]
mov dword [eax + 0x28], ecx
mov ecx, dword [esp + 0x24]
mov byte [eax + 0x25], 0x8d
mov edx, dword [esi + 0x1c]
mov dword [eax + 0x2c], edx
mov eax, ebx
call fcn.004394b0
mov eax, dword [esp + 0x24]
cmp eax, dword [ebx + 0x3c]
jle 0x46b865
mov ecx, eax
mov edx, edi
mov dword [ebx + 0x3c], ecx
mov dword [ebx + 0x40], edx
mov eax, ebx
call fcn.004395b0
jmp 0x46c5cc
mov eax, edx
and eax, 0x100
je 0x46b927
test dl, 5
je 0x46b927
mov eax, dword [esp + 0x14]
mov cl, byte [eax + 0x13]
test cl, cl
jne 0x46b89a
inc dword [eax + 0x4c]
mov ecx, dword [eax + 0x4c]
jmp 0x46b8a6
dec cl
movzx edx, cl
mov byte [eax + 0x13], cl
mov ecx, dword [eax + edx*4 + 0x1c]
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0xc]
mov dword [esp + 0x74], ecx
mov ecx, dword [edx + 0x2c]
mov edx, dword [esp + 0x74]
mov ecx, dword [ecx]
push edx
mov edx, dword [esp + 0x20]
push edx
push 0
push ecx
push eax
call fcn.0046a7b0
mov edi, eax
mov ebx, esi
mov eax, dword [ebx + 0x10]
mov esi, dword [esp + 0x5c]
add esp, 0x14
push eax
mov dword [esp + 0x40], eax
push edi
push 0x23
mov eax, esi
call fcn.00426030
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
add esp, 0xc
push edi
push eax
push ecx
push 0x41
mov eax, esi
call fcn.00425f30
mov eax, dword [esp + 0x24]
mov ecx, 1
call fcn.004394b0
mov edx, dword [esp + 0x48]
push edi
push 0xffffffffffffffff
push edx
mov edx, eax
call fcn.004393a0
add esp, 0x1c
mov byte [ebx + 0x25], 0x97
jmp 0x46c5cc
xor edi, edi
cmp eax, edi
je 0x46bb0b
test dl, 2
je 0x46bb0b
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x20], 0x97
mov dword [esp + 0x18], edi
mov dword [esp + 0x34], edi
test dl, 0x20
je 0x46b95b
mov eax, dword [ecx + 0x2c]
mov ebx, dword [eax]
lea eax, [edi + 1]
test dl, 0x10
je 0x46b96a
mov ecx, dword [ecx + 0x2c]
mov edx, dword [ecx + eax*4]
mov dword [esp + 0x34], edx
cmp dword [esp + 0x1c], edi
je 0x46b97a
mov eax, ebx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x34], eax
cmp ebx, edi
je 0x46b9ec
mov edi, dword [ebx]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x44]
push eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0x30], 0x3b393a3c
call fcn.0043aa30
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
add esp, 4
push eax
mov dword [esp + 0x14], eax
movzx eax, byte [edi]
push ecx
movzx ecx, byte [esp + eax - 0x1a]
push edx
push ecx
mov eax, esi
call fcn.00425f30
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
add esp, 0x10
mov ecx, 1
call fcn.004394b0
mov esi, dword [esp + 0x44]
mov edx, eax
call fcn.0043bda0
mov edi, dword [esp + 0xc]
mov eax, ebx
call fcn.0046a6b0
mov esi, dword [esp + 0x48]
jmp 0x46ba13
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x38]
neg ecx
sbb ecx, ecx
push edx
and ecx, 0xfffffffd
push eax
add ecx, 0x67
push ecx
mov eax, esi
call fcn.00426030
mov edi, dword [esp + 0x18]
add esp, 0xc
cmp dword [esp + 0x34], 0
mov ebx, dword [esp + 0x14]
je 0x46ba7b
mov edx, dword [esp + 0x34]
mov ecx, dword [edx]
inc dword [ebx + 0x4c]
mov eax, dword [ebx + 0x4c]
push eax
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 0x10]
push eax
push ebx
mov dword [esp + 0x1c], ecx
call fcn.0043ab90
mov ecx, dword [esp + 0x1c]
mov al, byte [ecx]
add esp, 0xc
cmp al, 0x50
je 0x46ba61
cmp al, 0x4e
je 0x46ba61
xor edx, edx
cmp dword [esp + 0x1c], edx
setne dl
lea edx, [edx + edx + 0x4e]
mov dword [esp + 0x20], edx
jmp 0x46ba72
xor eax, eax
cmp dword [esp + 0x1c], eax
sete al
lea eax, [eax + eax + 0x4f]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x34]
call fcn.0046a6b0
cmp dword [esp + 0x1c], 0
mov eax, dword [esi + 0x1c]
mov edx, dword [esp + 0x38]
sete cl
add cl, 8
cmp dword [esp + 0x20], 0x97
mov byte [edi + 0x25], cl
mov dword [edi + 0x28], edx
mov dword [edi + 0x2c], eax
je 0x46c5cc
mov ecx, ebx
call fcn.0043bd80
mov edi, eax
mov eax, edx
push edi
push eax
push 0x62
mov eax, esi
mov dword [esp + 0x80], edi
call fcn.00426030
mov ecx, dword [esp + 0x44]
add esp, 0xc
push edi
push 0xffffffffffffffff
push ecx
mov edx, ebx
call fcn.004393a0
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
add esp, 0xc
push edi
push edx
push eax
push ecx
mov eax, esi
call fcn.00425f30
mov eax, dword [esi + 4]
add esp, 0x10
test eax, eax
je 0x46c5cc
mov ecx, dword [esi + 0x1c]
lea edx, [ecx + ecx*4]
mov byte [eax + edx*4 - 0x11], 0x6b
jmp 0x46c5cc
test edx, 0x200
je 0x46c092
movzx ebx, word [ecx + 0x18]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x5c], edi
mov edi, dword [ecx + 0x1c]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0xc]
mov edi, dword [edi + 8]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x70]
xor eax, eax
test byte [edi + 0x22], 1
mov dword [esp + 0x28], ebx
mov byte [esp + 0x33], al
je 0x46bb65
cmp byte [edi + 0x24], al
je 0x46bb65
mov edi, dword [esp + 0x24]
cmp word [edi + 0x32], bx
jbe 0x46bb65
mov eax, 1
mov dword [esp + 0x4c], eax
movzx edi, bx
mov dword [esp + 0x2c], edi
test dl, 0x20
je 0x46bb81
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax + edi*4]
mov dword [esp + 0x50], eax
inc edi
mov eax, 1
test dl, 0x10
je 0x46bb95
mov ecx, dword [ecx + 0x2c]
mov edx, dword [ecx + edi*4]
mov dword [esp + 0x5c], edx
mov eax, 1
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0xc]
lea ecx, [esp + 0x34]
push ecx
push eax
mov eax, dword [esp + 0x1c]
push edx
push edi
push eax
call fcn.0046a9d0
mov ebx, eax
mov eax, dword [esp + 0x48]
add esp, 0x14
mov dword [esp + 0x58], ebx
test eax, eax
je 0x46bbcb
mov ecx, dword [esp + 0x2c]
mov dl, byte [ecx + eax]
mov byte [esp + 0x33], dl
mov eax, dword [edi + 0x10]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x3c], eax
movzx eax, word [ecx + 0x32]
cmp word [esp + 0x28], ax
jae 0x46bbf6
mov ecx, dword [ecx + 0x1c]
mov edi, dword [esp + 0x2c]
xor edx, edx
cmp byte [edi + ecx], dl
sete dl
cmp dword [esp + 0x1c], edx
je 0x46bc04
cmp dword [esp + 0x1c], 0
je 0x46bc14
cmp ax, word [esp + 0x28]
jne 0x46bc14
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x50]
mov cl, 0x28
test eax, eax
je 0x46bc32
test byte [eax + 0x12], cl
jne 0x46bc32
mov dword [esp + 0x6c], 0
mov edx, 1
jmp 0x46bc3b
mov edx, 1
mov dword [esp + 0x6c], edx
mov edi, dword [esp + 0x5c]
test edi, edi
je 0x46bc50
mov dword [esp + 0x44], 0
test byte [edi + 0x12], cl
je 0x46bc54
mov dword [esp + 0x44], edx
test eax, eax
jne 0x46bc63
mov dword [esp + 0x18], eax
cmp word [esp + 0x28], ax
jbe 0x46bc67
mov dword [esp + 0x18], edx
cmp dword [esp + 0x50], 0
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x54], edi
je 0x46bd1f
mov edx, dword [esp + 0x50]
mov eax, dword [edx]
mov eax, dword [eax + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, edi
add ebx, ecx
push ebx
push eax
push edx
mov dword [esp + 0x58], eax
call fcn.0043ab90
mov eax, dword [esp + 0x58]
add esp, 0xc
mov edi, edi
mov cl, byte [eax]
cmp cl, 0x9d
je 0x46bcac
cmp cl, 0x9c
jne 0x46bcb1
mov eax, dword [eax + 0xc]
jmp 0x46bca0
mov cl, byte [eax]
cmp cl, 0x85
jne 0x46bcbb
mov cl, byte [eax + 0x26]
cmp cl, 0x5f
je 0x46bcda
cmp cl, 0x81
jbe 0x46bcca
cmp cl, 0x84
jbe 0x46bcda
mov eax, dword [esp + 0x3c]
push eax
push ebx
mov eax, esi
call fcn.00438120
add esp, 8
cmp dword [esp + 0x34], 0
je 0x46bd19
movzx edi, word [esp + 0x28]
mov ecx, dword [esp + 0x34]
mov bl, byte [edi + ecx]
mov eax, dword [esp + 0x4c]
call fcn.004368f0
mov ebx, dword [esp + 0x34]
cmp al, 0x62
jne 0x46bd01
mov byte [edi + ebx], al
mov dl, byte [edi + ebx]
mov ecx, dword [esp + 0x4c]
call fcn.00438170
test eax, eax
je 0x46bd15
mov byte [edi + ebx], 0x62
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
jmp 0x46bd49
cmp dword [esp + 0x4c], 0
je 0x46bd4a
mov edx, edi
add edx, ebx
push edx
push 0
push 0x1a
mov eax, esi
call fcn.00426030
add esp, 0xc
mov dword [esp + 0x6c], 0
mov dword [esp + 0x18], 1
inc edi
mov eax, dword [esp + 0x14]
push ebx
push eax
mov eax, dword [esp + 0x3c]
mov ecx, edi
call fcn.0046a700
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x74]
push edi
push ebx
push ecx
mov ecx, dword [esp + 0x2c]
push edx
lea edx, [eax + ecx*2]
mov eax, dword [esp + 0x34]
movzx ecx, byte [eax + edx*2 + 0x4e4230]
push ecx
mov eax, esi
call fcn.004261f0
movzx eax, word [esp + 0x44]
add esp, 0x1c
cmp dword [esp + 0x5c], 0
mov dword [esp + 0x54], eax
je 0x46be4b
mov edx, dword [esp + 0x5c]
mov ecx, dword [edx]
mov edx, dword [ecx + 0x10]
lea edi, [eax + ebx]
mov eax, dword [esp + 0x14]
mov ecx, 1
mov dword [esp + 0x18], edx
call fcn.004394b0
mov ebx, dword [esp + 0x18]
push edi
push ebx
push eax
call fcn.0043ab90
add esp, 0xc
mov eax, ebx
lea esp, [esp]
mov cl, byte [eax]
cmp cl, 0x9d
je 0x46bddc
cmp cl, 0x9c
jne 0x46bde1
mov eax, dword [eax + 0xc]
jmp 0x46bdd0
mov cl, byte [eax]
cmp cl, 0x85
jne 0x46bdeb
mov cl, byte [eax + 0x26]
cmp cl, 0x5f
je 0x46be0a
cmp cl, 0x81
jbe 0x46bdfa
cmp cl, 0x84
jbe 0x46be0a
mov ecx, dword [esp + 0x3c]
push ecx
push edi
mov eax, esi
call fcn.00438120
add esp, 8
mov bl, byte [esp + 0x33]
mov eax, dword [esp + 0x18]
call fcn.004368f0
cmp al, 0x62
je 0x46be43
mov dl, byte [esp + 0x33]
mov ecx, dword [esp + 0x18]
call fcn.00438170
test eax, eax
jne 0x46be43
mov edx, dword [esp + 0x14]
push edi
push edx
lea eax, [esp + 0x3b]
mov ecx, 1
call fcn.0046a700
add esp, 8
inc dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x64]
mov edi, dword [esp + 0x14]
call fcn.00409080
cmp dword [esp + 0x5c], 0
mov eax, dword [esi + 0x1c]
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x2c], eax
jne 0x46be79
cmp word [esp + 0x28], 0
jne 0x46be79
xor eax, eax
jmp 0x46be7e
mov eax, 1
mov edx, dword [esp + 0x1c]
inc edx
imul edx, eax
movzx eax, byte [edx + 0x4e4238]
cmp eax, 0x97
je 0x46becb
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x24]
push ebx
push edx
push ecx
push eax
mov eax, esi
call fcn.004261f0
mov eax, dword [esi + 4]
add esp, 0x14
test eax, eax
je 0x46becb
mov edx, dword [esp + 0x1c]
cmp dword [esp + 0x44], edx
mov ecx, dword [esi + 0x1c]
setne dl
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 - 0x11], dl
mov al, byte [edi + 0x13]
test al, al
jne 0x46beda
inc dword [edi + 0x4c]
mov ebx, dword [edi + 0x4c]
jmp 0x46bee6
dec al
movzx edx, al
mov byte [edi + 0x13], al
mov ebx, dword [edi + edx*4 + 0x1c]
mov eax, dword [esp + 0x40]
mov edx, dword [eax + 0x24]
test dl, 0x30
je 0x46bf45
mov edi, dword [esp + 0x24]
movzx ecx, word [esp + 0x28]
mov eax, dword [edi + 4]
movsx eax, word [eax + ecx*2]
test eax, eax
js 0x46bf45
mov edi, dword [edi + 0xc]
mov edi, dword [edi + 4]
lea eax, [eax + eax*2]
cmp byte [edi + eax*8 + 0x14], 0
jne 0x46bf45
cmp word [esp + 0x28], 0
jne 0x46bf23
test dl, 0x20
jne 0x46bf45
push ebx
push ecx
mov ecx, dword [esp + 0x28]
push ecx
push 0x2b
mov eax, esi
call fcn.00425f30
mov edx, dword [esp + 0x70]
push edx
push ebx
push 0x4a
mov eax, esi
call fcn.00426030
add esp, 0x1c
mov esi, ebx
mov ebx, dword [esp + 0x14]
mov edx, ebx
call fcn.0043bda0
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0xc]
call fcn.0046a6b0
mov eax, dword [esp + 0x5c]
call fcn.0046a6b0
cmp dword [esp + 0x10], 0
jne 0x46c04b
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xc]
test byte [eax + 0x2c], 0x20
jne 0x46bfcf
mov ecx, ebx
call fcn.0043bd80
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x48]
mov esi, eax
push esi
push ecx
push 0x6b
mov eax, edi
mov dword [esp + 0x80], esi
call fcn.00426030
mov edx, dword [esp + 0x44]
add esp, 0xc
push esi
push 0xffffffffffffffff
push edx
mov edx, ebx
call fcn.004393a0
mov eax, dword [esp + 0x44]
add esp, 0xc
push esi
push eax
push 0x3d
mov eax, edi
call fcn.00426030
add esp, 0xc
jmp 0x46c04b
call fcn.00440bf0
mov ecx, dword [esp + 0x14]
mov ebx, eax
movzx esi, word [ebx + 0x32]
call fcn.0043bdd0
xor ecx, ecx
xor edi, edi
mov dword [esp + 0x10], eax
cmp cx, word [ebx + 0x32]
jae 0x46c029
mov edx, dword [esp + 0x10]
mov ecx, dword [ebx + 4]
mov si, word [ecx + edi*2]
lea eax, [edi + edx]
mov edx, dword [esp + 0x24]
push eax
call fcn.00440c10
movsx edx, ax
mov eax, dword [esp + 0x24]
push edx
push eax
mov eax, dword [esp + 0x54]
push 0x2b
call fcn.00425f30
movzx ecx, word [ebx + 0x32]
inc edi
add esp, 0x10
cmp edi, ecx
jl 0x46bff1
movzx edx, word [ebx + 0x32]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x50]
push ecx
push edx
push 0x3f
call fcn.004261f0
add esp, 0x14
mov ecx, dword [esp + 0x40]
test dword [ecx + 0x24], 0x1000
mov eax, dword [esp + 0xc]
je 0x46c062
mov byte [eax + 0x25], 0x97
jmp 0x46c070
cmp dword [esp + 0x1c], 0
sete dl
add dl, 8
mov byte [eax + 0x25], dl
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x48]
mov dword [eax + 0x28], edx
test byte [ecx + 0x24], 0xf
jne 0x46c5cc
mov eax, dword [esp + 0xc]
mov byte [eax + 0x26], 1
jmp 0x46c5cc
test edx, 0x2000
je 0x46c594
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x48]
inc dword [eax + 0x4c]
mov ebx, dword [eax + 0x4c]
mov dword [esp + 0x5c], ecx
inc ecx
mov dword [eax + 0x48], ecx
mov eax, esi
mov dword [esp + 0x54], edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x58], edi
mov dword [esp + 0x44], edi
call fcn.004262a0
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 0x2c]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x50], eax
mov eax, dword [edx]
mov dword [esp + 0x1c], eax
mov eax, dword [eax + 0xc]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xc]
mov byte [eax + 0x25], 0x12
mov dword [eax + 0x28], ebx
mov al, byte [ecx + 0x28]
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
cmp al, 1
jbe 0x46c2e4
mov esi, dword [esp + 0x64]
movzx ebx, al
sub ebx, dword [esp + 0x6c]
dec ebx
lea ecx, [ebx + ebx*8]
lea ecx, [ecx*8 + 0x50]
call fcn.004092c0
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x46c142
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe0]
xor ecx, esp
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x20]
lea ecx, [ebx + 1]
mov byte [eax + 1], cl
mov byte [eax], cl
lea edi, [eax + 8]
mov ecx, 0x12
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 4]
cmp ebx, 1
jl 0x46c1a3
add eax, 0x50
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
add eax, 0x6c
mov dword [esp + 0x10], ebx
mov ebx, eax
lea esp, [esp]
movzx eax, byte [ebx]
mov edi, dword [esp + 0x18]
add dword [esp + 0x18], 0x48
lea ecx, [eax + eax*8]
lea esi, [edx + ecx*8 + 8]
mov ecx, 0x12
add ebx, 0x48
dec dword [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
jne 0x46c180
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x70]
test byte [eax + 0x22], 8
jne 0x46c1d6
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x4c]
inc eax
push eax
lea ecx, [eax + 1]
mov dword [esp + 0x5c], eax
push 0
push 0x1a
mov eax, esi
mov dword [edx + 0x4c], ecx
mov dword [esp + 0x50], ecx
call fcn.00426030
add esp, 0xc
mov ecx, dword [esp + 0x3c]
push ecx
xor edi, edi
push edi
push 0x17
mov eax, esi
call fcn.00426030
mov edx, dword [esp + 0x74]
mov dword [esp + 0x4c], eax
mov eax, dword [edx + 0xc]
add esp, 0xc
cmp eax, 1
jle 0x46c32b
mov dword [esp + 0x10], edi
cmp eax, edi
jle 0x46c32b
mov ebx, edi
mov ecx, edx
mov edi, edi
mov eax, dword [ecx + 0x14]
mov edx, dword [eax + edi]
add eax, edi
mov dword [esp + 0x18], edx
cmp eax, dword [esp + 0x1c]
je 0x46c26a
test byte [edx + 4], 1
jne 0x46c26a
mov edx, dword [ecx + 0x14]
test byte [edi + edx + 0x14], 0x10
lea eax, [edi + edx]
jne 0x46c26a
mov edx, 0xfff
test word [eax + 0x12], dx
je 0x46c26a
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x64]
push 0
push 0
push eax
push ecx
call fcn.00437440
push eax
mov eax, dword [esp + 0x78]
push ebx
call fcn.00436f60
mov ecx, dword [esp + 0x80]
add esp, 0x18
mov ebx, eax
mov eax, dword [esp + 0x10]
inc eax
add edi, 0x30
mov dword [esp + 0x10], eax
cmp eax, dword [ecx + 0xc]
jl 0x46c210
mov dword [esp + 0x24], ebx
test ebx, ebx
je 0x46c32d
mov edx, dword [esp + 0x14]
mov esi, dword [edx]
mov ecx, 0x30
call fcn.004092c0
mov esi, eax
test esi, esi
je 0x46c2bb
push 0x30
push 0
push esi
call fcn.004d29c0
add esp, 0xc
or eax, 0xffffffff
mov byte [esi], 0x46
mov word [esi + 0x22], ax
mov dword [esi + 0x18], 1
mov edi, dword [esp + 0x14]
mov ecx, dword [edi]
test esi, esi
jne 0x46c2f0
mov edi, ecx
push esi
push edi
call fcn.004372f0
push ebx
push edi
call fcn.004372f0
mov ebx, esi
mov esi, dword [esp + 0x58]
add esp, 0x10
mov dword [esp + 0x24], ebx
jmp 0x46c32d
mov edx, dword [ecx + 4]
mov dword [esp + 0x2c], edx
jmp 0x46c1a7
mov dword [esi + 0x10], ebx
mov edx, dword [ebx + 4]
and edx, 0x100
or dword [esi + 4], edx
mov ebx, esi
call fcn.00436c20
mov eax, dword [edi]
mov eax, dword [eax + 0x64]
cmp dword [esi + 0x18], eax
jle 0x46c31f
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push edi
call fcn.0040b490
add esp, 0xc
mov ebx, esi
mov esi, dword [esp + 0x48]
mov dword [esp + 0x24], ebx
jmp 0x46c32d
mov ebx, edi
mov eax, dword [esp + 0x34]
xor edi, edi
mov dword [esp + 0x18], edi
cmp dword [eax + 0xc], edi
jle 0x46c4cc
mov dword [esp + 0x4c], edi
mov eax, dword [eax + 0x14]
add eax, dword [esp + 0x4c]
mov ecx, dword [eax + 8]
cmp ecx, dword [esp + 0x38]
je 0x46c363
mov edx, 0x200
test word [eax + 0x12], dx
je 0x46c4b5
mov eax, dword [eax]
test ebx, ebx
je 0x46c374
test byte [eax + 4], 1
jne 0x46c374
mov dword [ebx + 0xc], eax
mov eax, ebx
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x2c]
push ecx
push pe_nt_image_headers32
push 0
push 0
push eax
mov eax, dword [esp + 0x28]
push edx
push eax
call fcn.0046f3f0
add esp, 0x1c
mov dword [esp + 0x10], eax
test eax, eax
je 0x46c4b5
mov ecx, dword [esp + 0xc]
movzx edx, byte [ecx + 0x24]
mov ecx, dword [esp + 0x6c]
push 0
push edx
mov edx, dword [esp + 0x34]
push ecx
lea ecx, [eax + 0x2e0]
mov eax, dword [esp + 0x20]
push edx
call fcn.0046b0d0
mov eax, dword [esp + 0x80]
add esp, 0x10
test byte [eax + 0x22], 8
jne 0x46c424
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 0xc]
dec edx
cmp edi, edx
jne 0x46c3e6
or ebx, 0xffffffff
jmp 0x46c3e8
mov ebx, edi
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
push 0
push eax
mov eax, dword [edx + 0x10]
push ecx
push 0xffffffffffffffff
push eax
call fcn.00439840
mov ecx, dword [esi + 0x1c]
mov edx, dword [esp + 0x6c]
add esp, 0x14
push ebx
push eax
add ecx, 2
push ecx
push edx
push 0x7a
mov eax, esi
call fcn.004261f0
add esp, 0x14
mov ebx, dword [esi + 0x1c]
cmp dword [esi + 0x20], ebx
jg 0x46c437
mov edi, esi
call fcn.00425eb0
test eax, eax
jne 0x46c462
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [esp + 0x3c]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x50]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x11
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x26], 0
je 0x46c474
mov dword [esp + 0x28], 1
mov ecx, dword [eax + 0x318]
test dword [ecx + 0x24], 0x200
je 0x46c49c
cmp dword [esp + 0x18], 0
je 0x46c493
mov edx, dword [esp + 0x54]
cmp dword [ecx + 0x1c], edx
jne 0x46c49c
mov ecx, dword [ecx + 0x1c]
mov dword [esp + 0x54], ecx
jmp 0x46c4a4
mov dword [esp + 0x54], 0
push eax
call fcn.0046fc30
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x1c]
add esp, 4
mov eax, dword [esp + 0x34]
add dword [esp + 0x4c], 0x30
inc edi
mov dword [esp + 0x18], edi
cmp edi, dword [eax + 0xc]
jl 0x46c344
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0xc]
mov dword [edi + 0x30], eax
test eax, eax
je 0x46c4e2
mov edx, dword [esp + 0x5c]
mov dword [edi + 8], edx
test ebx, ebx
je 0x46c4fb
mov eax, dword [esp + 0x64]
push ebx
push eax
mov dword [ebx + 0xc], 0
call fcn.004372f0
add esp, 8
mov eax, dword [esi + 0x1c]
mov ecx, dword [esp + 0x40]
cmp eax, ecx
jbe 0x46c510
mov edx, dword [esi + 4]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 4], eax
mov ebx, dword [esi + 0x1c]
mov eax, dword [edi + 0xc]
mov dword [esp + 0x10], eax
cmp dword [esi + 0x20], ebx
jg 0x46c52a
mov edi, esi
call fcn.00425eb0
test eax, eax
jne 0x46c551
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea ecx, [ebx + ebx*4]
lea eax, [edx + ecx*4]
mov edx, dword [esp + 0x10]
xor ecx, ecx
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 word [eax], 0x10
or eax, 0xffffffff
sub eax, dword [esp + 0x50]
js 0x46c567
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x46c567
mov edx, dword [esi + 0x1c]
mov dword [ecx + eax*4], edx
mov eax, dword [esp + 0x70]
cmp byte [eax + 0x28], 1
jbe 0x46c57e
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x64]
call fcn.00409080
cmp dword [esp + 0x28], 0
jne 0x46c5cc
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0xc]
call fcn.0046a6b0
jmp 0x46c5cc
mov eax, dword [esp + 0x1c]
mov cl, byte [eax + 0x4e423c]
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x24]
mov byte [edi + 0x25], cl
mov ecx, dword [esp + 0x38]
mov dword [edi + 0x28], ecx
movzx eax, byte [eax + 0x4e4240]
push edx
push ecx
push eax
mov eax, esi
call fcn.00426030
add esp, 0xc
inc eax
mov dword [edi + 0x2c], eax
mov byte [edi + 0x26], 1
mov eax, dword [esp + 0x68]
mov ebx, dword [eax + 0xc]
mov edi, dword [eax + 0x14]
test ebx, ebx
jle 0x46c636
lea ebx, [ebx]
test byte [edi + 0x14], 6
jne 0x46c62a
mov edx, dword [esp + 0xc]
mov eax, dword [edi + 0x28]
mov ecx, dword [edi + 0x2c]
and eax, dword [edx + 0x40]
and ecx, dword [edx + 0x44]
or eax, ecx
je 0x46c604
mov ecx, dword [esp + 0x70]
mov byte [ecx + 0x26], 1
jmp 0x46c62a
cmp dword [edx], 0
mov eax, dword [edi]
je 0x46c611
test byte [eax + 4], 1
je 0x46c62a
mov edx, dword [esp + 0x60]
push 8
push edx
push eax
mov eax, dword [esp + 0x20]
push eax
call fcn.0043b290
add esp, 0x10
or byte [edi + 0x14], 4
dec ebx
add edi, 0x30
test ebx, ebx
jg 0x46c5e0
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
test eax, eax
jle 0x46c76f
lea esp, [esp]
mov edx, dword [esp + 0x1c]
test byte [edx + 0x14], 6
jne 0x46c759
mov eax, 0x402
mov ecx, edx
cmp word [ecx + 0x12], ax
jne 0x46c759
mov eax, dword [esp + 0x38]
cmp dword [edx + 8], eax
jne 0x46c759
mov ecx, dword [esp + 0xc]
cmp dword [ecx], 0
jne 0x46c759
mov ecx, dword [esp + 0x38]
mov eax, edx
mov edx, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], edx
push 3
push ecx
mov ecx, dword [esp + 0x70]
lea edx, [esp + 0x80]
push edx
xor edx, edx
mov dword [esp + 0x24], 0
call fcn.00468110
add esp, 0xc
test eax, eax
je 0x46c6fe
lea ecx, [ecx]
mov edi, dword [eax + 0x20]
mov ebx, dword [eax + 0x24]
mov ecx, edi
and ecx, dword [ebp + 8]
mov edx, ebx
and edx, dword [ebp + 0xc]
or ecx, edx
jne 0x46c6ed
or edi, ebx
jne 0x46c6e2
test byte [eax + 0x12], 2
jne 0x46c79d
cmp dword [esp + 0x18], 0
jne 0x46c6ed
mov dword [esp + 0x18], eax
lea eax, [esp + 0x78]
push eax
call fcn.00467e20
add esp, 4
test eax, eax
jne 0x46c6c0
mov edi, dword [esp + 0x18]
test edi, edi
je 0x46c759
test byte [edi + 0x14], 4
jne 0x46c759
mov esi, dword [esp + 0x64]
mov ecx, 0x30
call fcn.004092c0
mov ebx, eax
test ebx, ebx
je 0x46c755
mov esi, dword [edi]
mov eax, dword [esp + 0x60]
mov ecx, 0xc
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0xc]
mov ecx, dword [esp + 0x14]
push 8
push eax
push ebx
push ecx
mov dword [ebx + 0xc], edx
call fcn.0043b290
mov ecx, dword [esp + 0x74]
add esp, 0x10
mov eax, ebx
call fcn.00409080
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x20]
add dword [esp + 0x1c], 0x30
dec eax
mov dword [esp + 0x20], eax
test eax, eax
jg 0x46c650
mov edx, dword [esp + 0xc]
mov edx, dword [edx]
mov dword [esp + 0x10], edx
test edx, edx
je 0x46c880
mov eax, dword [esi + 0x1c]
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x1c], eax
mov edi, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
cmp eax, edi
jg 0x46c803
test eax, eax
je 0x46c7a4
add eax, eax
jmp 0x46c7a9
mov edi, eax
jmp 0x46c702
mov eax, 0x33
mov ebx, dword [esi + 4]
lea edx, [eax + eax*4]
mov eax, dword [esi]
add edx, edx
add edx, edx
push edx
call fcn.00409340
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x46c82b
mov eax, dword [esi]
test eax, eax
je 0x46c7e3
cmp ebx, dword [eax + 0x10c]
jb 0x46c7e3
cmp ebx, dword [eax + 0x110]
jae 0x46c7e3
movzx ecx, word [eax + 0xf0]
jmp 0x46c7ef
push ebx
call dword [0x4f8be0]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [esi + 0x20], edx
mov edx, dword [esp + 0x10]
mov dword [esi + 4], ebx
mov ecx, 1
add dword [esi + 0x1c], ecx
mov esi, dword [esi + 4]
lea eax, [edi + edi*4]
lea eax, [esi + eax*4]
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], 0x17
mov eax, dword [esp + 0x14]
call fcn.004398e0
mov ebx, dword [esp + 0x68]
mov esi, dword [ebx + 0x14]
xor edi, edi
cmp dword [ebx + 0xc], edi
jle 0x46c880
test byte [esi + 0x14], 6
jne 0x46c877
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
jne 0x46c877
mov ecx, dword [esp + 0x60]
mov edx, dword [esi]
mov eax, dword [esp + 0x14]
push 8
push ecx
push edx
push eax
call fcn.0043b290
add esp, 0x10
or byte [esi + 0x14], 4
inc edi
add esi, 0x30
cmp edi, dword [ebx + 0xc]
jl 0x46c842
mov esi, dword [esp + 0x74]
test esi, esi
je 0x46c8b8
mov edx, dword [esp + 0x14]
mov bl, byte [edx + 0x13]
cmp bl, 8
jae 0x46c8b8
xor eax, eax
lea ecx, [edx + 0x68]
lea esp, [esp]
cmp dword [ecx + 0x10], esi
je 0x46c8d7
inc eax
add ecx, 0x18
cmp eax, 0xa
jl 0x46c8a0
movzx ecx, bl
mov dword [edx + ecx*4 + 0x1c], esi
inc byte [edx + 0x13]
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x40]
mov edx, dword [ecx + 0x44]
mov ecx, dword [esp + 0xec]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
mov byte [ecx + 8], 1
jmp 0x46c8b8