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

Disassembly:
sub esp, 0x24
mov edx, dword [esp + 0x2c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x34]
push edi
mov dword [esp + 0x3c], edx
mov edi, dword [esi + 0x160]
cmp edx, dword [esi + 0x90]
jne 0x46deff
lea edx, [esi + 0x11c]
lea eax, [esi + 0x120]
jmp 0x46df08
mov edx, dword [esi + 0x128]
lea eax, [edx + 4]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x18], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x48], ebp
mov ecx, dword [esp + 0x44]
mov dword [edx], ebp
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x40], 1
mov dword [edx], eax
mov edx, dword [esp + 0x3c]
test ebx, ebx
jg 0x46df6c
cmp byte [esp + 0x24], 0
je 0x46df50
test ebx, ebx
jne 0x46f868
lea eax, [ebx + 0xf]
cmp eax, 0xf
ja case.0x46df5f.14
movzx eax, byte [eax + 0x46fa7c]
jmp dword [eax*4 + 0x46fa64]
mov dword [esp + 0x4c], ecx
neg ebx
push edx
push dword [esp + 0x50]
lea eax, [esi + 0xfc]
push ebp
push ebx
push eax
mov eax, dword [eax]
call eax
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x14], ecx
lea eax, [ecx + 1]
cmp eax, 0x3d
ja case.default.0x46df93
jmp dword [eax*4 + 0x46fa8c]
push dword [esp + 0x4c]
push ebp
push 0
push esi
call fcn.00473c10
add esp, 0x10
test eax, eax
jne 0x46fa59
mov ecx, dword [esi + 0x90]
mov dword [esp + 0x3c], ecx
jmp 0x46f79c
cmp dword [esi + 0x54], 0
je 0x46e03d
push dword [esp + 0x4c]
mov ecx, dword [esp + 0x40]
lea ebx, [esi + 0x19c]
push ebp
push ecx
push ebx
call fcn.00472f10
add esp, 0x10
test eax, eax
je 0x46f878
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
jne 0x46e001
push ebx
call fcn.00473840
add esp, 4
test al, al
je 0x46f878
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov word [eax], cx
add dword [ebx + 0xc], 2
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x13c], eax
test eax, eax
je 0x46f8e4
mov eax, dword [esi + 0x1a8]
mov dword [esi + 0x1ac], eax
xor al, al
mov dword [esi + 0x144], ecx
mov dword [esi + 0x140], ecx
jmp 0x46f04a
mov eax, dword [esp + 0x40]
mov dword [esi + 0x140], 0
jmp 0x46f04a
mov eax, dword [esi + 0x54]
test eax, eax
je case.default.0x46df93
push 1
push dword [esi + 0x144]
push dword [esi + 0x140]
push dword [esi + 0x13c]
push dword [esi + 4]
call eax
lea eax, [esi + 0x19c]
mov dword [esi + 0x13c], 0
push eax
call fcn.00473370
add esp, 0x18
jmp 0x46f798
push dword [esp + 0x4c]
push ebp
push 1
jmp 0x46dfa1
push 0x24
push 0x578a64
lea eax, [edi + 0x84]
mov byte [esi + 0x1e5], 0
push eax
push esi
call fcn.00471a10
add esp, 0x10
mov dword [esi + 0x138], eax
test eax, eax
je 0x46f8e4
mov byte [edi + 0x81], 1
cmp dword [esi + 0x54], 0
je case.0x46df93.14
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x3c]
push ecx
push dword [esp + 0x50]
mov eax, dword [ebx + 0x34]
push ebp
push ebx
call eax
add esp, 0x10
test eax, eax
je 0x46f8bd
mov ecx, dword [ebx + 0x40]
lea ebx, [esi + 0x19c]
mov eax, dword [esp + 0x4c]
sub eax, ecx
push eax
lea eax, [ecx + ebp]
mov ecx, dword [esp + 0x40]
push eax
push ecx
push ebx
call fcn.00472f10
add esp, 0x10
test eax, eax
je 0x46f8e4
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
jne 0x46e13d
push ebx
call fcn.00473840
add esp, 4
test al, al
je 0x46f8e4
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov word [eax], cx
add dword [ebx + 0xc], 2
mov ebx, dword [ebx + 0x10]
test ebx, ebx
je 0x46f8e4
push ebx
call fcn.00471f30
mov eax, dword [esi + 0x1a8]
add esp, 4
mov dword [esi + 0x144], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esi + 0x1ac], eax
mov byte [esp + 0x40], 0
jmp 0x46e199
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x3c]
push ecx
push dword [esp + 0x50]
mov eax, dword [ebx + 0x34]
push ebp
push ebx
call eax
add esp, 0x10
test eax, eax
je 0x46f8bd
cmp byte [edi + 0x80], 0
je 0x46f046
cmp dword [esi + 0x138], 0
je 0x46f046
mov ecx, dword [ebx + 0x40]
lea ebx, [edi + 0x50]
mov eax, dword [esp + 0x4c]
sub eax, ecx
push eax
lea eax, [ecx + ebp]
mov ecx, dword [esp + 0x40]
push eax
push ecx
push ebx
call fcn.00472f10
add esp, 0x10
test eax, eax
je 0x46f8e4
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
jne 0x46e1f3
push ebx
call fcn.00473840
add esp, 4
test al, al
je 0x46f8e4
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov word [eax], cx
add dword [ebx + 0xc], 2
mov ebx, dword [ebx + 0x10]
test ebx, ebx
je 0x46f8e4
push ebx
call fcn.00471f30
mov eax, dword [esi + 0x138]
add esp, 4
mov dword [eax + 0x18], ebx
mov eax, dword [edi + 0x5c]
mov dword [edi + 0x60], eax
cmp dword [esi + 0x88], 0
je 0x46f046
cmp dword [esp + 0x14], 0xe
jne 0x46f046
jmp 0x46f798
cmp byte [esp + 0x58], 1
jne 0x46f7e8
mov eax, dword [esi + 0x13c]
test eax, eax
je 0x46e27f
push 0
push dword [esi + 0x144]
push dword [esi + 0x140]
push eax
push dword [esi + 4]
mov eax, dword [esi + 0x54]
call eax
lea eax, [esi + 0x19c]
push eax
call fcn.00473370
add esp, 0x18
mov byte [esp + 0x40], 0
cmp dword [esi + 0x140], 0
jne 0x46e295
cmp byte [esi + 0x1e5], 0
je 0x46e352
mov bl, byte [edi + 0x81]
mov byte [edi + 0x81], 1
cmp dword [esi + 0x1e8], 0
je 0x46e34b
cmp dword [esi + 0x70], 0
je 0x46e34b
push 0x24
push 0x578a64
lea eax, [edi + 0x84]
push eax
push esi
call fcn.00471a10
mov edx, eax
add esp, 0x10
test edx, edx
je 0x46f8e4
cmp byte [esi + 0x1e5], 0
je 0x46e2ec
mov eax, dword [esi + 0x164]
mov dword [edx + 0x14], eax
mov byte [edi + 0x83], 0
push dword [edx + 0x18]
mov eax, dword [esi + 0x70]
push dword [edx + 0x10]
push dword [edx + 0x14]
push 0
push dword [esi + 0x74]
call eax
add esp, 0x14
test eax, eax
je 0x46fa07
cmp byte [edi + 0x83], 0
je 0x46e33c
cmp byte [edi + 0x82], 0
jne 0x46e34b
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x46e34b
push dword [esi + 4]
call eax
add esp, 4
test eax, eax
je 0x46f9ce
jmp 0x46e34b
cmp dword [esi + 0x140], 0
jne 0x46e34b
mov byte [edi + 0x81], bl
mov byte [esi + 0x1e5], 0
mov eax, dword [esi + 0x58]
test eax, eax
je 0x46f046
push dword [esi + 4]
call eax
add esp, 4
jmp 0x46f798
push dword [esp + 0x4c]
mov ecx, dword [esp + 0x40]
push ebp
push ecx
push esi
call fcn.004712c0
add esp, 0x10
mov dword [esi + 0x154], eax
test eax, eax
je 0x46f8e4
jmp case.0x46df93.33
push dword [esp + 0x4c]
mov ecx, dword [esp + 0x40]
push ebp
push ecx
push esi
call fcn.00470d60
add esp, 0x10
mov dword [esi + 0x158], eax
test eax, eax
je 0x46f8e4
mov word [esi + 0x15c], 0
mov dword [esi + 0x148], 0
jmp case.0x46df93.33
mov byte [esi + 0x15c], 1
mov dword [esi + 0x148], 0x578a68
jmp case.0x46df93.33
mov byte [esi + 0x15d], 1
mov dword [esi + 0x148], 0x578a74
jmp case.0x46df93.33
mov dword [esi + 0x148], 0x578a7c
jmp case.0x46df93.33
mov dword [esi + 0x148], 0x578a88
jmp case.0x46df93.33
mov dword [esi + 0x148], 0x578a98
jmp case.0x46df93.33
mov dword [esi + 0x148], 0x578aa8
jmp case.0x46df93.33
mov dword [esi + 0x148], 0x578abc
jmp case.0x46df93.33
mov dword [esi + 0x148], 0x578acc
cmp byte [edi + 0x80], 0
je case.default.0x46df93
cmp dword [esi + 0x84], 0
je case.default.0x46df93
jmp 0x46f798
cmp byte [edi + 0x80], 0
je case.default.0x46df93
cmp dword [esi + 0x84], 0
je case.default.0x46df93
cmp dword [esi + 0x148], 0
je 0x46e47b
mov eax, 0x578af4
jmp 0x46e48b
cmp ecx, 0x20
mov eax, str.NOTATION_
mov ecx, 0x578af8
cmovne eax, ecx
push eax
lea ebx, [esi + 0x19c]
push ebx
call fcn.00473140
add esp, 8
test eax, eax
je 0x46f8e4
push dword [esp + 0x4c]
mov ecx, dword [esp + 0x40]
push ebp
push ecx
push ebx
call fcn.00472f10
add esp, 0x10
test eax, eax
je 0x46f8e4
mov eax, dword [esi + 0x1ac]
mov dword [esi + 0x148], eax
jmp 0x46f798
cmp byte [edi + 0x80], 0
je case.default.0x46df93
cmp byte [esi + 0x15d], 0
mov cl, byte [esi + 0x15c]
mov ebx, dword [esi + 0x158]
mov ebp, dword [esi + 0x154]
mov byte [esp + 0x38], cl
je 0x46e526
mov edx, dword [ebp + 0xc]
xor ecx, ecx
test edx, edx
jle 0x46e517
mov eax, dword [ebp + 0x14]
cmp ebx, dword [eax]
je 0x46e5b1
inc ecx
add eax, 0xc
cmp ecx, edx
jl 0x46e507
cmp dword [ebp + 8], 0
jne 0x46e526
cmp byte [ebx + 9], 0
jne 0x46e526
mov dword [ebp + 8], ebx
mov eax, dword [ebp + 0x10]
cmp dword [ebp + 0xc], eax
jne 0x46e58a
test eax, eax
jne 0x46e55e
mov dword [ebp + 0x10], 8
mov eax, dword [esi + 0xc]
push 0x60
call eax
add esp, 4
mov dword [ebp + 0x14], eax
test eax, eax
jne 0x46e58a
pop edi
pop esi
mov dword [ebp + 0x10], 0
mov eax, 1
pop ebp
pop ebx
add esp, 0x24
ret
add eax, eax
mov dword [esp + 0x20], eax
lea eax, [eax + eax*2]
shl eax, 2
push eax
push dword [ebp + 0x14]
mov eax, dword [esi + 0x10]
call eax
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x46f8e4
mov eax, dword [esp + 0x20]
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], ecx
mov eax, dword [ebp + 0xc]
mov dl, byte [esp + 0x38]
lea ecx, [eax + eax*2]
mov eax, dword [ebp + 0x14]
mov dword [eax + ecx*4], ebx
mov dword [eax + ecx*4 + 8], 0
mov byte [eax + ecx*4 + 4], dl
test dl, dl
jne 0x46e5ae
mov byte [ebx + 8], 1
inc dword [ebp + 0xc]
cmp dword [esi + 0x84], 0
je case.default.0x46df93
mov eax, dword [esi + 0x148]
test eax, eax
je case.default.0x46df93
movzx ecx, word [eax]
cmp ecx, 0x28
je 0x46e5e8
cmp ecx, 0x4e
jne 0x46e66b
cmp word [eax + 2], 0x4f
jne 0x46e66b
mov eax, dword [esi + 0x1a8]
lea ebx, [esi + 0x19c]
cmp eax, dword [esi + 0x1a4]
jne 0x46e60d
push ebx
call fcn.00473840
add esp, 4
test al, al
je 0x46f8e4
mov eax, dword [esi + 0x1a8]
mov ecx, 0x29
mov word [eax], cx
add dword [esi + 0x1a8], 2
mov eax, dword [esi + 0x1a8]
cmp eax, dword [esi + 0x1a4]
jne 0x46e641
push ebx
call fcn.00473840
add esp, 4
test al, al
je 0x46f8e4
mov eax, dword [esi + 0x1a8]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [esi + 0x1ac]
add dword [esi + 0x1a8], 2
mov dword [esi + 0x148], eax
mov eax, dword [esi + 0x1a8]
mov dword [esi + 0x1ac], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x48]
mov dword [ecx], eax
xor eax, eax
cmp dword [esp + 0x14], 0x24
sete al
push eax
mov eax, dword [esi + 0x158]
push 0
push dword [esi + 0x148]
push dword [eax]
mov eax, dword [esi + 0x154]
push dword [eax]
mov eax, dword [esi + 0x84]
push dword [esi + 4]
call eax
lea eax, [esi + 0x19c]
push eax
call fcn.00473370
add esp, 0x1c
jmp 0x46f798
cmp byte [edi + 0x80], 0
je case.default.0x46df93
mov ecx, dword [esp + 0x3c]
lea ebx, [edi + 0x50]
mov eax, dword [esp + 0x4c]
mov dl, byte [esi + 0x15c]
push ebx
mov ecx, dword [ecx + 0x40]
sub eax, ecx
push eax
mov byte [esp + 0x24], dl
lea eax, [ecx + ebp]
push eax
push dword [esp + 0x28]
push dword [esp + 0x4c]
push esi
call fcn.0046c3e0
add esp, 0x18
test eax, eax
jne 0x46fa59
cmp byte [esp + 0x1c], al
jne 0x46e71f
mov ecx, dword [ebx + 0xc]
mov eax, ecx
sub eax, dword [ebx + 0x10]
test eax, 0xfffffffe
je 0x46e71f
cmp word [ecx - 2], 0x20
lea eax, [ecx - 2]
jne 0x46e71f
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
jne 0x46e738
push ebx
call fcn.00473840
add esp, 4
test al, al
je 0x46f8e4
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov word [eax], cx
add dword [ebx + 0xc], 2
mov ecx, dword [edi + 0x60]
mov eax, dword [edi + 0x5c]
mov dword [edi + 0x60], eax
mov al, byte [esi + 0x15c]
mov ebx, dword [esi + 0x158]
mov ebp, dword [esi + 0x154]
mov dword [esp + 0x20], ecx
mov byte [esp + 0x38], al
test ecx, ecx
je 0x46e787
mov edx, dword [ebp + 0xc]
xor ecx, ecx
test edx, edx
jle 0x46e787
mov eax, dword [ebp + 0x14]
cmp ebx, dword [eax]
je 0x46e804
inc ecx
add eax, 0xc
cmp ecx, edx
jl 0x46e777
mov eax, dword [ebp + 0x10]
cmp dword [ebp + 0xc], eax
jne 0x46e7dd
test eax, eax
jne 0x46e7b1
mov dword [ebp + 0x10], 8
mov eax, dword [esi + 0xc]
push 0x60
call eax
add esp, 4
mov dword [ebp + 0x14], eax
test eax, eax
je 0x46e54a
jmp 0x46e7dd
add eax, eax
mov dword [esp + 0x28], eax
lea eax, [eax + eax*2]
shl eax, 2
push eax
push dword [ebp + 0x14]
mov eax, dword [esi + 0x10]
call eax
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x46f8e4
mov eax, dword [esp + 0x28]
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], ecx
mov eax, dword [ebp + 0xc]
mov edx, dword [esp + 0x20]
lea ecx, [eax + eax*2]
mov eax, dword [ebp + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov dl, byte [esp + 0x38]
mov dword [eax + ecx*4], ebx
mov byte [eax + ecx*4 + 4], dl
test dl, dl
jne 0x46e801
mov byte [ebx + 8], 1
inc dword [ebp + 0xc]
cmp dword [esi + 0x84], 0
je case.default.0x46df93
mov eax, dword [esi + 0x148]
test eax, eax
je case.default.0x46df93
movzx ecx, word [eax]
cmp ecx, 0x28
je 0x46e83b
cmp ecx, 0x4e
jne 0x46e8be
cmp word [eax + 2], 0x4f
jne 0x46e8be
mov eax, dword [esi + 0x1a8]
lea ebx, [esi + 0x19c]
cmp eax, dword [esi + 0x1a4]
jne 0x46e860
push ebx
call fcn.00473840
add esp, 4
test al, al
je 0x46f8e4
mov eax, dword [esi + 0x1a8]
mov ecx, 0x29
mov word [eax], cx
add dword [esi + 0x1a8], 2
mov eax, dword [esi + 0x1a8]
cmp eax, dword [esi + 0x1a4]
jne 0x46e894
push ebx
call fcn.00473840
add esp, 4
test al, al
je 0x46f8e4
mov eax, dword [esi + 0x1a8]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [esi + 0x1ac]
add dword [esi + 0x1a8], 2
mov dword [esi + 0x148], eax
mov eax, dword [esi + 0x1a8]
mov dword [esi + 0x1ac], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x48]
mov dword [ecx], eax
xor eax, eax
cmp dword [esp + 0x14], 0x26
sete al
push eax
push dword [esp + 0x24]
mov eax, dword [esi + 0x158]
push dword [esi + 0x148]
push dword [eax]
mov eax, dword [esi + 0x154]
push dword [eax]
mov eax, dword [esi + 0x84]
push dword [esi + 4]
call eax
lea eax, [esi + 0x19c]
push eax
call fcn.00473370
add esp, 0x1c
jmp 0x46f798
cmp byte [edi + 0x80], 0
je case.default.0x46df93
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x4c]
mov ecx, dword [edx + 0x40]
sub eax, ecx
push eax
lea eax, [ecx + ebp]
push eax
push edx
push esi
call fcn.004757c0
mov ecx, dword [esi + 0x138]
add esp, 0x10
mov ebx, eax
mov eax, dword [edi + 0x78]
test ecx, ecx
je 0x46e9a1
mov dword [ecx + 4], eax
mov ecx, dword [edi + 0x74]
sub ecx, dword [edi + 0x78]
mov eax, dword [esi + 0x138]
sar ecx, 1
mov dword [eax + 8], ecx
mov eax, dword [edi + 0x74]
mov dword [edi + 0x78], eax
cmp dword [esi + 0x88], 0
je 0x46e9a4
mov eax, dword [esp + 0x10]
push 0
push 0
push 0
mov dword [eax], ebp
mov ecx, dword [esi + 0x138]
push dword [esi + 0x164]
push dword [ecx + 8]
movzx eax, byte [ecx + 0x21]
push dword [ecx + 4]
push eax
push dword [ecx]
mov eax, dword [esi + 0x88]
push dword [esi + 4]
call eax
add esp, 0x24
mov byte [esp + 0x40], 0
jmp 0x46e9a4
mov dword [edi + 0x74], eax
test ebx, ebx
je 0x46f046
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x24
ret
mov byte [esi + 0x1e5], 0
mov byte [edi + 0x81], 1
cmp dword [esi + 0x54], 0
je 0x46ea3c
mov edx, dword [esp + 0x3c]
lea ebx, [esi + 0x19c]
mov eax, dword [esp + 0x4c]
mov ecx, dword [edx + 0x40]
sub eax, ecx
push eax
lea eax, [ecx + ebp]
push eax
push edx
push ebx
call fcn.00472f10
add esp, 0x10
test eax, eax
je 0x46f88f
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
jne 0x46ea0d
push ebx
call fcn.00473840
add esp, 4
test al, al
je 0x46f88f
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov word [eax], cx
add dword [ebx + 0xc], 2
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x140], eax
test eax, eax
je 0x46f8e4
mov eax, dword [esi + 0x1a8]
mov dword [esi + 0x1ac], eax
mov byte [esp + 0x40], cl
jmp 0x46ea46
mov dword [esi + 0x140], 0x578a64
cmp byte [edi + 0x82], 0
jne 0x46ea6f
cmp dword [esi + 0x1e8], 0
jne 0x46ea6f
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x46ea6f
push dword [esi + 4]
call eax
add esp, 4
test eax, eax
je 0x46f9ce
cmp dword [esi + 0x138], 0
jne case.0x46df93.13
push 0x24
push 0x578a64
lea eax, [edi + 0x84]
push eax
push esi
call fcn.00471a10
add esp, 0x10
mov dword [esi + 0x138], eax
test eax, eax
je 0x46f8e4
mov dword [eax + 0x18], 0
cmp byte [edi + 0x80], 0
je 0x46f046
cmp dword [esi + 0x138], 0
je 0x46f046
mov edx, dword [esp + 0x3c]
lea ebx, [edi + 0x50]
mov eax, dword [esp + 0x4c]
mov ecx, dword [edx + 0x40]
sub eax, ecx
push eax
lea eax, [ecx + ebp]
push eax
push edx
push ebx
call fcn.00472f10
add esp, 0x10
test eax, eax
jne 0x46eae5
xor ecx, ecx
jmp 0x46eb0d
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
jne 0x46eafe
push ebx
call fcn.00473840
add esp, 4
test al, al
jne 0x46eafe
xor ecx, ecx
jmp 0x46eb0d
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov word [eax], cx
add dword [ebx + 0xc], 2
mov ecx, dword [ebx + 0x10]
mov eax, dword [esi + 0x138]
mov dword [eax + 0x10], ecx
mov ecx, dword [esi + 0x138]
cmp dword [ecx + 0x10], 0
je 0x46f8e4
mov eax, dword [esi + 0x164]
mov dword [ecx + 0x14], eax
mov eax, dword [edi + 0x5c]
mov dword [edi + 0x60], eax
cmp dword [esi + 0x88], 0
je 0x46f046
cmp dword [esp + 0x14], 0xd
jne 0x46f046
jmp 0x46f798
cmp byte [edi + 0x80], 0
je case.default.0x46df93
cmp dword [esi + 0x138], 0
je case.default.0x46df93
cmp dword [esi + 0x88], 0
je case.default.0x46df93
mov eax, dword [esp + 0x10]
push 0
mov dword [eax], ebp
mov ecx, dword [esi + 0x138]
push dword [ecx + 0x18]
movzx eax, byte [ecx + 0x21]
push dword [ecx + 0x10]
push dword [ecx + 0x14]
push 0
push 0
push eax
push dword [ecx]
mov eax, dword [esi + 0x88]
push dword [esi + 4]
call eax
add esp, 0x24
jmp 0x46f798
cmp byte [edi + 0x80], 0
je case.default.0x46df93
cmp dword [esi + 0x138], 0
je case.default.0x46df93
push dword [esp + 0x4c]
lea ebx, [edi + 0x50]
push ebp
push dword [esp + 0x44]
push ebx
call fcn.00472f10
add esp, 0x10
test eax, eax
jne 0x46ebe5
xor ecx, ecx
jmp 0x46ec0d
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
jne 0x46ebfe
push ebx
call fcn.00473840
add esp, 4
test al, al
jne 0x46ebfe
xor ecx, ecx
jmp 0x46ec0d
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov word [eax], cx
add dword [ebx + 0xc], 2
mov ecx, dword [ebx + 0x10]
mov eax, dword [esi + 0x138]
mov dword [eax + 0x1c], ecx
mov eax, dword [esi + 0x138]
cmp dword [eax + 0x1c], 0
je 0x46f8e4
mov eax, dword [edi + 0x5c]
mov dword [edi + 0x60], eax
cmp dword [esi + 0x5c], 0
je 0x46ec5c
mov eax, dword [esp + 0x10]
mov dword [eax], ebp
mov eax, dword [esi + 0x138]
push dword [eax + 0x1c]
push dword [eax + 0x18]
push dword [eax + 0x10]
push dword [eax + 0x14]
push dword [eax]
mov eax, dword [esi + 0x5c]
push dword [esi + 4]
call eax
add esp, 0x18
jmp 0x46f798
cmp dword [esi + 0x88], 0
je case.default.0x46df93
mov eax, dword [esp + 0x10]
mov dword [eax], ebp
mov eax, dword [esi + 0x138]
push dword [eax + 0x1c]
push dword [eax + 0x18]
push dword [eax + 0x10]
push dword [eax + 0x14]
push 0
push 0
push 0
push dword [eax]
mov eax, dword [esi + 0x88]
push dword [esi + 4]
call eax
add esp, 0x24
jmp 0x46f798
push dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
push ebp
push eax
mov eax, dword [eax + 0x2c]
call eax
add esp, 0xc
test eax, eax
je 0x46ecc1
mov dword [esi + 0x138], 0
jmp case.default.0x46df93
cmp byte [edi + 0x80], 0
je 0x46eda0
push dword [esp + 0x4c]
lea ebx, [edi + 0x50]
push ebp
mov ebp, dword [esp + 0x44]
push ebp
push ebx
call fcn.00472f10
add esp, 0x10
test eax, eax
je 0x46f8e4
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
jne 0x46ed05
push ebx
call fcn.00473840
add esp, 4
test al, al
je 0x46f8e4
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov word [eax], cx
add dword [ebx + 0xc], 2
mov ebx, dword [ebx + 0x10]
test ebx, ebx
je 0x46f8e4
push 0x24
push ebx
push edi
push esi
call fcn.00471a10
add esp, 0x10
mov dword [esi + 0x138], eax
test eax, eax
je 0x46f8e4
cmp dword [eax], ebx
je 0x46ed54
mov eax, dword [edi + 0x60]
mov dword [edi + 0x5c], eax
mov dword [esi + 0x138], 0
mov ebx, dword [esp + 0x48]
jmp 0x46f783
mov eax, dword [edi + 0x5c]
mov dword [edi + 0x60], eax
mov eax, dword [esi + 0x138]
mov dword [eax + 0x18], 0
mov eax, dword [esi + 0x138]
mov byte [eax + 0x21], 0
cmp dword [esi + 0x1d8], 0
jne 0x46ed87
cmp dword [esi + 0x128], 0
jne 0x46ed87
mov cl, 1
jmp 0x46ed89
xor cl, cl
mov eax, dword [esi + 0x138]
mov byte [eax + 0x22], cl
cmp dword [esi + 0x88], 0
je 0x46ed4b
jmp 0x46f798
mov eax, dword [edi + 0x60]
mov dword [edi + 0x5c], eax
mov dword [esi + 0x138], 0
jmp case.default.0x46df93
cmp byte [edi + 0x80], 0
je 0x46eda0
push dword [esp + 0x4c]
lea ebx, [edi + 0x50]
push ebp
mov ebp, dword [esp + 0x44]
push ebp
push ebx
call fcn.00472f10
add esp, 0x10
test eax, eax
je 0x46f8e4
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
jne 0x46edf5
push ebx
call fcn.00473840
add esp, 4
test al, al
je 0x46f8e4
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov word [eax], cx
add dword [ebx + 0xc], 2
mov ebx, dword [ebx + 0x10]
test ebx, ebx
je 0x46f8e4
push 0x24
push ebx
lea eax, [edi + 0x84]
push eax
push esi
call fcn.00471a10
add esp, 0x10
mov dword [esi + 0x138], eax
test eax, eax
je 0x46f8e4
cmp dword [eax], ebx
jne 0x46ed3b
mov eax, dword [edi + 0x5c]
mov dword [edi + 0x60], eax
mov eax, dword [esi + 0x138]
mov dword [eax + 0x18], 0
mov eax, dword [esi + 0x138]
mov byte [eax + 0x21], 1
cmp dword [esi + 0x1d8], 0
jne 0x46ed87
cmp dword [esi + 0x128], 0
jne 0x46ed87
mov cl, 1
jmp 0x46ed89
cmp dword [esi + 0x60], 0
mov dword [esi + 0x150], 0
mov dword [esi + 0x14c], 0
je case.default.0x46df93
push dword [esp + 0x4c]
lea ebx, [esi + 0x19c]
push ebp
push dword [esp + 0x44]
push ebx
call fcn.00472f10
add esp, 0x10
test eax, eax
je 0x46f8a6
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
jne 0x46eeca
push ebx
call fcn.00473840
add esp, 4
test al, al
je 0x46f8a6
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov word [eax], cx
add dword [ebx + 0xc], 2
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x14c], eax
test eax, eax
je 0x46f8e4
mov eax, dword [esi + 0x1a8]
mov dword [esi + 0x1ac], eax
jmp 0x46f798
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x3c]
push ecx
push dword [esp + 0x50]
mov eax, dword [ebx + 0x34]
push ebp
push ebx
call eax
add esp, 0x10
test eax, eax
je 0x46f8bd
cmp dword [esi + 0x14c], 0
je case.default.0x46df93
mov ecx, dword [ebx + 0x40]
lea ebx, [esi + 0x19c]
mov eax, dword [esp + 0x4c]
sub eax, ecx
push eax
lea eax, [ecx + ebp]
push eax
push dword [esp + 0x44]
push ebx
call fcn.00472f10
add esp, 0x10
test eax, eax
je 0x46f8e4
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
jne 0x46ef66
push ebx
call fcn.00473840
add esp, 4
test al, al
je 0x46f8e4
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov word [eax], cx
add dword [ebx + 0xc], 2
mov ebx, dword [ebx + 0x10]
test ebx, ebx
je 0x46f8e4
push ebx
call fcn.00471f30
mov eax, dword [esi + 0x1a8]
add esp, 4
mov dword [esi + 0x150], ebx
mov dword [esi + 0x1ac], eax
jmp 0x46f798
cmp dword [esi + 0x14c], 0
je 0x46f037
cmp dword [esi + 0x60], 0
je 0x46f037
mov edx, dword [esp + 0x3c]
lea ebx, [esi + 0x19c]
mov eax, dword [esp + 0x4c]
mov ecx, dword [edx + 0x40]
sub eax, ecx
push eax
lea eax, [ecx + ebp]
push eax
push edx
push ebx
call fcn.00472f10
add esp, 0x10
test eax, eax
je 0x46f8e4
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
jne 0x46eff7
push ebx
call fcn.00473840
add esp, 4
test al, al
je 0x46f8e4
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov word [eax], cx
add dword [ebx + 0xc], 2
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x46f8e4
mov ecx, dword [esp + 0x10]
mov dword [ecx], ebp
push dword [esi + 0x150]
push eax
push dword [esi + 0x164]
mov eax, dword [esi + 0x60]
push dword [esi + 0x14c]
push dword [esi + 4]
call eax
add esp, 0x14
mov byte [esp + 0x40], 0
lea eax, [esi + 0x19c]
push eax
call fcn.00473370
add esp, 4
mov eax, dword [esp + 0x40]
test al, al
je 0x46f798
jmp case.default.0x46df93
cmp dword [esi + 0x150], 0
je 0x46f037
cmp dword [esi + 0x60], 0
je 0x46f037
mov eax, dword [esp + 0x10]
mov dword [eax], ebp
push dword [esi + 0x150]
push 0
jmp 0x46f01b
cmp dword [esi + 0x50], 0
je 0x46f08e
push dword [esp + 0x4c]
push ebp
push dword [esp + 0x44]
push esi
call fcn.00473fd0
add esp, 0x10
push dword [esp + 0x24]
mov ebp, dword [esp + 0x54]
lea eax, [esp + 0x50]
mov ebx, dword [esp + 0x48]
push ebp
push ebx
push eax
push dword [esp + 0x4c]
push esi
call fcn.0046dd80
add esp, 0x18
test eax, eax
jne 0x46fa59
cmp dword [esp + 0x4c], eax
je 0x46f8ca
mov ecx, dword [esp + 0x3c]
jmp 0x46f7a4
mov eax, dword [esi + 0x1d0]
cmp dword [esi + 0x100], eax
jb 0x46f14f
test eax, eax
je 0x46f12d
add eax, eax
push eax
push dword [esi + 0x1cc]
mov dword [esi + 0x1d0], eax
mov eax, dword [esi + 0x10]
call eax
add esp, 8
test eax, eax
je 0x46f8de
mov dword [esi + 0x1cc], eax
mov ecx, dword [edi + 0xb8]
test ecx, ecx
je 0x46f14f
mov eax, dword [esi + 0x1d0]
shl eax, 2
push eax
mov eax, dword [esi + 0x10]
push ecx
call eax
add esp, 8
test eax, eax
je 0x46f8e4
mov dword [edi + 0xb8], eax
jmp 0x46f14f
mov eax, dword [esi + 0xc]
push 0x20
mov dword [esi + 0x1d0], 0x20
call eax
add esp, 4
mov dword [esi + 0x1cc], eax
test eax, eax
je 0x46f8f1
mov ecx, dword [esi + 0x1cc]
mov eax, dword [esi + 0x100]
mov byte [ecx + eax], 0
cmp byte [edi + 0xa0], 0
je case.default.0x46df93
push esi
call fcn.00471d90
mov edx, eax
add esp, 4
test edx, edx
js 0x46f8e4
mov ecx, dword [edi + 0xb4]
mov eax, dword [edi + 0xb8]
mov dword [eax + ecx*4], edx
lea ecx, [edx*8]
mov eax, dword [edi + 0xa4]
sub ecx, edx
inc dword [edi + 0xb4]
mov dword [eax + ecx*4], 6
cmp dword [esi + 0x80], 0
je case.default.0x46df93
jmp 0x46f798
mov ecx, dword [esi + 0x1cc]
mov eax, dword [esi + 0x100]
cmp byte [ecx + eax], 0x7c
je 0x46fa29
mov byte [ecx + eax], 0x2c
cmp byte [edi + 0xa0], 0
je case.default.0x46df93
cmp dword [esi + 0x80], 0
je case.default.0x46df93
jmp 0x46f798
mov ecx, dword [esi + 0x1cc]
mov eax, dword [esi + 0x100]
mov al, byte [ecx + eax]
cmp al, 0x2c
je 0x46fa29
cmp byte [edi + 0xa0], 0
je 0x46f25b
test al, al
jne 0x46f25b
mov ecx, dword [edi + 0xb4]
mov eax, dword [edi + 0xb8]
mov eax, dword [eax + ecx*4 - 4]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edi + 0xa4]
cmp dword [eax + ecx*4], 3
je 0x46f25b
mov dword [eax + ecx*4], 5
xor ecx, ecx
mov eax, dword [esp + 0x40]
cmp dword [esi + 0x80], ecx
movzx eax, al
cmovne eax, ecx
mov dword [esp + 0x40], eax
mov ecx, dword [esi + 0x100]
mov eax, dword [esi + 0x1cc]
mov byte [ecx + eax], 0x7c
jmp 0x46f046
mov byte [edi + 0x81], 1
cmp dword [esi + 0x1e8], 0
jne 0x46f2b9
mov al, byte [edi + 0x82]
mov byte [edi + 0x80], al
cmp byte [edi + 0x82], 0
jne 0x46f046
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x46f046
push dword [esi + 4]
call eax
add esp, 4
test eax, eax
je 0x46f9ce
jmp 0x46f046
mov edx, dword [esp + 0x3c]
lea ebx, [edi + 0x50]
mov eax, dword [esp + 0x4c]
mov ecx, dword [edx + 0x40]
sub eax, ecx
push eax
lea eax, [ecx + ebp]
push eax
push edx
push ebx
call fcn.00472f10
add esp, 0x10
test eax, eax
je 0x46f8e4
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
jne 0x46f2f9
push ebx
call fcn.00473840
add esp, 4
test al, al
je 0x46f8e4
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov word [eax], cx
add dword [ebx + 0xc], 2
mov ebp, dword [ebx + 0x10]
test ebp, ebp
je 0x46f8e4
push ecx
push ebp
lea eax, [edi + 0x84]
push eax
push esi
call fcn.00471a10
mov ebx, eax
lea ecx, [edi + 0x82]
mov eax, dword [edi + 0x60]
add esp, 0x10
mov dword [edi + 0x5c], eax
cmp dword [esi + 0x10c], 0
je 0x46f399
xor eax, eax
cmp byte [ecx], al
je 0x46f347
cmp dword [esi + 0x128], eax
jmp 0x46f34d
cmp byte [edi + 0x81], al
sete al
test eax, eax
je 0x46f399
test ebx, ebx
je 0x46f915
cmp byte [ebx + 0x22], 0
je 0x46f908
cmp byte [ebx + 0x20], 0
jne 0x46f922
cmp dword [ebx + 4], 0
je 0x46f3cd
cmp dword [esp + 0x14], 0x3c
sete al
movzx eax, al
push eax
push ebx
push esi
call fcn.00473ad0
add esp, 0xc
test eax, eax
jne 0x46fa59
jmp 0x46f798
mov eax, ecx
test ebx, ebx
jne 0x46f366
cmp dword [esp + 0x14], 0x3c
mov al, byte [eax]
mov byte [edi + 0x80], al
jne case.default.0x46df93
mov eax, dword [esi + 0x78]
test eax, eax
je case.default.0x46df93
push 1
push ebp
push dword [esi + 4]
call eax
add esp, 0xc
jmp 0x46f798
cmp dword [esi + 0x70], 0
je 0x46f423
mov byte [edi + 0x83], 0
push dword [ebx + 0x18]
mov byte [ebx + 0x20], 1
push dword [ebx + 0x10]
mov eax, dword [esi + 0x70]
push dword [ebx + 0x14]
push 0
push dword [esi + 0x74]
call eax
add esp, 0x14
mov byte [ebx + 0x20], 0
test eax, eax
je 0x46fa07
cmp byte [edi + 0x83], 0
mov byte [esp + 0x40], 0
jne 0x46f28c
mov al, byte [edi + 0x82]
mov byte [edi + 0x80], al
jmp 0x46f798
mov al, byte [ecx]
mov byte [edi + 0x80], al
jmp case.default.0x46df93
cmp dword [esi + 0x80], 0
je case.default.0x46df93
push dword [esp + 0x4c]
push ebp
push dword [esp + 0x44]
push esi
call fcn.004712c0
add esp, 0x10
mov dword [esi + 0x154], eax
test eax, eax
je 0x46f8e4
mov dword [edi + 0xb4], 0
mov dword [edi + 0xb0], 0
mov byte [edi + 0xa0], 1
jmp 0x46f798
cmp byte [edi + 0xa0], 0
je case.default.0x46df93
cmp dword [esi + 0x80], 0
je 0x46f4f2
mov eax, dword [esi + 0xc]
push 0x14
call eax
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x46f8e4
xor eax, eax
mov dword [ecx + 4], 0
cmp dword [esp + 0x14], 0x29
mov dword [ecx + 8], 0
sete al
mov dword [ecx + 0xc], 0
inc eax
mov dword [ecx + 0x10], 0
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
push ecx
mov dword [eax], ebp
mov eax, dword [esi + 0x154]
push dword [eax]
mov eax, dword [esi + 0x80]
push dword [esi + 4]
call eax
add esp, 0xc
mov byte [esp + 0x40], 0
mov byte [edi + 0xa0], 0
jmp 0x46f046
cmp byte [edi + 0xa0], 0
je case.default.0x46df93
mov ecx, dword [edi + 0xb4]
mov eax, dword [edi + 0xb8]
mov eax, dword [eax + ecx*4 - 4]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edi + 0xa4]
mov dword [eax + ecx*4], 3
cmp dword [esi + 0x80], 0
je case.default.0x46df93
jmp 0x46f798
xor ebx, ebx
jmp 0x46f55a
mov ebx, 1
jmp 0x46f55a
mov ebx, 2
jmp 0x46f55a
mov ebx, 3
cmp byte [edi + 0xa0], 0
je case.default.0x46df93
test ebx, ebx
jne 0x46f575
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x38], eax
jmp 0x46f584
mov eax, dword [esp + 0x3c]
mov ebp, dword [esp + 0x4c]
sub ebp, dword [eax + 0x40]
mov dword [esp + 0x38], ebp
push esi
call fcn.00471d90
add esp, 4
test eax, eax
js 0x46f8e4
push dword [esp + 0x38]
lea ebp, [eax*8]
sub ebp, eax
mov eax, dword [edi + 0xa4]
mov dword [eax + ebp*4], 4
mov eax, dword [edi + 0xa4]
mov dword [eax + ebp*4 + 4], ebx
mov ebx, dword [esp + 0x4c]
push ebx
push dword [esp + 0x44]
push esi
call fcn.004712c0
add esp, 0x10
test eax, eax
je 0x46f8e4
mov edx, dword [eax]
xor ecx, ecx
mov eax, dword [edi + 0xa4]
mov dword [eax + ebp*4 + 8], edx
lea eax, [ecx + ecx]
inc ecx
cmp word [eax + edx], 0
jne 0x46f5e1
add dword [edi + 0xa8], ecx
cmp dword [esi + 0x80], 0
je 0x46f77f
jmp 0x46f798
xor edx, edx
jmp 0x46f61b
mov edx, 1
jmp 0x46f61b
mov edx, 2
jmp 0x46f61b
mov edx, 3
cmp byte [edi + 0xa0], 0
je case.default.0x46df93
mov ecx, dword [edi + 0xb4]
mov eax, dword [edi + 0xb8]
dec ecx
mov ebx, dword [esi + 0x80]
mov dword [edi + 0xb4], ecx
mov eax, dword [eax + ecx*4]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edi + 0xa4]
test ebx, ebx
mov dword [eax + ecx*4 + 4], edx
sete al
cmp dword [edi + 0xb4], 0
mov byte [esp + 0x38], al
jne 0x46f04a
test ebx, ebx
je 0x46f6ed
mov ebp, dword [esi + 0x160]
mov eax, dword [ebp + 0xb0]
lea ecx, [eax + eax*4]
mov eax, dword [ebp + 0xa8]
lea eax, [eax + ecx*2]
add eax, eax
push eax
mov eax, dword [esi + 0xc]
call eax
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x46f8e4
mov eax, dword [ebp + 0xb0]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*4]
mov dword [esp + 0x2c], eax
lea eax, [ebx + 0x14]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x34]
push eax
push ebx
push 0
push esi
call fcn.0046c8b0
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x5c]
push ebx
mov dword [ecx], eax
mov eax, dword [esi + 0x154]
push dword [eax]
mov eax, dword [esi + 0x80]
push dword [esi + 4]
call eax
mov al, byte [esp + 0x58]
add esp, 0x20
mov byte [edi + 0xa0], 0
mov dword [edi + 0xa8], 0
jmp 0x46f04a
push dword [esp + 0x4c]
push ebp
push dword [esp + 0x44]
push esi
call fcn.00474090
add esp, 0x10
test eax, eax
je 0x46f8e4
jmp 0x46f798
push dword [esp + 0x4c]
push ebp
push dword [esp + 0x44]
push esi
call fcn.00473f20
add esp, 0x10
test eax, eax
je 0x46f8e4
jmp 0x46f798
cmp ebx, 0xe
setne al
jmp 0x46f04a
cmp dword [esi + 0x54], 0
sete al
jmp 0x46f04a
cmp byte [edi + 0x80], 0
je case.default.0x46df93
cmp dword [esi + 0x88], 0
je case.default.0x46df93
jmp 0x46f798
cmp dword [esi + 0x60], 0
sete al
jmp 0x46f04a
cmp dword [esi + 0x80], 0
jne 0x46f798
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x3c]
cmp dword [esi + 0x50], 0
je 0x46f798
push dword [esp + 0x4c]
push ebx
push ebp
push esi
call fcn.00473fd0
add esp, 0x10
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x50]
mov eax, dword [esi + 0x1dc]
sub eax, 2
je 0x46fa54
sub eax, 1
je 0x46fa43
mov ebp, dword [esp + 0x4c]
lea eax, [esp + 0x4c]
push eax
mov eax, dword [ecx]
push ebx
push ebp
push ecx
mov dword [esp + 0x58], ebp
call eax
mov edx, dword [esp + 0x28]
add esp, 0x10
mov ebx, eax
jmp 0x46df24
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x4c]
mov dword [ecx], eax
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0x24
ret
pop edi
pop esi
pop ebp
mov eax, 5
pop ebx
add esp, 0x24
ret
pop edi
pop esi
pop ebp
mov eax, 6
pop ebx
add esp, 0x24
ret
mov ecx, dword [esi + 0x90]
cmp edx, ecx
je 0x46f825
mov eax, dword [esi + 0x128]
cmp byte [eax + 0x14], 0
je 0x46f868
cmp byte [esi + 0x1e4], 0
jne 0x46f83f
cmp edx, ecx
jne 0x46f83f
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x24
ret
mov ebx, dword [esp + 0x44]
lea eax, [esi + 0xfc]
push edx
push ebx
push ebx
push 0xfffffffffffffffc
push eax
mov eax, dword [eax]
call eax
add esp, 0x14
cmp eax, 0xffffffff
jne 0x46f868
pop edi
pop esi
pop ebp
mov eax, 0x1d
pop ebx
add esp, 0x24
ret
mov eax, dword [esp + 0x50]
pop edi
pop esi
mov dword [eax], ebp
xor eax, eax
pop ebp
pop ebx
add esp, 0x24
ret
pop edi
mov dword [esi + 0x13c], 0
mov eax, 1
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
pop edi
mov dword [esi + 0x140], 0
mov eax, 1
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
pop edi
mov dword [esi + 0x14c], 0
mov eax, 1
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
pop edi
pop esi
pop ebp
mov eax, 0x20
pop ebx
add esp, 0x24
ret
pop edi
mov dword [esi + 0x114], 0x471640
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
shr dword [esi + 0x1d0], 1
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24
ret
pop edi
mov dword [esi + 0x1d0], 0
mov eax, 1
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
pop edi
pop esi
pop ebp
mov eax, 0x18
pop ebx
add esp, 0x24
ret
pop edi
pop esi
pop ebp
mov eax, 0xb
pop ebx
add esp, 0x24
ret
pop edi
pop esi
pop ebp
mov eax, 0xc
pop ebx
add esp, 0x24
ret
cmp byte [esi + 0x1e5], 0
je 0x46f9e1
mov bl, byte [edi + 0x81]
mov byte [edi + 0x81], 1
cmp dword [esi + 0x1e8], 0
je 0x46f9e1
cmp dword [esi + 0x70], 0
je 0x46f9e1
push 0x24
push 0x578a64
lea eax, [edi + 0x84]
push eax
push esi
call fcn.00471a10
add esp, 0x10
test eax, eax
je 0x46f8e4
mov ecx, dword [esi + 0x164]
mov dword [eax + 0x14], ecx
mov byte [edi + 0x83], 0
push dword [eax + 0x18]
push dword [eax + 0x10]
push dword [eax + 0x14]
mov eax, dword [esi + 0x70]
push 0
push dword [esi + 0x74]
call eax
add esp, 0x14
test eax, eax
je 0x46fa07
cmp byte [edi + 0x83], 0
je 0x46f9db
cmp byte [edi + 0x82], 0
jne 0x46f9e1
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x46f9e1
push dword [esi + 4]
call eax
add esp, 4
test eax, eax
jne 0x46f9e1
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
add esp, 0x24
ret
mov byte [edi + 0x81], bl
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x44]
push eax
push ebx
push ebp
push esi
mov dword [esi + 0x114], fcn.0046ca90
call fcn.0046ca90
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
pop edi
pop esi
pop ebp
mov eax, 0x15
pop ebx
add esp, 0x24
ret
cmp ebx, 0xc
je 0x46fa36
cmp ebx, 0x1c
jne 0x46fa29
pop edi
pop esi
pop ebp
lea eax, [ebx - 0x12]
pop ebx
add esp, 0x24
ret
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x24
ret
pop edi
pop esi
pop ebp
mov eax, 0x11
pop ebx
add esp, 0x24
ret
mov eax, dword [esp + 0x4c]
pop edi
pop esi
mov dword [ebp], eax
xor eax, eax
pop ebp
pop ebx
add esp, 0x24
ret
mov eax, 0x23
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret