Function at 0x45fd42
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 [0x48ec38]
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 0x46007e
test edx, edx
je 0x46007e
test ecx, ecx
je 0x46007e
test edi, edi
je 0x46007e
cmp dword [esp + 0x34], 0
je 0x46007e
lea ecx, [esp + 0x28]
push ecx
lea ecx, [ebp + 0x18]
push ecx
mov ecx, eax
call fcn.00462db9
mov esi, eax
test esi, esi
js 0x46007a
xor ebx, ebx
mov dword [esp + 0x38], ebx
cmp ebx, dword [esp + 0x28]
jae 0x460070
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.00462e11
mov esi, eax
test esi, esi
js 0x46005a
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x78]
push eax
push 0x2004
lea eax, [esp + 0x60]
push eax
call fcn.00462d1f
mov esi, eax
test esi, esi
js 0x46005a
cmp dword [esp + 0x78], 1
jne 0x460069
mov ecx, dword [esp + 0x80]
test ecx, ecx
jne 0x45fe4e
and dword [esp + 0x18], edi
xor esi, esi
inc esi
jmp 0x45fe61
lea edx, [esp + 0x18]
call fcn.0045f8d0
mov esi, eax
test esi, esi
js 0x46005a
cmp dword [esp + 0x18], edi
je 0x46005a
push dword [esp + 0x18]
push dword [esp + 0x40]
call sub.msvcrt.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
jne 0x460040
and dword [esp + 0x30], edi
cmp dword [ebp + 0xc], edi
jbe 0x460017
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 0x460008
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 0x45ffca
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.0046309b
mov esi, eax
test esi, esi
js 0x45ffcf
xor ebx, ebx
cmp ebx, dword [esp + 0x2c]
jae 0x45ff8b
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.00463146
mov esi, eax
test esi, esi
js 0x45ff82
push dword [esp + 0x1c]
push dword [esp + 0x4c]
call sub.msvcrt.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
jne 0x45ff3e
mov edi, dword [esp + 0x10]
xor esi, esi
mov ebx, dword [esp + 0x2c]
mov byte [esp + 0xe], 1
mov dword [esp + 0x10], eax
jmp 0x45ff42
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x1c], 0
je 0x45ff67
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 0x45ff82
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 0x45fee8
cmp byte [esp + 0xe], 0
mov ebx, dword [esp + 0x20]
jne 0x45ff9f
test esi, esi
js 0x45ffcf
xor esi, esi
inc esi
xor edi, edi
test esi, esi
js 0x45ffcf
cmp esi, 1
je 0x45ffc6
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x45ffbd
push edi
push eax
call sub.msvcrt.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
jne 0x45ffc6
xor eax, eax
inc eax
mov dword [esp + 0x24], eax
jmp 0x45ffcf
xor eax, eax
jmp 0x45ffc0
mov esi, 0x80070057
test edi, edi
je 0x45ffe7
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 0x45fea1
mov edx, dword [esp + 0x24]
test esi, esi
js 0x460011
cmp edx, 1
je 0x460017
mov ebx, dword [esp + 0x38]
jmp 0x460040
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.0045fa93
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 0x45fddd
jmp 0x46007a
mov esi, 0x8007000d
jmp 0x46007a
cmp byte [esp + 0xf], 0
jne 0x46007a
xor esi, esi
inc esi
mov eax, esi
jmp 0x460083
mov eax, 0x80070057
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0047d650
mov esp, ebp
pop ebp
ret 0x24