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

Disassembly:
mov eax, 0x106c
call fcn.0047aea0
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push 0x3fe
lea eax, [esp + 0x7e]
push ebx
push eax
mov esi, ecx
mov edi, edx
mov word [esp + 0x84], bx
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x3fe
lea ecx, [esp + 0x47e]
push ebx
push ecx
mov word [esp + 0x484], bx
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x3fe
lea edx, [esp + 0x87e]
push ebx
push edx
mov word [esp + 0x884], bx
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x3fe
lea eax, [esp + 0xc7e]
push ebx
push eax
mov word [esp + 0xc84], bx
call sub.msvcrt.dll_memset
mov ecx, dword [esp + 0x1090]
mov edx, dword [esp + 0x108c]
add esp, 0xc
mov dword [edx + 0x5ef8], ecx
push 0x1ff
push esi
lea ecx, [edi + 0xe50]
lea eax, [esp + 0x80]
call fcn.00468830
push 0x1ff
push esi
lea ecx, [edi + 0x1250]
lea eax, [esp + 0x488]
call fcn.00468830
push 0x1ff
push str.Profiles
lea eax, [esp + 0x890]
lea ecx, [esp + 0x90]
call fcn.00468830
push 0x1ff
push str.Profiles
lea eax, [esp + 0xc98]
lea ecx, [esp + 0x498]
call fcn.00468830
mov ebp, 0x400
mov esi, 0x100
add esp, 0x20
lea edi, [esp + 0x18]
lea ecx, [esp + 0x878]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x20], ebx
call fcn.0045c3b0
lea ecx, [esp + 0xc78]
call fcn.0045c3b0
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], ebx
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x80]
push edx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], esi
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x6c], ebx
call fcn.0045c460
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x480]
push edx
call fcn.0045c460
mov esi, dword [esp + 0x74]
xor ebp, ebp
cmp esi, ebx
jle 0x46d0ab
nop
push 0x3fe
lea eax, [esp + 0x7e]
push ebx
push eax
mov word [esp + 0x84], bx
call sub.msvcrt.dll_memset
add esp, 0xc
cmp ebp, ebx
jl 0x46d023
cmp ebp, esi
jge 0x46d023
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx + ebp*4]
mov eax, dword [esp + 0x68]
lea edx, [eax + edx*2]
jmp 0x46d025
xor edx, edx
mov eax, edx
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x46d030
sub eax, esi
sar eax, 1
cmp eax, 0x1ff
jl 0x46d04b
mov eax, 0x1fe
lea esi, [eax + eax]
push esi
push edx
lea ecx, [esp + 0x80]
push ecx
call sub.msvcrt.dll_memcpy
mov edx, dword [esp + 0x108c]
add esp, 0xc
push edx
lea eax, [esp + 0x7c]
mov word [esp + esi + 0x7c], bx
call fcn.0046bcf0
cmp word [esp + 0x78], bx
je 0x46d09c
lea eax, [esp + 0x78]
push eax
lea edi, [esp + 0x1c]
call fcn.00466100
cmp eax, 0xffffffff
jne 0x46d09c
lea ecx, [esp + 0x78]
push ecx
mov eax, edi
call fcn.004665d0
mov esi, dword [esp + 0x74]
add ebp, 1
cmp ebp, esi
jl 0x46cff0
mov esi, dword [esp + 0x54]
xor ebp, ebp
cmp esi, ebx
jle 0x46d16a
lea esp, [esp]
push 0x3fe
lea edx, [esp + 0x7e]
push ebx
push edx
mov word [esp + 0x84], bx
call sub.msvcrt.dll_memset
add esp, 0xc
cmp ebp, ebx
jl 0x46d0f3
cmp ebp, esi
jge 0x46d0f3
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + ebp*4]
mov edx, dword [esp + 0x48]
lea edx, [edx + ecx*2]
jmp 0x46d0f5
xor edx, edx
mov eax, edx
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x46d100
sub eax, esi
sar eax, 1
cmp eax, 0x1ff
jl 0x46d11b
mov eax, 0x1fe
lea esi, [eax + eax]
push esi
push edx
lea eax, [esp + 0x80]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov word [esp + esi + 0x78], bx
cmp word [esp + 0x78], bx
je 0x46d15b
lea ecx, [esp + 0x78]
push ecx
lea edi, [esp + 0x1c]
call fcn.00466100
cmp eax, 0xffffffff
jne 0x46d15b
lea edx, [esp + 0x78]
push edx
mov eax, edi
call fcn.004665d0
mov esi, dword [esp + 0x54]
add ebp, 1
cmp ebp, esi
jl 0x46d0c0
xor esi, esi
cmp dword [esp + 0x34], ebx
mov dword [esp + 0x14], esi
jle 0x46d33a
jmp 0x46d184
mov esi, dword [esp + 0x14]
push 0x1fe
lea eax, [esp + 0x47e]
push ebx
push eax
mov word [esp + 0x484], bx
call sub.msvcrt.dll_memset
add esp, 0xc
cmp esi, ebx
jl 0x46d1bc
cmp esi, dword [esp + 0x34]
jge 0x46d1bc
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + esi*4]
mov eax, dword [esp + 0x28]
lea ebp, [eax + edx*2]
jmp 0x46d1be
xor ebp, ebp
mov esi, ebp
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], 0x1388
mov dword [esp + 0x2b8], ebx
mov dword [esp + 0x2dc], 0x14
mov dword [esp + 0x88], ebx
call fcn.00468f00
test eax, eax
je 0x46d2ea
push ebx
lea eax, [esp + 0x7c]
call fcn.0046a570
test eax, eax
jne 0x46d2ce
push ebx
lea eax, [esp + 0x7c]
call fcn.0046a570
mov esi, dword [esp + 0x1080]
mov eax, dword [esi + 0x5f1c]
xor edi, edi
cmp eax, ebx
jle 0x46d2d5
cmp edi, ebx
jl 0x46d24f
cmp edi, eax
jge 0x46d24f
mov ecx, dword [esi + 0x5f0c]
mov edx, dword [ecx + edi*4]
mov eax, dword [esi + 0x5f10]
lea ecx, [eax + edx*2]
jmp 0x46d251
xor ecx, ecx
lea eax, [esp + 0x78]
call fcn.004697d0
test eax, eax
jne 0x46d26d
mov eax, dword [esi + 0x5f1c]
add edi, 1
cmp edi, eax
jl 0x46d233
jmp 0x46d2d5
cmp edi, ebx
jl 0x46d2d5
cmp edi, dword [esi + 0x5f1c]
jge 0x46d28d
mov ecx, dword [esi + 0x5f0c]
mov edx, dword [ecx + edi*4]
mov eax, dword [esi + 0x5f10]
lea edx, [eax + edx*2]
jmp 0x46d28f
xor edx, edx
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x46d294
sub eax, edi
sar eax, 1
cmp eax, 0xff
jl 0x46d2af
mov eax, 0xfe
lea edi, [eax + eax]
push edi
push edx
lea ecx, [esp + 0x480]
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov word [esp + edi + 0x478], bx
jmp 0x46d2d5
mov esi, dword [esp + 0x1080]
add esi, 0xb9c
push esi
mov eax, ebp
lea edi, [esp + 0x47c]
call fcn.0046b9b0
mov eax, dword [esp + 0x7c]
cmp eax, ebx
je 0x46d306
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov edi, dword [esp + 0x78]
cmp edi, ebx
je 0x46d325
mov esi, 0x48d184
call fcn.00475470
mov eax, dword [0x48d18c]
cmp eax, ebx
je 0x46d325
push ebx
push edi
call eax
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, dword [esp + 0x34]
mov dword [esp + 0x14], eax
jl 0x46d180
mov edx, dword [esp + 0x68]
push edx
call sub.msvcrt.dll_free
mov eax, dword [esp + 0x68]
add esp, 4
push eax
call sub.msvcrt.dll_free
mov ecx, dword [esp + 0x4c]
add esp, 4
push ecx
call sub.msvcrt.dll_free
mov edx, dword [esp + 0x48]
add esp, 4
push edx
call sub.msvcrt.dll_free
mov eax, dword [esp + 0x2c]
add esp, 4
push eax
call sub.msvcrt.dll_free
mov ecx, dword [esp + 0x28]
add esp, 4
push ecx
call sub.msvcrt.dll_free
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x106c
ret 8