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

Disassembly:
mov eax, 0x2070
call fcn.00497b90
mov eax, dword [0x4c400c]
xor eax, esp
mov dword [esp + 0x206c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2080]
push edi
mov edi, dword [esp + 0x2088]
mov dword [esp + 0x14], edi
mov eax, dword [esi + 0x21d4]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x21e4]
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x18]
lea ecx, [eax - 3]
neg ecx
lea ebp, [eax - 3]
lea edx, [eax - 3]
sbb ecx, ecx
lea ebx, [eax - 3]
and ecx, 0xffffdcb0
add ecx, 0x6770
neg ebp
mov dword [esp + 0x2c], ecx
lea ecx, [eax - 3]
sbb ebp, ebp
and ebp, 0xffffdcb0
add ebp, 0x5740
neg ecx
sbb ecx, ecx
and ecx, 0xffffdcb0
add ecx, 0x6788
neg edx
mov dword [esp + 0x24], ecx
lea ecx, [eax - 3]
sbb edx, edx
and edx, 0xffffdcb0
add edx, 0x67e3
neg ebx
sbb ebx, ebx
and ebx, 0xffffdcb0
neg ecx
sbb ecx, ecx
sub eax, 3
and ecx, 0xffffdcb0
neg eax
sbb eax, eax
sub edi, 3
and eax, 0xffffdcb0
neg edi
sbb edi, edi
and edi, 0xffffdcb0
add edi, 0x67b1
cmp dword [esp + 0x18], 2
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x14]
je 0x46bec9
cmp dword [esp + 0x18], 3
jne 0x46bedc
mov edi, dword [esp + 0x20]
mov byte [esp + 0x12], 1
cmp byte [esi + edi], 0
mov edi, dword [esp + 0x14]
jne 0x46bee1
mov byte [esp + 0x12], 0
test edi, edi
je 0x46bfdf
cmp byte [esp + 0x12], 0
je 0x46bfdf
cmp dword [esi + 0x7df8], 3
je 0x46bf31
cmp dword [esi + eax + 0x5734], 0x14
jb 0x46bf11
cmp dword [esi + ecx + 0x678c], 0xffffffff
jne 0x46bf31
mov eax, dword [esi]
mov ecx, esi
mov bl, byte [esi + 0x7e04]
mov byte [esp + 0x11], bl
mov eax, dword [eax + 0x14]
call eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edx
jmp 0x46bffe
movzx ecx, byte [esi + ebx + 0x67e2]
lea eax, [esi + edx]
neg ecx
sbb ecx, ecx
and ecx, eax
mov eax, dword [esp + 0x24]
push ecx
add eax, esi
lea ecx, [edi + 0x98]
push eax
call fcn.0046d990
test al, al
jne 0x46bfdf
xor eax, eax
mov dword [esp + 0x38], 0x4b5644
mov dword [esp + 0x50], eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], eax
lea eax, [esi + 0x32]
mov dword [esp + 0x30], eax
lea eax, [esi + ebp]
mov dword [esp + 0x3c], 0x4b5644
mov dword [esp + 0x40], 0x4b5644
mov dword [esp + 0x44], 0x4b5644
mov dword [esp + 0x48], 0x4b5644
mov dword [esp + 0x4c], 0x4b5644
mov dword [esp + 0x78], 5
mov dword [esp + 0x34], eax
mov dword [esp + 0x70], 2
call fcn.00407ff0
jmp 0x46bf11
mov al, byte [esi + 0x7e04]
mov ecx, esi
mov byte [esp + 0x11], al
mov eax, dword [esi]
mov eax, dword [eax + 0x14]
call eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edx
test edi, edi
je 0x46c016
mov eax, dword [edi + 0x88]
add dword [edi + 0x80], eax
mov eax, dword [edi + 0x8c]
adc dword [edi + 0x84], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
lea eax, [esi + 0x32]
push 0x800
push eax
lea eax, [esp + 0x84]
push eax
call fcn.00464c00
cmp byte [esi + 0x7e02], 0
sete al
movzx eax, al
push eax
lea eax, [esp + 0x8c]
push 0x800
push eax
call fcn.004645a0
mov ebp, dword [esp + 0x40]
lea ecx, [esp + 0x94]
mov eax, dword [esi]
add esp, 0x18
mov byte [esp + 0x13], 0
movzx ebx, byte [ebp + 0x71a9]
mov eax, dword [eax + 4]
neg ebx
sbb ebx, ebx
and ebx, 4
push ebx
push ecx
mov ecx, esi
call eax
test al, al
jne 0x46c11f
test edi, edi
je 0x46c09f
mov dword [edi + 0x90], 0
mov dword [edi + 0x94], 0
cmp byte [esp + 0x13], 0
jne 0x46c0ee
push 0x800
lea eax, [esi + 0x32]
push eax
lea eax, [esp + 0x1084]
push eax
call fcn.00464c00
push 1
lea eax, [esp + 0x108c]
push 0x800
push eax
call fcn.004645a0
mov eax, dword [esi]
lea ecx, [esp + 0x1094]
add esp, 0x18
mov byte [esp + 0x13], 1
mov eax, dword [eax + 4]
push ebx
push ecx
mov ecx, esi
call eax
test al, al
jne 0x46c153
push 0x800
lea eax, [esp + 0x80]
push eax
push ebp
call fcn.0046bc00
add esp, 0xc
test al, al
je 0x46c172
mov eax, dword [esi]
lea ecx, [esp + 0x7c]
push ebx
push ecx
mov ecx, esi
mov eax, dword [eax + 4]
call eax
test al, al
je 0x46c087
mov ax, word [esp + 0x2090]
cmp ax, 0x54
je 0x46c13d
cmp ax, 0x58
je 0x46c13d
cmp ax, 0x45
jne 0x46c215
lea ebx, [esi + 0x32]
push ebx
push 0x4b5644
call fcn.00407ff0
add esp, 8
jmp 0x46c218
push 0x800
lea eax, [esp + 0x1080]
push eax
lea eax, [esp + 0x84]
push eax
call fcn.00464c00
add esp, 0xc
jmp 0x46c11f
xor eax, eax
mov dword [esp + 0x34], 0x4b5644
mov dword [esp + 0x50], eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x38], 0x4b5644
mov dword [esp + 0x3c], 0x4b5644
mov dword [esp + 0x40], 0x4b5644
mov dword [esp + 0x44], 0x4b5644
mov dword [esp + 0x48], 0x4b5644
mov dword [esp + 0x4c], 0x4b5644
mov dword [esp + 0x78], 0x45
mov dword [esp + 0x30], eax
mov dword [esp + 0x70], 1
call fcn.00407ff0
mov eax, dword [esi]
lea ecx, [esi + 0x32]
push ebx
push ecx
mov ecx, esi
call dword [eax + 4]
mov eax, dword [esi]
mov ecx, esi
push 0
push dword [esp + 0x20]
push dword [esp + 0x1c]
call dword [eax + 0x10]
xor al, al
jmp 0x46c40d
lea ebx, [esi + 0x32]
push 1
mov ecx, esi
call fcn.00465450
push 0x800
lea eax, [esp + 0x1080]
push eax
lea eax, [esp + 0x84]
push eax
call fcn.00461c40
mov eax, dword [ebp + 0xa4f8]
add esp, 0xc
test eax, eax
je 0x46c280
push 1
lea ecx, [esp + 0x80]
push ecx
push dword [ebp + 0xa4f4]
push 3
call eax
cmp eax, 0xffffffff
je 0x46c20e
push 1
lea eax, [esp + 0x1080]
push eax
push dword [ebp + 0xa4f4]
mov eax, dword [ebp + 0xa4f8]
push 0
call eax
cmp eax, 0xffffffff
je 0x46c20e
mov eax, dword [ebp + 0xa4fc]
test eax, eax
je 0x46c29e
push 1
lea ecx, [esp + 0x1080]
push ecx
call eax
test eax, eax
je 0x46c20e
mov al, byte [esp + 0x11]
cmp byte [esi + 0x7e04], al
je 0x46c335
xor eax, eax
mov dword [esp + 0x34], 0x4b5644
lea ecx, [esp + 0x30]
mov dword [esp + 0x38], 0x4b5644
mov dword [esp + 0x3c], 0x4b5644
mov dword [esp + 0x40], 0x4b5644
mov dword [esp + 0x44], 0x4b5644
mov dword [esp + 0x48], 0x4b5644
mov dword [esp + 0x4c], 0x4b5644
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0x39
mov dword [esp + 0x30], ebx
mov dword [esp + 0x70], 1
call fcn.00407ff0
push 2
mov ecx, 0x4c71e4
call fcn.004622c0
cmp byte [esp + 0x12], 0
mov ecx, esi
je 0x46c34a
mov ebx, dword [esp + 0x18]
push ebx
call fcn.004691b0
jmp 0x46c353
call fcn.00468b50
mov ebx, dword [esp + 0x18]
cmp dword [esi + 0x21e4], 2
jne 0x46c386
mov ecx, esi
call fcn.00466560
mov ecx, dword [esi + 0x7df0]
sub ecx, dword [esi + 0x4420]
mov eax, dword [esi + 0x7df4]
sbb eax, dword [esi + 0x4424]
mov edx, dword [esi]
push 0
push eax
push ecx
mov ecx, esi
call dword [edx + 0x10]
cmp byte [esp + 0x208c], 0
je 0x46c3ad
cmp byte [ebp + 0x714f], 0
jne 0x46c3ad
lea eax, [esi + 0x33f0]
push eax
push 0x4b5644
call fcn.00407ff0
add esp, 8
test edi, edi
je 0x46c40b
cmp ebx, 5
jne 0x46c3bc
mov byte [edi + 0x57], 0
jmp 0x46c3dd
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov al, byte [esi + eax]
mov byte [edi + 0x57], al
mov eax, dword [esi + ecx]
mov ecx, dword [esi + ecx + 4]
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], ecx
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], ecx
push esi
mov ecx, edi
call fcn.00470c00
mov eax, dword [esp + 0x24]
lea ecx, [edi + 0x98]
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
push dword [ebp + 0x94e8]
push dword [esi + eax]
call fcn.0046db90
mov al, 1
mov ecx, dword [esp + 0x207c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043cc06
add esp, 0x2070
ret