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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x66b7c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x3c], 0x69dbfc
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
mov esi, 0x69dbe8
mov dword [esp + 0x120], ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
lea ecx, [esp + 0x58]
mov byte [esp + 0x120], 2
call fcn.0064dc20
lea ecx, [esp + 0xa0]
call fcn.0064dc20
lea ecx, [esp + 0x88]
call fcn.0064dc20
lea ecx, [esp + 0x70]
call fcn.0064dc20
mov edi, dword [ebp + 8]
cmp edi, ebx
jne 0x46dbda
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x120], 3
cmp eax, ebx
je 0x46db88
push eax
call fcn.0065e732
add esp, 4
mov esi, 0x691080
mov dword [esp + 0x14], 0x69dbe8
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x18]
mov byte [esp + 0x120], 4
cmp eax, ebx
je 0x46dbb2
push eax
call fcn.0065e732
add esp, 4
mov dword [esp + 0x14], esi
mov dword [esp + 0x3c], 0x69dbfc
mov eax, dword [esp + 0x40]
mov dword [esp + 0x120], 5
cmp eax, ebx
je 0x46df35
jmp 0x46df2c
mov ecx, edi
call fcn.004da3a0
mov edx, dword [eax]
push ebx
mov ecx, eax
mov dword [esp + 0x58], eax
call dword [edx + 0x68]
mov esi, eax
push 2
push 0x3fe00000
push ebx
mov eax, dword [esi]
mov ecx, esi
mov dword [esp + 0x1c], esi
call dword [eax + 0x148]
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov dword [esp + 0xc], eax
mov ecx, dword [ecx + 8]
cmp ecx, ebx
mov dword [esp + 0x50], ecx
jle 0x46deb8
jmp 0x46dc22
mov edi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx + 4]
mov ecx, dword [ecx + eax*4]
cmp ecx, edi
je 0x46de9f
call fcn.004da3a0
mov edi, eax
push ebx
mov ecx, edi
mov edx, dword [edi]
call dword [edx + 0x68]
mov esi, eax
push 2
push 0x3fe00000
push 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x148]
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x44]
call fcn.00472ab0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x1c]
call fcn.00473440
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x30]
call fcn.00473440
mov edx, dword [esi]
lea eax, [esp + 0x28]
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x44]
push eax
push ecx
mov ecx, esi
call dword [edx + 0x118]
test eax, eax
jle 0x46dca5
mov ebx, 1
test esi, esi
je 0x46dcb2
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
cmp ebx, 1
je 0x46de77
mov edx, dword [edi]
lea eax, [esp + 0xb8]
push eax
mov ecx, edi
call dword [edx + 0x7c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0xe8]
mov dword [esp + 0x6c], edx
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x84]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov esi, dword [esp + 0x54]
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], ecx
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], ecx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], eax
mov edx, dword [esi]
lea eax, [esp + 0xd0]
mov ecx, esi
push eax
call dword [edx + 0x7c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp + 0x98], ecx
lea ecx, [esp + 0x100]
mov dword [esp + 0x9c], edx
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x84]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ecx
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ecx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x80], edx
lea ecx, [esp + 0x88]
lea edx, [esp + 0x58]
push ecx
push edx
mov dword [esp + 0x8c], eax
call fcn.0064def0
fcomp qword [0x6fd3e8]
add esp, 8
fnstsw ax
test ah, 1
je 0x46ddf6
mov ebx, 1
lea eax, [esp + 0x70]
lea ecx, [esp + 0x58]
push eax
push ecx
call fcn.0064def0
fcomp qword [0x6fd3e8]
add esp, 8
fnstsw ax
test ah, 1
je 0x46de1e
test ebx, ebx
jne 0x46de1e
mov ebx, 1
lea edx, [esp + 0x88]
lea eax, [esp + 0xa0]
push edx
push eax
call fcn.0064def0
fcomp qword [0x6fd3e8]
add esp, 8
fnstsw ax
test ah, 1
je 0x46de4c
test ebx, ebx
jne 0x46de4c
mov ebx, 1
lea ecx, [esp + 0x70]
lea edx, [esp + 0xa0]
push ecx
push edx
call fcn.0064def0
fcomp qword [0x6fd3e8]
add esp, 8
fnstsw ax
test ah, 1
je 0x46de72
test ebx, ebx
je 0x46de77
cmp ebx, 1
jne 0x46de9d
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov edx, dword [esp + 0xc]
push 0xffffffffffffffff
mov edi, dword [esi + 8]
mov ecx, dword [eax + 4]
mov ebx, dword [ecx + edx*4]
lea eax, [edi + 1]
push eax
mov ecx, esi
call fcn.0048b670
mov ecx, dword [esi + 4]
mov dword [ecx + edi*4], ebx
xor ebx, ebx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x50]
inc eax
cmp eax, ecx
mov dword [esp + 0xc], eax
jl 0x46dc1f
mov esi, dword [esp + 0x10]
cmp esi, ebx
je 0x46dec5
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
mov edi, 0x69dbe8
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x120], 6
cmp eax, ebx
je 0x46dee7
push eax
call fcn.0065e732
add esp, 4
mov esi, 0x691080
mov dword [esp + 0x14], edi
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x18]
mov byte [esp + 0x120], 7
cmp eax, ebx
je 0x46df0d
push eax
call fcn.0065e732
add esp, 4
mov dword [esp + 0x14], esi
mov dword [esp + 0x3c], 0x69dbfc
mov eax, dword [esp + 0x40]
mov dword [esp + 0x120], 8
cmp eax, ebx
je 0x46df35
push eax
call fcn.0065e732
add esp, 4
mov ecx, dword [esp + 0x118]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret