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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x66b750
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x70], 0x69dbfc
mov dword [esp + 0x74], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], ebx
mov eax, 0x69dbe8
mov dword [esp + 0x98], ebx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
push 0xa
push ebx
lea ecx, [esp + 0x28]
mov byte [esp + 0xa0], 3
mov dword [esp + 0x28], 0x69db4c
call fcn.0048b670
mov edi, dword [ebp + 0x10]
mov byte [esp + 0x98], 4
mov ecx, edi
call fcn.004da3a0
mov esi, eax
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x30]
mov edx, dword [esi]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x84]
mov dword [esp + 0x44], ecx
push eax
mov ecx, esi
call dword [edx + 0x30]
mov ecx, dword [eax]
push 1
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x4c]
mov edx, dword [eax + 4]
push ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x40], edx
mov eax, dword [eax + 8]
lea edx, [esp + 0x64]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x78]
push edx
push eax
push esi
push ecx
call fcn.0046c640
add esp, 0x18
cmp eax, ebx
mov dword [esp + 0x1c], eax
jle 0x46d99d
mov dword [esp + 0x14], ebx
mov edx, dword [esp + 0x14]
mov ebx, dword [esi]
push edx
lea ecx, [esp + 0x74]
call fcn.00472c20
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.0064dc70
mov ecx, esi
call dword [ebx + 0x12c]
mov dword [esp + 0x18], eax
test eax, eax
mov eax, dword [esp + 0x14]
je 0x46d800
test eax, eax
jne 0x46d5e1
mov ebx, dword [ebp + 0x14]
push 0xffffffffffffffff
mov ecx, ebx
mov eax, dword [ebx + 8]
mov dword [esp + 0x10], eax
inc eax
push eax
call fcn.0048b670
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0xc]
push 0
push 0
mov dword [eax + ecx*4], edi
push 1
mov ecx, edi
call fcn.00498b40
mov edx, dword [ebp + 8]
mov ecx, edi
mov eax, dword [edx + 0x29c]
push eax
call fcn.0048f9d0
jmp 0x46d6d2
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x29c]
push edx
push esi
call fcn.004937b0
mov ebx, eax
add esp, 8
test ebx, ebx
mov dword [esp + 0xc], ebx
je 0x46d6cf
mov ecx, dword [esp + 0x40]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x58]
mov eax, dword [esp + 0x44]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x5c]
mov ecx, dword [esp + 0x34]
sub esp, 0xc
mov eax, esp
mov edx, dword [esi]
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 8], ecx
mov ecx, esi
call dword [edx + 0x3c]
mov ecx, edi
call fcn.004fe620
sub esp, 8
mov ecx, ebx
fstp qword [esp]
call fcn.0048fee0
mov ecx, edi
call fcn.0048ff00
sub esp, 8
mov ecx, ebx
fstp qword [esp]
call fcn.0048ff10
push edi
mov ecx, ebx
call fcn.00498d10
push 0
mov ecx, ebx
call fcn.0048ed70
test eax, eax
jne 0x46d686
cmp dword [esi + 0x34], 2
jne 0x46d686
mov edx, dword [ebx]
push 0
mov ecx, ebx
call dword [edx + 0x58]
mov ebx, dword [ebp + 0x14]
push 0xffffffffffffffff
mov ecx, ebx
mov eax, dword [ebx + 8]
mov dword [esp + 0x14], eax
inc eax
push eax
call fcn.0048b670
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
mov dword [eax + edx*4], ecx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
inc eax
push eax
lea ecx, [esp + 0x28]
call fcn.0048b670
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [eax + edx*4], ecx
jmp 0x46d6d2
mov ebx, dword [ebp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
dec eax
cmp ecx, eax
jne 0x46d7e0
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x18]
mov edx, dword [ecx + 0x29c]
push edx
push eax
call fcn.004937b0
add esp, 8
mov dword [esp + 0xc], eax
test eax, eax
je 0x46d7e4
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x40]
push eax
mov edx, dword [ecx]
call dword [edx + 0x58]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x44]
push eax
mov edx, dword [ecx]
call dword [edx + 0x5c]
mov ecx, dword [esp + 0x18]
sub esp, 0xc
mov eax, esp
mov edx, dword [ecx]
mov ecx, dword [esp + 0x40]
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x24]
call dword [edx + 0x3c]
mov ecx, edi
call fcn.004fe620
mov ecx, dword [esp + 0xc]
sub esp, 8
fstp qword [esp]
call fcn.0048fee0
mov ecx, edi
call fcn.0048ff00
mov ecx, dword [esp + 0xc]
sub esp, 8
fstp qword [esp]
call fcn.0048ff10
mov ecx, dword [esp + 0xc]
push edi
call fcn.00498d10
mov ecx, dword [esp + 0xc]
push 0
call fcn.0048ed70
test eax, eax
jne 0x46d79e
cmp dword [esi + 0x34], 2
jne 0x46d79e
mov ecx, dword [esp + 0xc]
push 0
mov edx, dword [ecx]
call dword [edx + 0x58]
mov eax, dword [ebx + 8]
push 0xffffffffffffffff
mov dword [esp + 0x14], eax
inc eax
push eax
mov ecx, ebx
call fcn.0048b670
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
push 0xffffffffffffffff
mov dword [eax + ecx*4], ebx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
inc eax
push eax
lea ecx, [esp + 0x28]
call fcn.0048b670
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
mov dword [edx + eax*4], ebx
jmp 0x46d7e4
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x46d564
xor ebx, ebx
jmp 0x46d9aa
test eax, eax
jne 0x46d840
mov ebx, dword [ebp + 0x14]
push 0xffffffffffffffff
mov esi, dword [ebx + 8]
lea ecx, [esi + 1]
push ecx
mov ecx, ebx
call fcn.0048b670
mov edx, dword [ebx + 4]
push 0
push 0
push 1
mov ecx, edi
mov dword [edx + esi*4], edi
call fcn.00498b40
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x29c]
push ecx
mov ecx, edi
call fcn.0048f9d0
jmp 0x46d914
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x29c]
push eax
push esi
call fcn.004937b0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x46d914
mov eax, dword [esp + 0x40]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x58]
mov eax, dword [esp + 0x44]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x5c]
mov ecx, dword [esp + 0x34]
sub esp, 0xc
mov eax, esp
mov edx, dword [esi]
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 8], ecx
mov ecx, esi
call dword [edx + 0x3c]
mov ecx, edi
call fcn.004fe620
sub esp, 8
mov ecx, ebx
fstp qword [esp]
call fcn.0048fee0
mov ecx, edi
call fcn.0048ff00
sub esp, 8
mov ecx, ebx
fstp qword [esp]
call fcn.0048ff10
push edi
mov ecx, ebx
call fcn.00498d10
push 0
mov ecx, ebx
call fcn.0048ed70
test eax, eax
jne 0x46d8e1
cmp dword [esi + 0x34], 2
jne 0x46d8e1
mov edx, dword [ebx]
push 0
mov ecx, ebx
call dword [edx + 0x58]
mov edi, dword [ebp + 0x14]
push 0xffffffffffffffff
mov ecx, edi
mov esi, dword [edi + 8]
lea eax, [esi + 1]
push eax
call fcn.0048b670
mov ecx, dword [edi + 4]
push 0xffffffffffffffff
mov dword [ecx + esi*4], ebx
mov eax, dword [esp + 0x2c]
mov esi, eax
inc eax
push eax
lea ecx, [esp + 0x28]
call fcn.0048b670
mov edx, dword [esp + 0x24]
mov dword [edx + esi*4], ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0x98], 2
mov dword [esp + 0x20], 0x69db4c
call fcn.004602f0
mov edi, 0x69dbe8
mov dword [esp + 0x48], edi
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x98], 5
test eax, eax
je 0x46d94f
push eax
call fcn.0065e732
add esp, 4
mov esi, 0x691080
mov dword [esp + 0x5c], edi
mov dword [esp + 0x48], esi
mov eax, dword [esp + 0x60]
mov byte [esp + 0x98], 6
test eax, eax
je 0x46d975
push eax
call fcn.0065e732
add esp, 4
mov dword [esp + 0x5c], esi
mov dword [esp + 0x70], 0x69dbfc
mov eax, dword [esp + 0x74]
mov dword [esp + 0x98], 7
test eax, eax
je 0x46daa4
jmp 0x46da9b
mov ecx, dword [ebp + 0x14]
push edi
mov eax, dword [ecx + 8]
push eax
call fcn.004ea3d0
mov eax, dword [esp + 0x28]
cmp eax, ebx
jle 0x46d9c2
lea eax, [esp + 0x20]
mov ecx, edi
push eax
call fcn.00499740
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0x1c], eax
jle 0x46da0f
mov ecx, edi
call fcn.0048f100
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov esi, eax
mov ecx, dword [ecx + edx*4 - 4]
call fcn.0048f100
push esi
mov ecx, eax
mov dword [esp + 0x14], eax
call fcn.004bbfd0
push ebx
mov ecx, esi
call fcn.004bb730
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax + ecx*4 - 4]
mov ecx, dword [esp + 0x10]
push edx
push edi
call fcn.004bd1e0
mov dword [esp + 0x20], 0x69db38
mov eax, dword [esp + 0x24]
mov byte [esp + 0x98], 8
cmp eax, ebx
je 0x46da30
push eax
call fcn.0065e732
add esp, 4
mov esi, 0x691080
mov edi, 0x69dbe8
mov dword [esp + 0x20], esi
mov dword [esp + 0x48], edi
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x98], 9
cmp eax, ebx
je 0x46da5b
push eax
call fcn.0065e732
add esp, 4
mov dword [esp + 0x48], esi
mov dword [esp + 0x5c], edi
mov eax, dword [esp + 0x60]
mov byte [esp + 0x98], 0xa
cmp eax, ebx
je 0x46da7c
push eax
call fcn.0065e732
add esp, 4
mov dword [esp + 0x5c], esi
mov dword [esp + 0x70], 0x69dbfc
mov eax, dword [esp + 0x74]
mov dword [esp + 0x98], 0xb
cmp eax, ebx
je 0x46daa4
push eax
call fcn.0065e732
add esp, 4
mov ecx, dword [esp + 0x90]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret