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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e2978
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x658aa8]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [0x658aa8]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
mov ecx, dword [edi + 0x2c0]
xor esi, esi
mov dword [esp + 0x18], eax
cmp ecx, esi
je 0x46d711
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov ecx, dword [edi + 0x2c0]
mov edx, dword [ecx]
mov ebx, eax
mov eax, dword [edx + 0x24]
call eax
mov dword [edi + 0x18], esi
cmp dword [ebx], esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], 8
mov dword [esp + 0x14], esi
jle 0x46d6b4
lea edx, [ebx + 0xc]
mov dword [esp + 0x1c], edx
jmp 0x46d444
mov edx, dword [esp + 0x1c]
mov eax, dword [edx - 8]
mov ecx, dword [edi - 0x274]
add ecx, dword [ebx + 0x210]
mov edx, dword [edx]
mov esi, dword [edi - 0x26c]
add eax, dword [ebx + 0x20c]
sub edx, dword [ebx + 0x214]
sub esi, dword [ebx + 0x218]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x40], 0
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x98], 0
test esi, esi
je 0x46d55e
mov ecx, dword [edi + 4]
mov edx, dword [esi]
mov edx, dword [edx]
push eax
push ecx
lea eax, [edi - 0x350]
push eax
mov ecx, esi
call edx
test eax, eax
je 0x46d4cf
push 0xffffffffffffffff
push eax
lea esi, [esp + 0x44]
call fcn.00428e20
mov esi, dword [esp + 0x28]
jmp 0x46d4f1
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x40]
cmp eax, ecx
je 0x46d4e4
push eax
call fcn.0049b045
add esp, 4
lea edx, [esp + 0x40]
mov dword [esp + 0x3c], edx
mov byte [esp + 0x40], 0
test byte [edi + 0xc], 8
mov dword [esp + 0x24], 0
je 0x46d507
mov dword [esp + 0x24], 1
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
mov ecx, edi
call edx
test al, al
je 0x46d51c
mov dword [esp + 0x24], 2
mov eax, dword [edi - 0x350]
mov edx, dword [eax + 0x10c]
lea ecx, [edi - 0x350]
call edx
test al, al
mov eax, 3
je 0x46d53d
mov eax, dword [esp + 0x24]
mov ecx, dword [edi + 4]
mov edx, dword [esi]
mov edx, dword [edx + 4]
push eax
mov eax, dword [esp + 0x18]
push eax
push ecx
lea eax, [edi - 0x350]
push eax
mov ecx, esi
call edx
mov esi, eax
jmp 0x46d5f5
push 0xffffffffffffffff
lea ecx, [edi - 0x350]
call fcn.0046d0c0
push eax
lea esi, [esp + 0x44]
call fcn.00428e20
mov ecx, dword [edi + 0x2c0]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov ecx, dword [esp + 0x14]
test ecx, ecx
jl 0x46d5b2
cmp ecx, dword [eax]
jge 0x46d5b2
cmp dword [edi + 0x2d4], 0
jle 0x46d5b2
cmp ecx, dword [edi + 0x2d4]
jge 0x46d5ac
mov eax, dword [edi + 0x2d0]
mov ecx, dword [eax + ecx*4]
mov esi, ecx
jmp 0x46d5b8
xor ecx, ecx
mov esi, ecx
jmp 0x46d5b8
mov esi, dword [eax + 0x21c]
test byte [edi + 0xc], 8
je 0x46d5c4
mov esi, dword [ebx + 0x2b8]
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
test al, al
je 0x46d5d7
mov esi, dword [ebx + 0x26c]
mov edx, dword [edi - 0x350]
mov eax, dword [edx + 0x10c]
lea ecx, [edi - 0x350]
call eax
test al, al
jne 0x46d5f5
mov esi, dword [ebx + 0x304]
cmp byte [ebx + 0x422], 0
mov ecx, dword [ebx + 0x208]
mov edx, dword [ebx + 0x204]
push ecx
push edx
je 0x46d64c
mov eax, dword [edi + 0x18]
mov edx, eax
shl edx, 4
add edx, eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [edi + edx*4 + 0x9c]
push ecx
shl eax, 4
lea edx, [eax + edi + 0x1c]
mov eax, dword [esp + 0x4c]
push edx
mov edx, dword [edi - 0x30c]
push esi
push eax
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x48]
push ecx
push edx
push eax
call fcn.0045c220
add esp, 0x28
jmp 0x46d669
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x44]
push esi
lea eax, [esp + 0x38]
push eax
push ecx
mov ecx, dword [edi - 0x30c]
call fcn.0045bee0
add esp, 0x14
mov edx, dword [esp + 0x20]
add dword [edi + 0x18], edx
mov eax, dword [edi + 0x18]
mov ecx, 8
sub ecx, eax
mov dword [esp + 0x98], 0xffffffff
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x40]
mov dword [esp + 0x20], ecx
cmp eax, edx
je 0x46d69e
push eax
call fcn.0049b045
add esp, 4
mov eax, dword [esp + 0x14]
add dword [esp + 0x1c], 0x10
inc eax
cmp eax, dword [ebx]
mov dword [esp + 0x14], eax
jl 0x46d440
mov eax, dword [edi + 0x18]
cmp eax, 8
jae 0x46d711
mov ecx, eax
shl ecx, 4
add ecx, eax
lea esi, [edi + ecx*4 + 0x9c]
mov edx, eax
shl edx, 4
mov ecx, 8
sub ecx, eax
lea edi, [edx + edi + 0x1c]
mov dword [esp + 0x18], ecx
mov edi, edi
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov eax, dword [esi]
lea ebx, [esi + 4]
cmp eax, ebx
je 0x46d6ff
push eax
call fcn.0049b045
add esp, 4
mov dword [esi], ebx
add edi, 0x10
add esi, 0x44
sub dword [esp + 0x18], 1
mov byte [ebx], 0
jne 0x46d6e0
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00499a1c
mov esp, ebp
pop ebp
ret 8