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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x48dc38]
xor eax, esp
mov dword [esp + 0x88], eax
and dword [esp + 0x1c], 0
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x28]
push esi
mov esi, ecx
mov dword [esp + 0x30], ebx
mov ecx, dword [ebp + 8]
xor bl, bl
mov dword [esp + 0x40], edx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x10], eax
mov byte [esp + 0xb], bl
push edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x54], edi
test esi, esi
je 0x45f2ce
test edx, edx
je 0x45f2ce
test ecx, ecx
je 0x45f2ce
test edi, edi
je 0x45f2ce
cmp dword [esp + 0x34], 0
je 0x45f2ce
lea ecx, [esp + 0x28]
push ecx
lea ecx, [ebp + 0x18]
push ecx
mov ecx, eax
call fcn.00462009
mov esi, eax
test esi, esi
js 0x45f2ca
xor ebx, ebx
mov dword [esp + 0x38], ebx
cmp ebx, dword [esp + 0x28]
jae 0x45f2c0
mov ecx, dword [esp + 0x14]
xor eax, eax
inc eax
xor edi, edi
mov dword [esp + 0x24], eax
lea eax, [esp + 0x58]
push eax
push ebx
lea eax, [ebp + 0x18]
push eax
call fcn.00462061
mov esi, eax
test esi, esi
js 0x45f2aa
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x78]
push eax
push 0x2004
lea eax, [esp + 0x60]
push eax
call fcn.00461f6f
mov esi, eax
test esi, esi
js 0x45f2aa
cmp dword [esp + 0x78], 1
jne 0x45f2b9
mov ecx, dword [esp + 0x80]
test ecx, ecx
jne 0x45f09e
and dword [esp + 0x18], edi
xor esi, esi
inc esi
jmp 0x45f0b1
lea edx, [esp + 0x18]
call fcn.0045eb20
mov esi, eax
test esi, esi
js 0x45f2aa
cmp dword [esp + 0x18], edi
je 0x45f2aa
push dword [esp + 0x18]
push dword [esp + 0x40]
call sub.msvcrt.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
jne 0x45f290
and dword [esp + 0x30], edi
cmp dword [ebp + 0xc], edi
jbe 0x45f267
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
sub eax, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x50], eax
mov edx, dword [esp + 0x24]
cmp edx, 1
jne 0x45f258
mov ecx, dword [ebx]
mov eax, dword [eax + ebx]
mov dword [esp + 0x4c], ecx
xor cl, cl
mov dword [esp + 0x48], eax
mov byte [esp + 0xe], cl
test eax, eax
je 0x45f21a
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.004622eb
mov esi, eax
test esi, esi
js 0x45f21f
xor ebx, ebx
cmp ebx, dword [esp + 0x2c]
jae 0x45f1db
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x24]
push eax
push ebx
lea eax, [esp + 0x68]
push eax
call fcn.00462396
mov esi, eax
test esi, esi
js 0x45f1d2
push dword [esp + 0x1c]
push dword [esp + 0x4c]
call sub.msvcrt.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
jne 0x45f18e
mov edi, dword [esp + 0x10]
xor esi, esi
mov ebx, dword [esp + 0x2c]
mov byte [esp + 0xe], 1
mov dword [esp + 0x10], eax
jmp 0x45f192
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x1c], 0
je 0x45f1b7
push dword [esp + 0x1c]
mov eax, dword fs:[0x30]
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
and dword [esp + 0x1c], 0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x45f1d2
push eax
mov eax, dword fs:[0x30]
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
and dword [esp + 0x10], 0
inc ebx
test esi, esi
jns 0x45f138
cmp byte [esp + 0xe], 0
mov ebx, dword [esp + 0x20]
jne 0x45f1ef
test esi, esi
js 0x45f21f
xor esi, esi
inc esi
xor edi, edi
test esi, esi
js 0x45f21f
cmp esi, 1
je 0x45f216
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x45f20d
push edi
push eax
call sub.msvcrt.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
jne 0x45f216
xor eax, eax
inc eax
mov dword [esp + 0x24], eax
jmp 0x45f21f
xor eax, eax
jmp 0x45f210
mov esi, 0x80070057
test edi, edi
je 0x45f237
mov eax, dword fs:[0x30]
push edi
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
xor edi, edi
mov eax, dword [esp + 0x30]
add ebx, 4
inc eax
mov dword [esp + 0x20], ebx
cmp eax, dword [ebp + 0xc]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x50]
jb 0x45f0f1
mov edx, dword [esp + 0x24]
test esi, esi
js 0x45f261
cmp edx, 1
je 0x45f267
mov ebx, dword [esp + 0x38]
jmp 0x45f290
push dword [esp + 0x34]
mov edx, dword [esp + 0x18]
lea esi, [esp + 0x5c]
mov ecx, dword [esp + 0x58]
sub esp, 0x10
mov edi, esp
mov byte [esp + 0x23], 1
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0045ece3
mov ebx, dword [esp + 0x28]
mov esi, eax
push dword [esp + 0x18]
mov eax, dword fs:[0x30]
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
and dword [esp + 0x18], 0
inc ebx
mov dword [esp + 0x38], ebx
test esi, esi
jns 0x45f02d
jmp 0x45f2ca
mov esi, 0x8007000d
jmp 0x45f2ca
cmp byte [esp + 0xf], 0
jne 0x45f2ca
xor esi, esi
inc esi
mov eax, esi
jmp 0x45f2d3
mov eax, 0x80070057
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0047c8b0
mov esp, ebp
pop ebp
ret 0x24