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

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x48
push ebx
mov ecx, dword [eax]
mov edx, dword [esp + 0x58]
push esi
mov dword [esp + 8], ecx
push edi
mov dword [esp + 0x20], 0
push ebp
push edx
mov ebp, dword [esp + 0x60]
push eax
push ebp
call fcn.004696c0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], eax
add esp, 0xc
cmp dword [esp + 0x70], 0
jle 0x46adf9
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov esi, dword [eax]
mov edi, dword [ecx]
mov ecx, dword [esp + 0x10]
mov ebx, dword [edi + 0x10]
mov eax, dword [edi + 8]
push eax
push ecx
push ebp
call fcn.004504f0
add esp, 0xc
mov ecx, dword [esi + 4]
push ebx
push eax
push ecx
push ebp
call fcn.004ca9c0
add esp, 0x10
mov ecx, eax
mov dword [edi + 0x20], eax
test ecx, ecx
jl 0x46aecc
xor eax, eax
mov edx, dword [esp + 0x14]
mov al, byte [edx + 1]
cmp eax, ecx
jge 0x46adf1
mov eax, dword [esp + 0x60]
cmp byte [eax + 0x3b], 0
jle 0x46ad92
push 0
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x14]
push eax
push ecx
push ebp
call fcn.00450510
add esp, 0x10
test al, al
je 0x46ad92
push ebx
mov eax, dword [esi]
mov edx, dword [esi + 4]
mov ecx, dword [eax + 0x44]
push ecx
push edx
push ebp
call fcn.004ca9c0
add esp, 0x10
mov dword [edi + 0x38], eax
test eax, eax
jl 0x46aecc
mov eax, dword [esp + 0x60]
cmp byte [eax + 0x3a], 0
jle 0x46add3
push 1
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x14]
push eax
push ecx
push ebp
call fcn.00450510
add esp, 0x10
test al, al
je 0x46add3
push ebx
mov eax, dword [esi]
mov edx, dword [esi + 4]
mov ecx, dword [eax + 0x40]
push ecx
push edx
push ebp
call fcn.004ca9c0
add esp, 0x10
mov dword [edi + 0x3c], eax
test eax, eax
jl 0x46aecc
add dword [esp + 0x18], 4
add dword [esp + 0x1c], 4
inc dword [esp + 0x20]
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x70], eax
jg 0x46ad03
jmp 0x46adf9
mov dword [esp + 0x24], 1
cmp dword [esp + 0x24], 0
je 0x46ae5d
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x14]
push eax
push ecx
push ebp
call dword [edx + 0x30]
add esp, 0xc
test ax, ax
jne 0x46aecc
lea eax, [esp + 0x28]
push 0x30
mov ecx, dword [esp + 0x68]
push eax
push ecx
push ebp
call fcn.0046b150
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x38]
add esp, 0x10
push 0
push ecx
push edx
push 0xffff914c
push 3
push ebp
call fcn.004bda00
xor ax, ax
add esp, 0x18
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x48
ret
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x6c]
push eax
mov ebx, dword [esp + 0x24]
push ecx
push edx
push ebp
call dword [ebx + 0x24]
add esp, 0x1c
mov esi, eax
test esi, esi
jl 0x46aecc
jle 0x46aec1
lea eax, [esp + 0x28]
push 0x30
mov ecx, dword [esp + 0x68]
push eax
push ecx
push ebp
call fcn.0046b150
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x38]
add esp, 0x10
push esi
push ecx
push edx
push 0xffff9149
push 3
push ebp
call fcn.004bda00
add esp, 0x18
xor ax, ax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x48
ret
mov ax, 0xfffe
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x48
ret