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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xec
mov dword [esp + 0x50], ecx
mov ecx, 0x4ded7c
mov edi, dword [esp + 0x114]
call fcn.0043afb0
mov esi, dword [esp + 0x110]
mov edx, dword [esi + 0x6c]
mov ecx, dword [edx + 4]
cmp eax, dword [edx + 8]
jae 0x46d094
mov eax, dword [ecx + eax*4]
test eax, eax
je 0x46d094
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x4e9894
mov dword [esp + 4], 0x4e9590
mov dword [esp], eax
call fcn.004cede0
mov dword [esp + 0x54], eax
test eax, eax
je 0x46d094
mov ecx, 0x4deec0
call fcn.0043afb0
mov edx, eax
mov eax, dword [esp + 0x110]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 4]
mov ebp, dword [eax + edx*4]
test ebp, ebp
je 0x46d094
mov eax, dword [esp + 0x11c]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov dword [esp + 0x78], 0
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x114], edi
mov edi, ebp
lea eax, [esp + 0x108]
lea ecx, [esp + 0x100]
mov dword [esp], eax
call fcn.004391f0
sub esp, 4
xor eax, 1
mov ecx, dword [esp + 0x44]
cmp dword [esp + 0x3c], ecx
setb dl
and al, dl
mov byte [esp + 0x4c], al
je 0x46bdb0
mov edx, dword [esp + 0x40]
test edx, edx
jne 0x46be88
mov ebp, dword [esp + 0x3c]
add ebp, dword [esp + 0x11c]
movzx ebx, byte [ebp]
movzx eax, byte [edi + ebx + 0x11d]
mov edx, ebx
test al, al
jne 0x46bb3d
mov eax, dword [edi]
mov eax, dword [eax + 0x20]
cmp eax, 0x43a980
jne 0x46bdf0
test dl, dl
je 0x46bb45
mov byte [edi + ebx + 0x11d], dl
mov eax, edx
cmp al, 0x25
je 0x46bcf8
movzx ecx, byte [ebp]
mov edx, dword [edi + 0x18]
mov esi, dword [esp + 0x104]
mov ebx, dword [esp + 0x100]
test byte [edx + ecx*2], 0x20
jne 0x46bc10
mov edx, dword [edi]
movsx eax, cl
mov ecx, edi
mov dword [esp], eax
call dword [edx + 0x10]
sub esp, 4
mov byte [esp + 0x48], al
cmp esi, 0xffffffff
jne 0x46bb85
test ebx, ebx
jne 0x46be10
mov edx, esi
mov eax, dword [edi]
movsx esi, dl
mov ecx, edi
mov dword [esp], esi
call dword [eax + 0x10]
sub esp, 4
cmp byte [esp + 0x48], al
je 0x46bbf0
movsx edx, byte [ebp]
mov eax, dword [edi]
mov ecx, edi
mov dword [esp], edx
call dword [eax + 8]
sub esp, 4
mov ebx, eax
lea ecx, [esp + 0x100]
call fcn.004392a0
mov edx, dword [edi]
mov ecx, edi
movsx eax, al
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
cmp bl, al
je 0x46bbf0
mov dword [esp + 0x78], 4
mov dword [esp + 0x40], 4
add dword [esp + 0x3c], 1
jmp 0x46bac4
mov ecx, dword [esp + 0x100]
call fcn.004acf70
mov dword [esp + 0x104], 0xffffffff
jmp 0x46bbe0
cmp dword [esp + 0x10c], 0xffffffff
sete dl
cmp esi, 0xffffffff
sete al
mov ebp, eax
test ebx, ebx
je 0x46bc2b
test al, al
jne 0x46bc91
mov eax, ebp
mov byte [esp + 0x48], al
mov ecx, dword [esp + 0x108]
test ecx, ecx
setne bl
and bl, dl
jne 0x46bcc0
mov ebx, edx
mov eax, ebp
cmp al, bl
je 0x46bbe0
mov ebx, dword [esp + 0x100]
test ebx, ebx
je 0x46bc5b
cmp byte [esp + 0x48], 0
jne 0x46bcd8
mov eax, esi
movzx esi, al
mov eax, dword [edi + 0x18]
test byte [eax + esi*2], 0x20
je 0x46bbe0
mov ebx, dword [esp + 0x100]
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0xc]
jae 0x46bd50
mov dword [esp + 0x104], 0xffffffff
add eax, 1
mov dword [ebx + 8], eax
mov eax, dword [ebx + 0xc]
cmp dword [ebx + 8], eax
jae 0x46bd77
mov ecx, dword [esp + 0x108]
movzx eax, byte [esp + 0x4c]
xor ebp, ebp
mov esi, 0xffffffff
test ecx, ecx
mov byte [esp + 0x48], al
setne bl
and bl, dl
je 0x46bc41
lea esi, [esi]
mov eax, dword [ecx + 0xc]
cmp dword [ecx + 8], eax
jae 0x46bee8
xor ebx, ebx
jmp 0x46bc43
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0xc]
jae 0x46bf10
movzx esi, byte [eax]
mov ecx, dword [edi + 0x18]
test byte [ecx + esi*2], 0x20
jne 0x46bc80
jmp 0x46bbe0
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x11c]
mov dword [esp + 4], 0
mov ecx, edi
lea ebp, [eax + 1]
movsx eax, byte [esi + eax + 1]
mov dword [esp], eax
call fcn.0043a880
sub esp, 8
mov dword [esp + 0x7c], 0
cmp al, 0x45
je 0x46be98
cmp al, 0x4f
je 0x46be98
sub eax, 0x25
cmp al, 0x54
ja case.0x46bd46.1
movzx eax, al
jmp dword [eax*4 + 0x4e367c]
mov eax, dword [ebx]
mov byte [esp + 0x48], dl
mov ecx, ebx
call dword [eax + 0x28]
movzx edx, byte [esp + 0x48]
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x104], 0xffffffff
cmp dword [ebx + 8], eax
jb 0x46bc9d
mov eax, dword [ebx]
mov byte [esp + 0x48], dl
mov ecx, ebx
call dword [eax + 0x24]
movzx edx, byte [esp + 0x48]
cmp eax, 0xffffffff
mov esi, eax
jne 0x46bc9d
mov dword [esp + 0x100], 0
movzx eax, byte [esp + 0x4c]
mov byte [esp + 0x48], al
mov ebp, eax
jmp 0x46bc31
mov edi, dword [esp + 0x114]
mov esi, dword [esp + 0x44]
cmp dword [esp + 0x3c], esi
jne 0x46bdc9
mov eax, dword [esp + 0x40]
test eax, eax
je 0x46bdcc
or dword [edi], 4
mov eax, dword [esp + 0x100]
mov edx, dword [esp + 0x104]
add esp, 0xec
pop ebx
pop esi
pop edi
pop ebp
ret 0x24
movsx edx, bl
mov dword [esp + 4], 0
mov ecx, edi
mov dword [esp], edx
call eax
sub esp, 8
mov edx, eax
jmp 0x46bb30
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0xc]
jae 0x46cfb0
movzx edx, byte [eax]
jmp 0x46bb87
lea ecx, [esp + 0x100]
call fcn.004392a0
mov edx, dword [edi + 0x18]
movzx eax, al
test byte [edx + eax*2], 0x20
je 0x46be78
mov ecx, dword [esp + 0x100]
call fcn.004acf70
mov dword [esp + 0x104], 0xffffffff
lea eax, [esp + 0x108]
lea ecx, [esp + 0x100]
mov dword [esp], eax
call fcn.004391f0
sub esp, 4
test al, al
je 0x46be28
lea esi, [esi]
mov dword [esp + 0x3c], ebp
jmp 0x46bbe0
mov edi, dword [esp + 0x114]
jmp 0x46bdc9
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x11c]
mov dword [esp + 4], 0
mov ecx, edi
lea ebp, [eax + 2]
movsx eax, byte [esi + eax + 2]
mov dword [esp], eax
call fcn.0043a880
sub eax, 0x25
sub esp, 8
cmp al, 0x54
jbe 0x46bd43
lea esi, [esi]
nop
mov dword [esp + 0x78], 4
mov dword [esp + 0x40], 4
jmp 0x46be78
mov eax, dword [ecx]
mov byte [esp + 0x58], dl
call dword [eax + 0x24]
movzx edx, byte [esp + 0x58]
cmp eax, 0xffffffff
jne 0x46bccc
mov dword [esp + 0x108], 0
jmp 0x46bc43
mov eax, dword [ebx]
mov byte [esp + 0x48], dl
mov ecx, ebx
call dword [eax + 0x24]
movzx edx, byte [esp + 0x48]
cmp eax, 0xffffffff
mov esi, eax
jne 0x46bc5b
mov dword [esp + 0x100], 0
jmp 0x46bc5b
lea ebx, [esp + 0x80]
mov esi, dword [esp + 0x54]
mov dword [esp], ebx
mov ecx, esi
call fcn.00436720
mov ecx, esi
sub esp, 4
lea eax, [esp + 0xb0]
mov dword [esp], eax
call fcn.00436590
sub esp, 4
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x10c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], 0x18
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0046ad40
sub esp, 0x24
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x46be78
mov ecx, dword [esp + 0x7c]
mov eax, 0x2aaaaaab
imul ecx
mov ebx, ecx
sar ebx, 0x1f
mov eax, edx
sar eax, 1
sub eax, ebx
lea eax, [eax + eax*2]
shl eax, 2
sub ecx, eax
mov eax, dword [esp + 0x118]
mov dword [eax + 0x10], ecx
mov eax, dword [esp + 0x120]
or word [eax], 0x408
jmp 0x46be78
lea ecx, [esp + 0x100]
call fcn.004392a0
mov edx, dword [edi + 0x18]
movzx eax, al
test byte [edx + eax*2], 0x20
jne 0x46cfed
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], 0x1f
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x14], 1
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0046a850
sub esp, 0x28
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x46be78
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x118]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x120]
or word [eax], 0x410
jmp 0x46be78
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
mov ecx, dword [eax + 0x38]
mov esi, dword [eax + 0x30]
mov ebx, dword [eax + 0x34]
mov dword [esp + 0x6c], edx
mov edx, dword [eax + 0x40]
mov dword [esp + 0x68], edx
mov edx, dword [eax + 0x44]
mov dword [esp + 0x64], edx
mov edx, dword [eax + 0x48]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 0x4c]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 0x50]
mov dword [esp + 0x58], edx
mov edx, dword [eax + 0x54]
mov dword [esp + 0x4c], edx
mov edx, dword [eax + 0x58]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 0x5c]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 0x60]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x84], esi
mov dword [esp + 0x90], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x88], ebx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0xa4], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x18], 0xe
mov dword [esp + 0xa8], edx
mov edx, dword [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 0xac], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0xb0], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xb4], edx
mov edx, dword [esp + 0x10c]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x50]
call fcn.0046ad40
sub esp, 0x24
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x46be78
mov ecx, dword [esp + 0x7c]
mov eax, 0x92492493
imul ecx
lea eax, [edx + ecx]
mov edx, ecx
sar edx, 0x1f
sar eax, 2
sub eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, dword [esp + 0x118]
sub ecx, edx
mov dword [eax + 0x18], ecx
mov eax, dword [esp + 0x120]
or byte [eax], 2
jmp 0x46be78
mov eax, dword [esp + 0x120]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x118]
mov edx, dword [esp + 0x10c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp], eax
call fcn.0046ba00
sub esp, 0x24
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ebp
jmp 0x46bbe0
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], 0x35
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0046a850
sub esp, 0x28
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x46be78
mov esi, dword [esp + 0x120]
mov eax, dword [esp + 0x7c]
mov esi, dword [esi]
shl eax, 0x10
and eax, 0x3f0000
mov edx, esi
mov dword [esp + 0x3c], esi
or eax, 0x40
mov esi, dword [esp + 0x120]
and edx, 0xffc0ffbf
or eax, edx
mov dword [esi], eax
jmp 0x46be78
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], 0x35
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0046a850
sub esp, 0x28
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x46be78
mov esi, dword [esp + 0x120]
mov eax, dword [esp + 0x7c]
mov esi, dword [esi]
shl eax, 0x10
and eax, 0x3f0000
mov edx, esi
mov dword [esp + 0x3c], esi
or eax, 0x20
mov esi, dword [esp + 0x120]
and edx, 0xffc0ffdf
or eax, edx
mov dword [esi], eax
jmp 0x46be78
lea ebx, [esp + 0x80]
mov dword [esp + 4], 0x4e367a
mov dword [esp + 8], ebx
mov dword [esp], 0x4e3671
mov ecx, edi
call fcn.0043a740
sub esp, 0xc
mov eax, dword [esp + 0x120]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
jmp 0x46c29a
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], 0x3c
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0046a850
sub esp, 0x28
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x46be78
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x118]
mov dword [esi], eax
jmp 0x46be78
lea ebx, [esp + 0x80]
mov dword [esp + 4], 0x4e3671
mov dword [esp + 8], ebx
mov dword [esp], 0x4e366b
jmp 0x46c4a0
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], 0x3b
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0046a850
sub esp, 0x28
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x46be78
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x118]
mov dword [esi + 4], eax
jmp 0x46be78
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x1c], 3
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], 0x16e
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x14], 1
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0046a850
sub esp, 0x28
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x46be78
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x118]
sub eax, 1
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x120]
or byte [eax], 4
jmp 0x46be78
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], 0xc
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x14], 1
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0046a850
sub esp, 0x28
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x46be78
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x118]
sub eax, 1
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x120]
or byte [eax], 8
jmp 0x46be78
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], 0x63
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0046a850
sub esp, 0x28
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x46be78
mov eax, dword [esp + 0x120]
lea ecx, [esp + 0x100]
or byte [eax + 1], 6
lea eax, [esp + 0x108]
mov dword [esp], eax
call fcn.004391f0
sub esp, 4
mov ebx, dword [esp + 0x7c]
test al, al
je 0x46d009
lea eax, [ebx + 0x64]
cmp ebx, 0x45
cmovl ebx, eax
mov eax, dword [esp + 0x118]
mov dword [eax + 0x14], ebx
jmp 0x46be78
lea ecx, [esp + 0x100]
call fcn.004392a0
cmp byte [edi + 0x1c], 0
mov ebx, eax
je 0x46cfd7
movzx eax, byte [edi + 0x42]
cmp bl, al
jne case.0x46bd46.1
mov ecx, dword [esp + 0x100]
call fcn.004acf70
mov dword [esp + 0x104], 0xffffffff
jmp 0x46be78
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x1c], 4
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], 0x270f
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0046a850
sub esp, 0x28
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x46be78
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x118]
sub eax, 0x76c
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x120]
mov esi, dword [esp + 0x120]
movzx eax, byte [eax + 1]
mov byte [esp + 0x3c], al
and eax, 0xfffffff9
or eax, 4
mov byte [esi + 1], al
jmp 0x46be78
mov eax, dword [esp + 0x120]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], eax
jmp 0x46c29a
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], 6
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0046a850
sub esp, 0x28
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x46be78
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x118]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x120]
or byte [eax], 2
jmp 0x46be78
mov eax, dword [esp + 0x120]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x118]
mov edx, dword [esp + 0x10c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp], eax
call fcn.0046ba00
sub esp, 0x24
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x46be78
mov eax, dword [esp + 0x120]
or byte [eax + 1], 4
jmp 0x46be78
lea ecx, [esp + 0x100]
call fcn.004392a0
mov edx, dword [edi + 0x18]
movzx eax, al
test byte [edx + eax*2], 1
je case.0x46bd46.1
mov eax, dword [esp + 0x110]
lea ebx, [esp + 0x78]
mov edx, dword [esp + 0x10c]
lea esi, [esp + 0x80]
mov dword [esp + 0x20], ebx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x14], 0x4dee40
mov dword [esp + 0x10], esi
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0046ad40
sub esp, 0x24
mov dword [esp + 0x100], eax
lea eax, [esp + 0x108]
lea ecx, [esp + 0x100]
mov dword [esp], eax
mov dword [esp + 0x104], edx
call fcn.004391f0
sub esp, 4
test al, al
mov eax, dword [esp + 0x78]
mov dword [esp + 0x40], eax
jne 0x46be78
or eax, dword [esp + 0x80]
jne 0x46be78
lea ecx, [esp + 0x100]
call fcn.004392a0
cmp byte [edi + 0x1c], 0
mov dword [esp + 0x3c], eax
je 0x46d0eb
movzx eax, byte [edi + 0x4a]
cmp byte [esp + 0x3c], al
je 0x46cba1
lea ecx, [esp + 0x100]
call fcn.004392a0
cmp byte [edi + 0x1c], 0
mov dword [esp + 0x3c], eax
je 0x46d0ff
movzx eax, byte [edi + 0x48]
cmp byte [esp + 0x3c], al
jne 0x46be78
mov eax, dword [esp + 0x110]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], 2
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x18], 0x17
mov dword [esp + 0x10], esi
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0046a850
xor ecx, ecx
sub esp, 0x28
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x110]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x108]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x10c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x18], 0x3b
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], edx
call fcn.0046a850
sub esp, 0x28
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
jmp 0x46be78
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], 0xc
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x14], 1
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0046a850
sub esp, 0x28
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x46be78
mov ecx, dword [esp + 0x7c]
mov eax, 0x2aaaaaab
imul ecx
mov ebx, ecx
sar ebx, 0x1f
mov eax, edx
sar eax, 1
sub eax, ebx
lea eax, [eax + eax*2]
shl eax, 2
sub ecx, eax
mov eax, dword [esp + 0x118]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x120]
or byte [eax], 1
jmp 0x46be78
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], 0x17
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0046a850
sub esp, 0x28
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x46be78
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x118]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x120]
and byte [eax], 0xfe
jmp 0x46be78
lea ebx, [esp + 0x80]
mov dword [esp + 4], 0x4e366b
mov ecx, edi
mov dword [esp + 8], ebx
mov dword [esp], 0x4e3662
call fcn.0043a740
sub esp, 0xc
mov eax, dword [esp + 0x120]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
jmp 0x46ca0d
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], 0x63
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0046a850
sub esp, 0x28
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x46be78
mov esi, dword [esp + 0x120]
mov eax, dword [esp + 0x7c]
or word [esi], 0x480
mov dword [esi + 4], eax
jmp 0x46be78
mov eax, dword [esp + 0x120]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x28]
mov dword [esp + 0x1c], eax
jmp 0x46c29a
mov eax, dword [esp + 0x54]
mov edx, dword [eax + 8]
mov eax, dword [edx + 0x20]
mov dword [esp + 0x80], eax
mov edx, dword [edx + 0x24]
mov dword [esp + 0x84], edx
cmp byte [eax], 0
je 0x46be78
cmp byte [edx], 0
je 0x46be78
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x18], 2
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x80]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp], eax
call fcn.0046ad40
sub esp, 0x24
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x46be78
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x46be78
mov eax, dword [esp + 0x120]
or byte [eax + 1], 1
jmp 0x46be78
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
mov esi, eax
cmp eax, 0xffffffff
jne 0x46bb85
mov dword [esp + 0x100], 0
mov edx, 0xffffffff
jmp 0x46bb87
mov dword [esp], 0x25
mov ecx, edi
call fcn.0043a840
sub esp, 4
jmp 0x46c84e
mov ecx, dword [esp + 0x100]
call fcn.004acf70
mov dword [esp + 0x104], 0xffffffff
jmp 0x46c038
lea ecx, [esp + 0x100]
call fcn.004392a0
mov dword [esp + 4], 0x2a
mov ecx, edi
movsx eax, al
mov dword [esp], eax
call fcn.0043a880
mov esi, eax
sub esp, 8
lea eax, [esi - 0x30]
cmp al, 9
ja 0x46c81a
mov ecx, dword [esp + 0x100]
call fcn.004acf70
mov ecx, esi
lea eax, [ebx + ebx*4]
mov dword [esp + 0x104], 0xffffffff
movsx esi, cl
lea ecx, [esp + 0x100]
lea ebx, [esi + eax*2 - 0x30]
lea eax, [esp + 0x108]
mov dword [esp], eax
mov dword [esp + 0x7c], ebx
call fcn.004391f0
sub esp, 4
test al, al
je 0x46d099
mov eax, dword [esp + 0x120]
sub ebx, 0x76c
and byte [eax + 1], 0xfd
jmp 0x46c823
call fcn.004d2184
lea ecx, [esp + 0x100]
call fcn.004392a0
mov dword [esp + 4], 0x2a
mov ecx, edi
movsx eax, al
mov dword [esp], eax
call fcn.0043a880
mov esi, eax
sub esp, 8
lea eax, [esi - 0x30]
cmp al, 9
ja 0x46d07e
mov ecx, dword [esp + 0x100]
call fcn.004acf70
imul eax, ebx, 0xa
mov ecx, esi
mov dword [esp + 0x104], 0xffffffff
movsx esi, cl
lea ebx, [eax + esi - 0x30]
jmp 0x46d07e
mov dword [esp], 0x2d
mov ecx, edi
call fcn.0043a840
push edx
jmp 0x46cb73
mov dword [esp], 0x2b
mov ecx, edi
call fcn.0043a840
push ecx
jmp 0x46cb97