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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, dword [edi]
mov eax, dword [ebx + 8]
mov edx, dword [ebx]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
lea eax, [eax + eax*4]
add eax, eax
lea esi, [edi + eax*8 + 0x2f0]
movzx eax, byte [esi + 0x2c]
mov dword [esp + 0x74], edx
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
add edx, edx
lea ecx, [edi + 0x50]
lea eax, [eax + edx*8 + 8]
mov edx, dword [eax + 0x30]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esi + 0x40]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x1e8]
mov dword [esp + 0x44], ecx
xor ecx, ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x48], edx
test eax, eax
jle 0x46e0d6
add edi, 0x1ec
cmp dword [edi], edx
je 0x46e23f
inc ecx
add edi, 4
cmp ecx, eax
jl 0x46e0c3
mov edi, dword [ebp + 8]
xor eax, eax
xor edx, edx
mov ecx, dword [ebp + 0xc]
not eax
and eax, dword [ebp + 0x10]
not edx
and edx, dword [ebp + 0x14]
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], edx
mov eax, dword [edi + 0x40]
mov edx, dword [edi + 0x44]
call fcn.004aab80
mov ecx, dword [esp + 0x44]
and eax, 1
test byte [ecx + 0x24], 0x40
mov dword [esp + 0x4c], eax
je 0x46e117
test byte [edi + 0x28], 0x20
mov dword [esp + 0x38], 1
je 0x46e11f
mov dword [esp + 0x38], 0
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0x48]
lea edx, [ecx + 1]
mov dword [eax + 0x48], edx
lea edx, [ecx - 1]
mov dword [esp + 0x64], eax
mov dword [esp + 0x30], ecx
test ecx, edx
jne 0x46e16b
mov eax, ecx
lea ecx, [eax*8 + 4]
mov eax, dword [esp + 0x64]
mov edi, dword [eax + 0x4c]
mov eax, dword [eax]
push 0
push ecx
call fcn.00404650
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x38]
mov edi, dword [ebp + 8]
mov dword [edx + 0x4c], eax
add esp, 8
mov eax, edx
mov eax, dword [eax + 0x4c]
test eax, eax
je 0x46e179
mov dword [eax + ecx*4], 0xffffffff
or eax, 0xffffffff
sub eax, ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx + 0x48]
lea edx, [eax + 1]
mov dword [ecx + 0x48], edx
lea edx, [eax - 1]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x30], eax
test eax, edx
jne 0x46e1d2
lea ecx, [eax*8 + 4]
mov eax, dword [esp + 0x64]
mov edi, dword [eax + 0x4c]
mov eax, dword [eax]
push 0
push ecx
call fcn.00404650
mov edx, dword [esp + 0x6c]
mov edi, dword [ebp + 8]
mov dword [edx + 0x4c], eax
mov eax, dword [esp + 0x38]
add esp, 8
mov ecx, edx
mov ecx, dword [ecx + 0x4c]
test ecx, ecx
je 0x46e1e0
mov dword [ecx + eax*4], 0xffffffff
or ecx, 0xffffffff
sub ecx, eax
cmp byte [esi + 0x2c], 0
mov dword [esp + 0x64], ecx
mov dword [esi + 0x18], ecx
jbe 0x46e284
mov eax, dword [esp + 0x40]
test byte [eax + 0x24], 8
je 0x46e284
mov ecx, dword [ebx + 0x2c]
mov edx, dword [esp + 0x10]
inc ecx
mov dword [ebx + 0x2c], ecx
mov dword [esi], ecx
mov eax, dword [edx + 0x88]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x54], ecx
cmp dword [edx + 0x30], eax
jg 0x46e253
mov esi, dword [esp + 0x10]
push 0
push ecx
push 0
push 0x4c
call fcn.00423ce0
mov esi, dword [esp + 0x24]
mov edi, dword [ebp + 8]
add esp, 0x10
jmp 0x46e284
mov eax, 1
xor edx, edx
call fcn.004aa860
mov edi, dword [ebp + 8]
jmp 0x46e0da
mov ecx, dword [esp + 0x10]
lea edx, [eax + 1]
mov dword [ecx + 0x88], edx
mov ecx, dword [ecx + 0x58]
mov edx, dword [esp + 0x54]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
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], 0x4c
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x28]
test al, 0x10
je 0x46e31f
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x18]
mov edi, dword [eax + 0x1c]
mov esi, dword [esp + 0x10]
push ecx
push 0
push edi
push 0xf
push esi
call fcn.00423d20
mov ecx, dword [esi + 0x88]
mov edx, dword [esi + 0xc]
add esp, 0x14
cmp dword [edx + 0x30], ecx
jg 0x46e2e2
mov eax, dword [esp + 0x3c]
push 0
push eax
push edi
push 0x10
call fcn.00423ce0
mov edx, dword [esp + 0x24]
mov ecx, eax
add esp, 0x10
mov dword [edx + 0x34], ecx
mov byte [edx + 0x2d], 0xd
jmp 0x46f930
lea edx, [ecx + 1]
mov dword [esi + 0x88], edx
mov edx, dword [esi + 0x58]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x3c]
mov dword [eax + 8], edx
xor edx, edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov edx, dword [esp + 0x14]
mov byte [eax + 3], 0
mov dword [eax + 4], edi
mov word [eax], 0x10
mov dword [edx + 0x34], ecx
mov byte [edx + 0x2d], 0xd
jmp 0x46f930
mov ecx, dword [esp + 0x44]
mov ecx, dword [ecx + 0x24]
test ecx, 0x400
je 0x46e746
mov edx, dword [esp + 0x44]
movzx eax, word [edx + 0x28]
inc dword [ebx + 0x40]
lea esi, [eax + 2]
mov ecx, ebx
mov dword [esp + 0x3c], eax
call fcn.0043ea30
mov edi, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
xor esi, esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ecx
cmp dword [esp + 0x3c], esi
jle 0x46e3b7
mov edx, dword [esp + 0x44]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x46e3b0
test byte [eax + 0xc], 1
lea ecx, [edi + esi + 2]
je 0x46e39f
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push esi
push ecx
push eax
push ebx
call fcn.0046d220
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x10]
add esp, 0x18
mov dword [esp + 0x2c], eax
jmp 0x46e3b0
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
push 1
push ecx
push ebx
call fcn.0046dfa0
add esp, 0xc
inc esi
cmp esi, dword [esp + 0x3c]
jl 0x46e364
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x10]
mov ecx, dword [eax + 0x18]
mov eax, dword [edi + 0x88]
mov edx, dword [edi + 0xc]
cmp dword [edx + 0x30], eax
jg 0x46e3e8
mov eax, dword [esp + 0x28]
push 0
push eax
push ecx
push 0x4c
mov esi, edi
call fcn.00423ce0
add esp, 0x10
xor esi, esi
jmp 0x46e415
lea edx, [eax + 1]
mov dword [edi + 0x88], edx
mov edx, dword [edi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x28]
xor esi, esi
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov word [eax], 0x4c
mov ecx, dword [esp + 0x28]
mov eax, dword [edi + 0x88]
mov edx, dword [edi + 0xc]
inc ecx
cmp dword [edx + 0x30], eax
jg 0x46e440
mov eax, dword [esp + 0x3c]
push 0
push ecx
push eax
push 0x4c
mov esi, edi
call fcn.00423ce0
add esp, 0x10
xor esi, esi
jmp 0x46e46b
lea edx, [eax + 1]
mov dword [edi + 0x88], edx
mov edx, dword [edi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x3c]
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov word [eax], 0x4c
mov eax, dword [esp + 0x44]
mov edx, dword [eax + 0x20]
xor ecx, ecx
cmp byte [eax + 0x1c], cl
mov eax, dword [edi + 0xc]
setne cl
mov dword [esp + 0x30], edx
add ecx, 0xfffffffe
mov dword [esp + 0x38], ecx
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x46e4b2
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x48]
push ecx
push edx
push eax
push 0xb
mov esi, edi
call fcn.00423ce0
add esp, 0x10
xor esi, esi
jmp 0x46e4e7
lea edx, [ecx + 1]
mov dword [edi + 0x88], edx
mov edx, dword [edi + 0x58]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x48]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x28]
mov byte [eax + 3], 0
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], esi
mov word [eax], 0xb
mov eax, ecx
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
push ecx
push edx
push eax
push edi
call fcn.00424a90
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov edx, dword [ebp + 8]
mov byte [eax + 0x1c], 0
mov eax, dword [esp + 0x24]
mov dword [eax + 0x30], ecx
mov cl, byte [edx + 0x2d]
add esp, 0x10
neg cl
sbb cl, cl
and cl, 0x5a
add cl, 0x46
mov byte [eax + 0x2d], cl
mov ecx, dword [esp + 0x3c]
mov edx, dword [edi + 0x88]
dec ecx
mov dword [eax + 0x34], edx
mov eax, dword [eax + 0x38]
mov dword [esp + 0x18], ecx
cmp ecx, esi
jl 0x46e73a
lea eax, [eax + eax*2]
add eax, eax
add eax, eax
mov dword [esp + 0x30], eax
lea esp, [esp]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x18]
mov edx, dword [eax + 0x30]
mov esi, dword [edx + ecx*4]
mov dword [esp + 0x24], esi
cmp ecx, 0x10
jge 0x46e586
mov ax, word [eax + 0x1e]
shr ax, cl
test al, 1
je 0x46e586
mov edi, dword [esp + 0x14]
mov eax, esi
call fcn.0046d030
mov edi, dword [esp + 0x10]
jmp 0x46e730
test byte [esi + 0xc], 1
je 0x46e730
mov ecx, dword [esp + 0x74]
cmp byte [ecx + 0x45], 0
jne 0x46e645
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x3c]
sub eax, 0xc
mov dword [esp + 0x30], eax
mov eax, dword [ecx + eax + 4]
test eax, eax
jns 0x46e5bf
mov eax, dword [edi + 0x88]
dec eax
mov edx, dword [edi]
cmp byte [edx + 0x45], 0
je 0x46e5ce
mov eax, 0x4bcc48
jmp 0x46e5d7
mov ecx, dword [edi + 0x58]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov edx, dword [eax + 4]
mov esi, dword [eax + 0xc]
mov ecx, dword [eax + 8]
movzx eax, byte [eax]
mov dword [esp + 0x58], edx
mov edx, dword [edi + 0xc]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x88]
cmp dword [edx + 0x30], eax
jg 0x46e611
mov eax, dword [esp + 0x58]
push esi
push ecx
mov ecx, dword [esp + 0x34]
push eax
push ecx
mov esi, edi
call fcn.00423ce0
add esp, 0x10
jmp 0x46e645
lea edx, [eax + 1]
mov dword [edi + 0x88], edx
mov edx, dword [edi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dl, byte [esp + 0x2c]
mov byte [eax], dl
mov edx, dword [esp + 0x58]
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov eax, dword [ebx]
push 0
push 0x30
call fcn.00404490
add esp, 8
mov dword [esp + 0x20], eax
test eax, eax
je 0x46e730
push 0x30
mov esi, eax
push 0
push esi
call fcn.004a6b70
or eax, 0xffffffff
add esp, 0xc
mov byte [esi], 0x25
mov word [esi + 0x22], ax
call fcn.004377f0
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x6c]
mov edx, esi
cmp dword [edx + 0x18], eax
jle 0x46e698
push eax
push 0x4b5cb8
push ebx
call fcn.00406ec0
add esp, 0xc
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov eax, dword [esp + 0x20]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x74]
push 0
push 0x31
call fcn.00404490
mov esi, eax
add esp, 8
test esi, esi
je 0x46e6e5
push 0x30
push 0
push esi
call fcn.004a6b70
add esp, 0xc
lea eax, [esi + 0x30]
or ecx, 0xffffffff
mov byte [esi], 0x9d
mov word [esi + 0x22], cx
mov dword [esi + 8], eax
mov byte [eax], 0
mov dword [esi + 0x18], 1
mov edx, dword [esp + 0x20]
mov dword [edx + 0x10], esi
test esi, esi
je 0x46e717
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
lea edx, [eax + ecx + 2]
mov eax, dword [esp + 0x14]
mov dword [esi + 0x1c], edx
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0x20]
push 0
push ecx
push edx
push ebx
call fcn.0043de90
add esp, 0x10
mov eax, dword [esp + 0x20]
push eax
mov dword [eax + 0xc], 0
mov eax, dword [esp + 0x78]
push eax
call fcn.00437ea0
add esp, 8
dec dword [esp + 0x18]
jns 0x46e550
mov eax, ebx
call fcn.0043c040
jmp 0x46f930
mov edx, ecx
and edx, 0x100
je 0x46e7d8
test cl, 5
je 0x46e7d8
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + 0x30]
mov ecx, dword [edx]
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
push eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x50]
push eax
push 0
push esi
push ecx
push ebx
call fcn.0046d220
mov edi, eax
mov eax, dword [esp + 0x6c]
add esp, 0x18
cmp edi, eax
je 0x46e79a
mov esi, eax
mov eax, ebx
call fcn.0043e9f0
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 0x10]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x10]
push edi
push ecx
push edx
push 0x20
push eax
call fcn.00423d20
add esp, 0x14
push 1
mov eax, ebx
call fcn.0043bfb0
mov ecx, dword [esp + 0x4c]
add esp, 4
push edi
push 0xffffffffffffffff
push ecx
call fcn.0043bea0
add esp, 0xc
mov byte [esi + 0x2d], 0xa0
jmp 0x46f930
test edx, edx
je 0x46ea27
test cl, 2
je 0x46ea27
xor edx, edx
xor eax, eax
xor edi, edi
mov dword [esp + 0x40], 0xa0
mov dword [esp + 0x58], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
test cl, 0x20
je 0x46e818
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x30]
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
lea edi, [edx + 1]
test cl, 0x10
je 0x46e82b
mov ecx, dword [esp + 0x44]
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + edi*4]
mov dword [esp + 0x28], ecx
cmp dword [esp + 0x4c], edx
je 0x46e83f
mov ecx, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
cmp eax, edx
je 0x46e8ee
mov edi, dword [eax]
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x20], 0x1917181a
mov dword [esp + 0x5c], edi
call fcn.00437080
test eax, eax
je 0x46e88d
mov ecx, ebx
call fcn.0043e9d0
mov esi, eax
mov eax, dword [edi + 0x10]
push 1
push esi
push ebx
mov dword [esp + 0x3c], esi
call fcn.0046dfa0
movzx edx, byte [edi]
sub edx, 0x26
add esp, 0xc
or edx, 1
movzx eax, byte [esp + edx + 0x20]
jmp 0x46e8be
lea eax, [esp + 0x38]
push eax
mov eax, dword [edi + 0x10]
mov edi, ebx
call fcn.0043d4f0
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
add esp, 4
mov edi, esi
call fcn.0046d030
mov ecx, dword [esp + 0x5c]
movzx edx, byte [ecx]
movzx eax, byte [esp + edx - 6]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x48]
push edi
push ecx
push edx
push eax
mov eax, dword [esp + 0x20]
push eax
call fcn.00423d20
add esp, 0x14
push 1
mov eax, ebx
call fcn.0043bfb0
add esp, 4
call fcn.0043e9f0
jmp 0x46e913
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x10]
xor edx, edx
cmp dword [esp + 0x4c], edx
sete dl
lea edx, [edx*4 + 0x35]
call fcn.00423e50
mov ebx, dword [esp + 0x34]
cmp dword [esp + 0x28], 0
mov esi, dword [esp + 0x14]
je 0x46e98e
mov ecx, dword [esp + 0x28]
mov edi, dword [ecx]
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
push 1
push eax
mov dword [esp + 0x60], eax
mov eax, dword [edi + 0x10]
push ebx
call fcn.0046dfa0
mov ecx, dword [edi + 0x10]
add esp, 0xc
call fcn.00437080
test eax, eax
jne 0x46e966
mov al, byte [edi]
cmp al, 0x28
je 0x46e953
cmp al, 0x26
jne 0x46e966
xor edx, edx
cmp dword [esp + 0x4c], edx
sete dl
lea edx, [edx + edx + 0x27]
mov dword [esp + 0x40], edx
jmp 0x46e977
xor eax, eax
cmp dword [esp + 0x4c], eax
setne al
lea eax, [eax + eax + 0x26]
mov dword [esp + 0x40], eax
mov ecx, dword [edi + 0x10]
call fcn.00437080
test eax, eax
jne 0x46e98e
mov eax, dword [esp + 0x28]
mov edi, esi
call fcn.0046d030
cmp dword [esp + 0x4c], 0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x88]
mov ecx, dword [esp + 0x48]
sete dl
add dl, 6
cmp dword [esp + 0x40], 0xa0
mov byte [esi + 0x2d], dl
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], eax
je 0x46f930
inc dword [ebx + 0x2c]
mov edi, dword [ebx + 0x2c]
mov esi, dword [esp + 0x10]
mov ebx, ecx
mov edx, 0x7a
mov eax, esi
call fcn.00423e50
mov eax, dword [esp + 0x34]
push edi
mov edx, ebx
push 0xffffffffffffffff
push edx
call fcn.0043bea0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x4c]
add esp, 0xc
push edi
push eax
push ecx
push edx
push esi
call fcn.00423d20
mov eax, dword [esi + 0x88]
mov ebx, dword [esp + 0x48]
add esp, 0x14
test eax, eax
jle 0x46f9d3
mov ecx, esi
mov edx, dword [ecx + 0x58]
lea eax, [eax + eax*4]
mov byte [edx + eax*4 - 0x11], 0x53
mov edi, ecx
jmp 0x46f934
test ecx, 0x200
je 0x46f0f0
mov ecx, dword [esp + 0x44]
movzx eax, word [ecx + 0x18]
movzx edi, word [ecx + 0x1c]
mov dword [esp + 0x24], eax
movzx eax, word [ecx + 0x1a]
mov edx, eax
mov dword [esp + 0x70], edx
mov edx, edi
mov dword [esp + 0x78], edx
mov edx, dword [ecx + 0x20]
mov dword [esp + 0x3c], edx
mov edx, dword [esi + 8]
mov dword [esp + 0x28], edx
mov edx, dword [ebp + 8]
test byte [edx + 0x28], 1
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x5c], 0
mov byte [esp + 0x1f], 0
mov byte [esp + 0x6f], 0
je 0x46eaba
cmp byte [edx + 0x2b], 0
jle 0x46eaba
mov ecx, dword [esp + 0x3c]
mov dx, word [ecx + 0x32]
mov ecx, dword [esp + 0x44]
cmp dx, word [esp + 0x24]
jbe 0x46eaba
mov byte [esp + 0x1f], 1
mov dword [esp + 0x20], 1
test byte [ecx + 0x24], 0x20
movzx edx, word [esp + 0x24]
mov dword [esp + 0x18], edx
je 0x46eae2
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + edx*4]
inc edx
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x44]
cmp dword [esp + 0x20], eax
jg 0x46eae2
mov dword [esp + 0x20], eax
test byte [ecx + 0x24], 0x10
je 0x46eb93
mov eax, dword [ecx + 0x30]
mov edx, dword [eax + edx*4]
mov eax, edi
mov dword [esp + 0x50], edx
cmp dword [esp + 0x20], eax
jg 0x46eb02
mov dword [esp + 0x20], eax
mov ecx, 0x100
test word [edx + 0xa], cx
je 0x46eb5e
mov edi, dword [ebx + 0x2c]
inc edi
mov dword [ebx + 0x2c], edi
mov dword [esi + 0x24], edi
mov esi, dword [esp + 0x10]
mov ebx, 1
lea edx, [ebx + 0x4b]
mov eax, esi
call fcn.00423e50
mov edx, dword [esi + 0x88]
mov eax, dword [esp + 0x14]
shl dword [eax + 0x24], 1
mov esi, dword [esp + 0x18]
mov dword [eax + 0x28], edx
mov edx, dword [esp + 0x3c]
mov edx, dword [edx + 0x1c]
xor ebx, ebx
cmp byte [esi + edx], 1
mov esi, eax
sete bl
xor ebx, dword [esp + 0x4c]
or ebx, dword [eax + 0x24]
mov dword [eax + 0x24], ebx
mov ebx, dword [esp + 0x34]
cmp dword [esp + 0x54], 0
jne 0x46eb93
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + 4]
mov edx, dword [esp + 0x18]
movsx eax, word [eax + edx*2]
test eax, eax
js 0x46eb89
mov ecx, dword [ecx + 0xc]
mov ecx, dword [ecx + 4]
mov edx, eax
add edx, edx
cmp byte [ecx + edx*8 + 0xc], 0
je 0x46eb8e
cmp eax, 0xfffffffe
jne 0x46eb93
mov byte [esp + 0x1f], 1
mov ecx, dword [esp + 0x3c]
movzx eax, word [ecx + 0x32]
cmp word [esp + 0x24], ax
jae 0x46ebb7
mov edx, dword [ecx + 0x1c]
mov edi, dword [esp + 0x18]
xor ecx, ecx
cmp byte [edi + edx], cl
sete cl
cmp dword [esp + 0x4c], ecx
je 0x46ebc5
cmp dword [esp + 0x4c], 0
je 0x46ebf6
cmp ax, word [esp + 0x24]
jne 0x46ebf6
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
movzx ecx, word [esp + 0x78]
mov dword [esp + 0x54], eax
mov al, byte [esp + 0x1f]
mov byte [esp + 0x6f], al
mov al, byte [esp + 0x70]
movzx eax, al
mov dword [esp + 0x50], edx
mov byte [esp + 0x1f], 0
mov dword [esp + 0x70], ecx
mov dword [esp + 0x78], eax
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x40]
push ecx
push edx
push eax
push esi
push ebx
call fcn.0046d930
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x54]
xor edi, edi
add esp, 0x14
cmp eax, edi
je 0x46ec40
cmp word [esp + 0x78], di
je 0x46ec40
mov ecx, dword [esp + 0x18]
lea ebx, [eax + ecx]
mov eax, dword [esp + 0x74]
call fcn.00404710
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x5c], eax
mov edx, dword [esi + 0x10]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x2c], edx
mov dl, 0x28
cmp eax, edi
je 0x46ec5a
mov dword [esp + 0x60], edi
test byte [eax + 0xc], dl
je 0x46ec62
mov dword [esp + 0x60], 1
mov ecx, dword [esp + 0x50]
cmp ecx, edi
je 0x46ec73
mov dword [esp + 0x58], edi
test byte [ecx + 0xc], dl
je 0x46ec7b
mov dword [esp + 0x58], 1
cmp eax, edi
jne 0x46ec8a
mov dword [esp + 0x30], edi
cmp word [esp + 0x24], di
jbe 0x46ec92
mov dword [esp + 0x30], 1
mov edi, dword [esp + 0x18]
mov dword [esp + 0x24], edi
test eax, eax
je 0x46ed6e
mov eax, dword [esp + 0x54]
mov ecx, dword [eax]
mov edi, dword [ecx + 0x10]
movzx eax, word [esp + 0x70]
mov ecx, dword [esp + 0x18]
add ecx, dword [esp + 0x20]
push eax
push ecx
push ebx
mov eax, edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x74], ecx
call fcn.0046dfa0
mov eax, dword [esp + 0x60]
mov edx, 0x100
add esp, 0xc
test word [eax + 0xa], dx
je 0x46ecea
mov ecx, dword [esp + 0x10]
mov edx, esi
call fcn.0046de00
mov eax, edi
call fcn.00439480
test eax, eax
je 0x46ed1a
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x68]
mov eax, dword [esp + 0x10]
mov edx, 0x22
call fcn.00423e50
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x80]
cmp dword [esp + 0x40], 0
je 0x46ed39
mov ecx, dword [esp + 0x40]
add ecx, dword [esp + 0x18]
movzx eax, word [esp + 0x70]
push ecx
push eax
push edi
call fcn.0046d160
add esp, 0xc
movzx eax, word [esp + 0x70]
add dword [esp + 0x24], eax
mov ecx, edi
call fcn.00437080
test eax, eax
jne 0x46ed5f
mov eax, dword [esp + 0x54]
mov edi, esi
call fcn.0046d030
mov byte [esp + 0x1f], 0
jmp 0x46eda7
mov dword [esp + 0x60], 1
mov byte [esp + 0x1f], 0
jmp 0x46eda7
cmp byte [esp + 0x1f], 0
je 0x46edab
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
xor ebx, ebx
lea edi, [edi + ecx]
lea edx, [ebx + 0x4f]
call fcn.00423e50
mov esi, dword [esp + 0x14]
mov eax, 1
add dword [esp + 0x24], eax
mov dword [esp + 0x60], ebx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x30], eax
mov edi, dword [esp + 0x24]
movzx edx, byte [esp + 0x1f]
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x44]
mov ecx, edi
sub ecx, edx
push ebx
call fcn.0046d0a0
mov ecx, dword [esp + 0x4c]
movzx eax, word [ecx + 0x2a]
add esp, 8
test ax, ax
je 0x46edd7
cmp edi, eax
je 0x46ee0c
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x10]
lea edx, [eax + ecx*2]
mov eax, dword [esp + 0x4c]
movzx ecx, byte [eax + edx*2 + 0x4b2570]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
push edi
push ecx
mov ecx, dword [esp + 0x34]
call fcn.00424270
mov esi, dword [esp + 0x1c]
add esp, 8
cmp dword [esp + 0x50], 0
mov edx, dword [esp + 0x18]
mov dword [esp + 0x24], edx
je 0x46eefa
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
mov edi, dword [esp + 0x20]
add edi, dword [esp + 0x18]
mov edx, dword [ecx + 0x10]
push 1
mov eax, ebx
mov dword [esp + 0x64], edx
mov dword [esp + 0x6c], edi
call fcn.0043bfb0
movzx eax, word [esp + 0x7c]
add esp, 4
push eax
mov edx, edi
push edx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x68]
push ebx
call fcn.0046dfa0
mov ecx, dword [esp + 0x5c]
mov eax, 0x100
add esp, 0xc
test word [ecx + 0xa], ax
je 0x46ee78
mov ecx, dword [esp + 0x10]
mov edx, esi
call fcn.0046de00
mov eax, dword [esp + 0x60]
call fcn.00439480
test eax, eax
je 0x46eea3
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x68]
mov eax, dword [esp + 0x10]
mov edx, 0x22
call fcn.00423e50
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x5c]
mov edi, dword [esp + 0x30]
test eax, eax
je 0x46eed2
mov edx, dword [esp + 0x60]
push eax
push edi
push edx
call fcn.0046d160
mov eax, dword [esp + 0x74]
add esp, 0xc
push eax
mov eax, dword [esp + 0x60]
push ebx
mov ecx, edi
call fcn.0046d0a0
add esp, 8
mov ecx, dword [esp + 0x60]
add dword [esp + 0x24], edi
call fcn.00437080
test eax, eax
jne 0x46eef0
mov eax, dword [esp + 0x50]
mov edi, esi
call fcn.0046d030
jmp 0x46ef26
mov dword [esp + 0x58], 1
jmp 0x46ef26
cmp byte [esp + 0x6f], 0
je 0x46ef26
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
xor ebx, ebx
lea edi, [edi + edx]
lea edx, [ebx + 0x4f]
call fcn.00423e50
inc dword [esp + 0x24]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x58], ebx
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x74]
mov eax, dword [esp + 0x40]
mov ecx, edi
call fcn.004041a0
mov eax, dword [esp + 0x5c]
mov ecx, edi
call fcn.004041a0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x88]
mov eax, dword [esp + 0x24]
mov dword [esi + 0x34], ecx
test eax, eax
je 0x46ef83
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x5c]
movzx ecx, byte [eax + edx*2 + 0x4b2578]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x34]
call fcn.00424270
mov esi, dword [esp + 0x1c]
add esp, 8
cmp dword [esp + 0x38], 0
jne 0x46f0a8
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + 0xc]
test byte [eax + 0x2c], 0x20
jne 0x46f006
mov eax, dword [ebp + 8]
mov edx, 0x400
test word [eax + 0x28], dx
je 0x46efef
inc dword [ebx + 0x2c]
mov edi, dword [ebx + 0x2c]
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x28]
mov edx, 0x80
mov eax, esi
call fcn.00423e50
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x34]
push edi
push 0xffffffffffffffff
push ebx
call fcn.0043bea0
add esp, 0xc
push edi
push 0
push ebx
push 0x21
push esi
call fcn.00423d20
mov ebx, dword [esp + 0x48]
add esp, 0x14
jmp 0x46f0a4
mov edx, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x2c]
push eax
call fcn.0046de50
add esp, 8
jmp 0x46f0a8
mov ecx, dword [esp + 0x28]
cmp dword [esp + 0x48], ecx
je 0x46f0a8
call fcn.00443e30
movzx esi, word [eax + 0x32]
mov ecx, ebx
mov dword [esp + 0x2c], eax
call fcn.0043ea30
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x2c]
xor edx, edx
xor edi, edi
cmp dx, word [eax + 0x32]
jae 0x46f081
lea ebx, [ebx]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
lea edx, [edi + ecx]
mov ecx, dword [eax + 4]
mov si, word [ecx + edi*2]
push edx
mov edx, dword [esp + 0x40]
call fcn.00443e50
mov ecx, dword [esp + 0x14]
movsx edx, ax
mov eax, dword [esp + 0x2c]
push edx
push eax
push 0x60
push ecx
call fcn.00423d20
mov edx, dword [esp + 0x40]
movzx eax, word [edx + 0x32]
inc edi
add esp, 0x14
cmp edi, eax
jl 0x46f040
mov ecx, dword [esp + 0x2c]
movzx edx, word [ecx + 0x32]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x64]
mov esi, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x4c]
push 0x1e
call fcn.00424270
add esp, 8
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x44]
test dword [eax + 0x24], 0x1000
je 0x46f0bb
mov byte [esi + 0x2d], 0xa0
jmp 0x46f0c9
cmp dword [esp + 0x4c], 0
sete cl
add cl, 6
mov byte [esi + 0x2d], cl
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
mov dword [esi + 0x30], edx
mov cl, byte [eax + 0x26]
and cl, 1
mov byte [esi + 0x2e], cl
test byte [eax + 0x24], 0xf
jne 0x46f934
mov byte [esi + 0x2f], 1
jmp 0x46f934
test ecx, 0x2000
je 0x46f98e
mov eax, dword [ebx + 0x28]
inc dword [ebx + 0x2c]
mov edx, dword [ebx + 0x2c]
mov dword [esp + 0x20], eax
inc eax
xor ecx, ecx
mov dword [ebx + 0x28], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x78], ecx
call fcn.00424320
mov edx, dword [esp + 0x44]
mov dword [esp + 0x60], eax
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x10]
mov eax, dword [edx + 0x30]
mov eax, dword [eax]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x28], ecx
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x24], eax
mov byte [esi + 0x2d], 0x48
mov dword [esi + 0x30], edx
mov al, byte [edi + 0x2a]
mov dword [esp + 0x3c], ecx
cmp al, 1
jbe 0x46f21f
movzx eax, al
sub eax, dword [ebp + 0xc]
push 0
dec eax
mov dword [esp + 0x34], eax
lea eax, [eax + eax*4]
shl eax, 4
add eax, 0x58
push eax
mov eax, dword [esp + 0x7c]
call fcn.00404460
add esp, 8
mov dword [esp + 0x70], eax
test eax, eax
jne 0x46f1a3
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov cl, byte [esp + 0x30]
mov esi, dword [esp + 0x40]
mov edx, dword [ebp + 8]
inc cl
movzx ecx, cl
mov dword [eax + 4], ecx
mov dword [eax], ecx
lea edi, [eax + 8]
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
mov edx, dword [edx + 4]
add edx, 8
cmp dword [esp + 0x30], 1
jl 0x46f226
mov ecx, dword [esp + 0x30]
add eax, 0x58
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x14]
add eax, 0x7c
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], ecx
lea esp, [esp]
mov eax, dword [esp + 0x2c]
movzx eax, byte [eax]
mov edi, dword [esp + 0x5c]
lea esi, [eax + eax*4]
shl esi, 4
mov eax, 0x50
add dword [esp + 0x2c], eax
add dword [esp + 0x5c], eax
add esi, edx
dec dword [esp + 0x38]
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
jne 0x46f1f0
jmp 0x46f226
mov ecx, dword [edi + 4]
mov dword [esp + 0x70], ecx
mov edx, dword [ebp + 8]
test byte [edx + 0x28], 0x10
jne 0x46f296
mov eax, dword [esp + 0x28]
test byte [eax + 0x2c], 0x20
jne 0x46f257
inc dword [ebx + 0x2c]
mov edi, dword [ebx + 0x2c]
mov eax, dword [esp + 0x10]
xor ebx, ebx
lea edx, [ebx + 0x4f]
mov dword [esp + 0x50], edi
call fcn.00423e50
mov esi, dword [esp + 0x34]
jmp 0x46f28c
call fcn.00443e30
mov esi, eax
mov eax, dword [ebx + 0x28]
lea ecx, [eax + 1]
mov dword [ebx + 0x28], ecx
movzx edi, word [esi + 0x32]
mov dword [esp + 0x50], eax
mov ebx, eax
mov eax, dword [esp + 0x10]
mov edx, 0x6b
call fcn.00423e50
mov ecx, esi
mov esi, dword [esp + 0x34]
mov eax, esi
call fcn.00424b50
inc dword [esi + 0x2c]
mov edx, dword [esi + 0x2c]
mov dword [esp + 0x78], edx
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x54]
xor ebx, ebx
lea edx, [ebx + 0x4c]
mov eax, esi
call fcn.00423e50
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x84], eax
mov eax, dword [ebx + 0xc]
cmp eax, 1
jle 0x46f3a5
xor edi, edi
mov dword [esp + 0x38], edi
cmp eax, edi
jle 0x46f3c3
nop
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + edi]
add eax, edi
cmp eax, dword [esp + 0x24]
je 0x46f320
test byte [ecx + 4], 1
jne 0x46f320
mov eax, dword [ebx + 0x14]
test byte [eax + edi + 0xa], 6
jne 0x46f320
mov edx, 0x1fff
test word [eax + edi + 0xc], dx
je 0x46f320
mov esi, dword [esp + 0x74]
push 0
push 0
push ecx
push esi
call fcn.004380a0
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, esi
call fcn.00437c00
mov esi, dword [esp + 0x24]
add esp, 0x14
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
inc eax
add edi, 0x30
mov dword [esp + 0x38], eax
cmp eax, dword [ebx + 0xc]
jl 0x46f2d0
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x46f3a5
mov esi, dword [esp + 0x34]
mov eax, dword [esi]
push 0
push 0x30
call fcn.00404490
mov edi, eax
add esp, 8
test edi, edi
je 0x46f3ab
push 0x30
push 0
push edi
call fcn.004a6b70
mov eax, ebx
or edx, 0xffffffff
mov byte [edi], 0x1c
mov word [edi + 0x22], dx
mov dword [edi + 0x10], eax
mov ecx, dword [eax + 4]
and ecx, 0x200100
or dword [edi + 4], ecx
add esp, 0xc
mov esi, edi
call fcn.004377f0
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
mov eax, dword [edx + 0x6c]
cmp dword [edi + 0x18], eax
jle 0x46f39d
push eax
push 0x4b5cb8
push ecx
call fcn.00406ec0
add esp, 0xc
mov esi, dword [esp + 0x10]
mov dword [esp + 0x18], edi
mov ecx, dword [esp + 0x18]
jmp 0x46f3c5
mov eax, dword [esi]
push ebx
push eax
call fcn.00437ea0
mov esi, dword [esp + 0x18]
add esp, 8
mov dword [esp + 0x18], edi
mov ecx, edi
jmp 0x46f3c5
mov ecx, edi
mov eax, dword [ebp + 8]
mov dx, word [eax + 0x28]
mov ebx, dword [esp + 0x3c]
mov eax, 0x400
and dx, ax
or dx, 0x20
cmp dword [ebx + 0xc], 0
movzx edx, dx
mov dword [esp + 0x80], edx
mov dword [esp + 0x2c], 0
jle 0x46f7f6
mov dword [esp + 0x5c], 0
mov eax, dword [ebx + 0x14]
add eax, dword [esp + 0x5c]
mov edx, dword [eax + 0x14]
cmp edx, dword [esp + 0x48]
je 0x46f41f
mov edx, 0x400
test word [eax + 0xc], dx
je 0x46f7df
mov eax, dword [eax]
mov dword [esp + 0x30], 0
test ecx, ecx
je 0x46f438
test byte [eax + 4], 1
jne 0x46f438
mov dword [ecx + 0xc], eax
mov eax, ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x80]
mov edi, dword [esp + 0x70]
push ecx
push edx
push 0
push 0
push eax
mov eax, dword [esp + 0x48]
push edi
push eax
call fcn.00476ee0
add esp, 0x1c
mov dword [esp + 0x44], eax
test eax, eax
je 0x46f7db
mov ecx, dword [esp + 0x14]
movzx edx, byte [ecx + 0x2c]
mov ecx, dword [ebp + 0xc]
push 0
push edx
push ecx
mov ecx, dword [esp + 0x40]
lea edx, [eax + 0x2f0]
push edi
call fcn.0046cc80
mov edx, dword [ebp + 8]
add esp, 0x10
test byte [edx + 0x28], 0x10
jne 0x46f6e1
mov ecx, dword [ebx + 0xc]
mov eax, dword [esp + 0x2c]
dec ecx
mov dword [esp + 0x40], 0xffffffff
cmp eax, ecx
je 0x46f4af
mov dword [esp + 0x40], eax
mov edx, dword [esp + 0x28]
test byte [edx + 0x2c], 0x20
jne 0x46f550
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x34]
xor edi, edi
push edi
push eax
push ecx
push 0xffffffffffffffff
push edx
call fcn.0043c1a0
mov esi, dword [esp + 0x24]
mov edx, dword [esi + 0x88]
mov ecx, dword [esi + 0xc]
add esp, 0x14
cmp dword [ecx + 0x30], edx
jg 0x46f4fe
mov edx, dword [esp + 0x50]
push eax
push edi
push edx
push 0x3f
call fcn.00423ce0
add esp, 0x10
jmp 0x46f52b
mov ebx, dword [esi + 0x58]
lea ecx, [edx + 1]
mov dword [esi + 0x88], ecx
lea ecx, [edx + edx*4]
lea ecx, [ebx + ecx*4]
mov ebx, dword [esp + 0x50]
mov dword [ecx + 0xc], eax
mov byte [ecx + 3], 0
mov dword [ecx + 4], ebx
mov dword [ecx + 8], edi
mov dword [ecx + 0x10], edi
mov word [ecx], 0x3f
mov eax, edx
mov edx, dword [esi]
cmp byte [edx + 0x45], 0
jne 0x46f547
mov edx, dword [esi + 0x58]
lea ecx, [eax + eax*4]
lea ecx, [edx + ecx*4]
mov edx, dword [esp + 0x40]
mov byte [ecx + 1], 0xf5
mov dword [ecx + 0x10], edx
mov dword [esp + 0x30], eax
jmp 0x46f6e1
mov eax, edx
call fcn.00443e30
movzx edi, word [eax + 0x32]
mov ecx, dword [esp + 0x34]
mov esi, edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x68], edi
call fcn.0043ea30
xor esi, esi
mov ebx, eax
test edi, edi
jle 0x46f5aa
jmp 0x46f580
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x34]
movsx ecx, word [ecx + esi*2]
mov eax, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x2c]
lea edi, [esi + ebx]
call fcn.0043c260
inc esi
add esp, 4
cmp esi, dword [esp + 0x68]
jl 0x46f580
mov esi, dword [esp + 0x10]
xor edi, edi
cmp dword [esp + 0x40], edi
je 0x46f62e
mov ecx, dword [esi + 0x88]
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x30], ecx
jg 0x46f5d7
mov ecx, dword [esp + 0x50]
push ebx
push edi
push ecx
push 0x1f
call fcn.00423ce0
add esp, 0x10
jmp 0x46f604
lea edx, [ecx + 1]
mov dword [esi + 0x88], edx
mov edx, dword [esi + 0x58]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x50]
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], edi
mov word [eax], 0x1f
mov eax, ecx
mov ecx, dword [esi]
cmp byte [ecx + 0x45], 0
jne 0x46f620
mov ecx, dword [esi + 0x58]
lea edx, [eax + eax*4]
lea ecx, [ecx + edx*4]
mov edx, dword [esp + 0x68]
mov byte [ecx + 1], 0xf5
mov dword [ecx + 0x10], edx
mov dword [esp + 0x30], eax
cmp dword [esp + 0x40], edi
jl 0x46f6ce
mov edi, dword [esp + 0x78]
mov eax, dword [esp + 0x68]
push edi
push eax
push ebx
push 0x63
push esi
call fcn.00423d20
mov ecx, dword [esi + 0x88]
mov edx, dword [esi + 0xc]
add esp, 0x14
cmp dword [edx + 0x30], ecx
jg 0x46f665
mov eax, dword [esp + 0x50]
push ebx
push edi
push eax
push 0x7d
call fcn.00423ce0
add esp, 0x10
jmp 0x46f696
lea edx, [ecx + 1]
mov dword [esi + 0x88], edx
mov edx, dword [esi + 0x58]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x50]
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], 0
mov word [eax], 0x7d
mov eax, ecx
mov ecx, dword [esi]
cmp byte [ecx + 0x45], 0
jne 0x46f6b2
mov ecx, dword [esp + 0x68]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + edx*4]
mov byte [eax + 1], 0xf5
mov dword [eax + 0x10], ecx
cmp dword [esp + 0x40], 0
je 0x46f6ce
mov eax, dword [esi + 0x88]
test eax, eax
jle 0x46f6ce
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
mov byte [eax + edx*4 - 0x11], 0x10
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x34]
mov edx, ebx
call fcn.0043ea80
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x30], eax
jg 0x46f70d
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x10]
push 0
push edx
push eax
push 0xe
call fcn.00423ce0
add esp, 0x10
mov ecx, esi
jmp 0x46f742
lea ecx, [eax + 1]
mov dword [esi + 0x88], ecx
mov ecx, dword [esp + 0x54]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x60]
mov dword [eax + 4], ecx
xor ecx, ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x10]
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov word [eax], 0xe
mov eax, dword [esp + 0x30]
test eax, eax
je 0x46f770
mov edx, dword [ecx + 0x88]
jns 0x46f755
lea eax, [edx - 1]
mov esi, dword [ecx]
cmp byte [esi + 0x45], 0
je 0x46f764
mov eax, 0x4bcc48
jmp 0x46f76d
mov ecx, dword [ecx + 0x58]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x44]
cmp byte [eax + 0x2e], 0
je 0x46f782
mov dword [esp + 0x4c], 1
mov ecx, dword [eax + 0x330]
test dword [ecx + 0x24], 0x200
je 0x46f7c2
cmp dword [esp + 0x2c], 0
je 0x46f7a1
mov edx, dword [esp + 0x58]
cmp dword [ecx + 0x20], edx
jne 0x46f7c2
mov edx, dword [esp + 0x28]
test byte [edx + 0x2c], 0x20
je 0x46f7b9
mov edx, dword [ecx + 0x20]
mov edx, dword [edx + 0x38]
and dl, 3
cmp dl, 2
je 0x46f7c2
mov ecx, dword [ecx + 0x20]
mov dword [esp + 0x58], ecx
jmp 0x46f7ca
mov dword [esp + 0x58], 0
push eax
call fcn.004779c0
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x14]
add esp, 4
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x5c], 0x30
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [ebx + 0xc]
jl 0x46f400
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x14]
xor ebx, ebx
mov dword [edx + 0x38], eax
cmp eax, ebx
je 0x46f80e
mov eax, dword [esp + 0x20]
mov dword [edx + 8], eax
mov edi, dword [esp + 0x74]
cmp ecx, ebx
je 0x46f823
push ecx
push edi
mov dword [ecx + 0xc], ebx
call fcn.00437ea0
add esp, 8
mov eax, dword [esp + 0x84]
mov ecx, dword [esi + 0x88]
cmp eax, ebx
jge 0x46f837
lea eax, [ecx - 1]
mov edx, dword [esi]
cmp byte [edx + 0x45], bl
je 0x46f845
mov eax, 0x4bcc48
jmp 0x46f84e
mov edx, dword [esi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x88]
mov edx, dword [esi + 0xc]
cmp dword [edx + 0x30], eax
jg 0x46f87b
mov esi, dword [esp + 0x10]
push 0
push ecx
push 0
push 0xd
call fcn.00423ce0
add esp, 0x10
jmp 0x46f8a1
lea edx, [eax + 1]
mov dword [esi + 0x88], edx
mov edx, dword [esi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0xd
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + 0x4c]
test eax, eax
je 0x46f8c4
mov edx, dword [esp + 0x60]
mov ecx, dword [ecx + 0x88]
lea edx, [edx*4 + 4]
sub eax, edx
mov dword [eax], ecx
mov edx, dword [ebp + 8]
cmp byte [edx + 0x2a], 1
jbe 0x46f919
mov eax, dword [esp + 0x70]
test eax, eax
je 0x46f919
test edi, edi
je 0x46f910
cmp dword [edi + 0x1c8], ebx
je 0x46f8ea
mov ecx, edi
call fcn.00404160
jmp 0x46f919
cmp eax, dword [edi + 0x120]
jb 0x46f910
cmp eax, dword [edi + 0x124]
jae 0x46f910
mov ecx, dword [edi + 0x11c]
mov dword [eax], ecx
dec dword [edi + 0x108]
mov dword [edi + 0x11c], eax
jmp 0x46f919
push eax
call fcn.004040f0
add esp, 4
cmp dword [esp + 0x4c], ebx
jne 0x46f92c
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x14]
call fcn.0046d030
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], eax
test eax, eax
jle 0x46fad2
mov edi, edi
movzx eax, word [ecx + 0xa]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], eax
test al, 6
jne 0x46faba
mov esi, dword [esp + 0x14]
mov eax, dword [ecx + 0x28]
mov edx, dword [ecx + 0x2c]
and eax, dword [esi + 0x48]
and edx, dword [esi + 0x4c]
or eax, edx
je 0x46f9da
mov edx, dword [ebp + 8]
mov byte [edx + 0x2e], 1
jmp 0x46faba
test al, 0x20
je 0x46f998
mov byte [esi + 0x2d], 0xa0
jmp 0x46f930
mov eax, dword [esp + 0x4c]
mov dl, byte [eax + 0x4b257c]
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x3c]
mov byte [esi + 0x2d], dl
mov dword [esi + 0x30], ebx
movzx edx, byte [eax + 0x4b2580]
mov eax, dword [esp + 0x10]
call fcn.00423e50
lea ecx, [eax + 1]
mov eax, dword [esp + 0x14]
mov dword [eax + 0x34], ecx
mov byte [eax + 0x2f], 1
jmp 0x46f92c
mov edi, esi
jmp 0x46f934
cmp dword [esi], 0
mov eax, dword [ecx]
mov dword [esp + 0x38], eax
je 0x46f9ef
test byte [eax + 4], 1
je 0x46faba
test dword [esp + 0x84], 0x200
je 0x46fa67
mov edx, dword [edi + 0x88]
mov eax, esi
mov eax, dword [eax + 0x24]
mov esi, eax
shr esi, 1
test al, 1
mov eax, dword [edi + 0xc]
mov ecx, 0
setne cl
add ecx, 0x15
cmp dword [eax + 0x30], edx
jg 0x46fa34
push 0
push 0
push esi
push ecx
mov esi, edi
call fcn.00423ce0
add esp, 0x10
mov esi, eax
jmp 0x46fa6e
lea eax, [edx + 1]
mov dword [edi + 0x88], eax
mov edi, dword [edi + 0x58]
lea eax, [edx + edx*4]
lea eax, [edi + eax*4]
mov edi, dword [esp + 0x10]
mov byte [eax], cl
xor ecx, ecx
mov dword [eax + 4], esi
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, edx
mov esi, eax
jmp 0x46fa6e
mov esi, dword [esp + 0x80]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x38]
push 0x10
push ecx
push edx
push ebx
call fcn.0043de90
add esp, 0x10
test esi, esi
je 0x46faaf
mov ecx, dword [edi + 0x88]
mov eax, esi
jns 0x46fa94
lea eax, [ecx - 1]
mov edx, dword [edi]
cmp byte [edx + 0x45], 0
je 0x46faa3
mov eax, 0x4bcc48
jmp 0x46faac
mov edx, dword [edi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x24]
or word [eax + 0xa], 4
mov ecx, eax
mov eax, dword [esp + 0x18]
dec eax
add ecx, 0x30
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], ecx
test eax, eax
jg 0x46f950
mov eax, dword [esp + 0x7c]
mov esi, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], eax
test eax, eax
jle 0x46fbb9
test byte [esi + 0xa], 6
jne 0x46fba1
movzx eax, word [esi + 0xc]
test al, 0x82
je 0x46fba1
test eax, 0x800
je 0x46fba1
mov eax, dword [esi + 0x14]
cmp eax, dword [esp + 0x48]
jne 0x46fba1
mov ecx, dword [esp + 0x14]
cmp dword [ecx], 0
jne 0x46fba1
mov edx, dword [esi]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push 0
push 0x83
push eax
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x54]
push ecx
mov ecx, dword [esi + 0x1c]
push edx
mov edx, dword [esp + 0x90]
call fcn.004722f0
add esp, 0x14
test eax, eax
je 0x46fba1
test byte [eax + 0xa], 4
jne 0x46fba1
mov esi, dword [eax]
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x64]
mov ecx, 0xc
lea edi, [esp + 0x88]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0xc]
push 0x10
push edx
lea eax, [esp + 0x90]
push eax
push ebx
mov dword [esp + 0xa4], ecx
call fcn.0043de90
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x34]
add esp, 0x10
mov eax, dword [esp + 0x18]
dec eax
add esi, 0x30
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], esi
test eax, eax
jg 0x46faec
mov edx, dword [esp + 0x14]
mov ecx, dword [edx]
test ecx, ecx
je 0x46fcaf
mov eax, dword [edi + 0x88]
mov dword [edx + 0x1c], eax
mov eax, dword [edi + 0x88]
mov esi, dword [edi + 0xc]
cmp dword [esi + 0x30], eax
jg 0x46fbf5
push 0
push ecx
push 1
push 0x4c
mov esi, edi
call fcn.00423ce0
mov edx, dword [esp + 0x24]
add esp, 0x10
jmp 0x46fc22
lea esi, [eax + 1]
mov dword [edi + 0x88], esi
mov esi, dword [edi + 0x58]
lea eax, [eax + eax*4]
lea eax, [esi + eax*4]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 4], 1
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x4c
xor esi, esi
cmp byte [ebx + 0x19], 0
jbe 0x46fc59
lea eax, [ebx + 0xa4]
cmp byte [eax - 6], 0
je 0x46fc4d
mov cl, byte [ebx + 0x13]
cmp cl, 8
jae 0x46fc4d
mov edi, dword [eax]
movzx ecx, cl
mov dword [ebx + ecx*4 + 0x160], edi
inc byte [ebx + 0x13]
movzx ecx, byte [ebx + 0x19]
inc esi
add eax, 0x14
cmp esi, ecx
jl 0x46fc30
mov eax, dword [esp + 0x7c]
mov byte [ebx + 0x19], 0
mov esi, dword [eax + 0x14]
xor edi, edi
cmp dword [eax + 0xc], edi
jle 0x46fcaf
jmp 0x46fc70
test byte [esi + 0xa], 6
jne 0x46fca2
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
and eax, dword [edx + 0x48]
and ecx, dword [edx + 0x4c]
or eax, ecx
jne 0x46fca2
mov edx, dword [esp + 0x64]
mov eax, dword [esi]
push 0x10
push edx
push eax
push ebx
call fcn.0043de90
mov edx, dword [esp + 0x24]
add esp, 0x10
or word [esi + 0xa], 4
mov ecx, dword [esp + 0x7c]
inc edi
add esi, 0x30
cmp edi, dword [ecx + 0xc]
jl 0x46fc70
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x48]
mov edx, dword [ecx + 0x4c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret