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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45fcac09
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push esi
push edi
mov eax, dword [0x46039020]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
cmp dword [ebp + 0xc], edi
je 0x45f1b2e9
mov cl, byte [0x4603ba59]
test cl, cl
jne 0x45f1b23d
cmp ebx, edi
je 0x45f1b331
mov cl, byte [0x4603ba59]
test cl, cl
jne 0x45f1b252
mov esi, dword [ebp + 0x10]
cmp esi, edi
je 0x45f1b375
mov cl, byte [0x4603ba59]
test cl, cl
jne 0x45f1b264
cmp dword [eax + 4], edi
je 0x45f1b3bc
mov cl, byte [0x4603ba59]
test cl, cl
jne 0x45f1b279
push dword [eax + 4]
lea eax, [esp + 0x30]
push eax
call fcn.45e25670
mov dword [esp + 0x80], edi
mov dword [esp + 0x18], edi
mov byte [esp + 0x80], 1
mov dword [esp + 0x28], edi
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x88], 2
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
lea edx, [esp + 0x38]
push edx
push eax
call dword [ecx + 0xc]
cmp eax, edi
jge 0x45f1b403
push 0x122
push 0x45dc08c0
push eax
call fcn.45f857be
lea eax, [esp + 0x14]
push eax
push 0x10b
push 0x45dc08c0
mov esi, 0x80004005
push esi
mov dword [esp + 0x24], edi
call fcn.45f85675
mov eax, dword [esp + 0x24]
add esp, 0x10
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], 0x45dc096c
mov dword [esp + 0x38], esi
mov dword [esp + 0x40], edi
push 0x45ff0f98
lea eax, [esp + 0x38]
push eax
call fcn.45fb1416
lea eax, [esp + 0x10]
push eax
push 0x10c
push 0x45dc08c0
mov esi, 0x80004005
push esi
mov dword [esp + 0x20], edi
call fcn.45f85675
mov eax, dword [esp + 0x20]
add esp, 0x10
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], 0x45dc096c
mov dword [esp + 0x48], esi
mov dword [esp + 0x50], edi
push 0x45ff0f98
lea eax, [esp + 0x48]
jmp 0x45f1b32b
lea eax, [esp + 0x1c]
push eax
push 0x10d
push 0x45dc08c0
mov esi, 0x80004005
push esi
mov dword [esp + 0x2c], edi
call fcn.45f85675
mov eax, dword [esp + 0x2c]
add esp, 0x10
mov dword [esp + 0x5c], eax
mov dword [esp + 0x54], 0x45dc096c
mov dword [esp + 0x58], esi
mov dword [esp + 0x60], edi
push 0x45ff0f98
lea eax, [esp + 0x58]
jmp 0x45f1b32b
lea eax, [esp + 0x20]
push eax
push 0x10e
push 0x45dc08c0
mov esi, 0x80004005
push esi
mov dword [esp + 0x30], edi
call fcn.45f85675
mov eax, dword [esp + 0x30]
add esp, 0x10
mov dword [esp + 0x6c], eax
mov dword [esp + 0x64], 0x45dc096c
mov dword [esp + 0x68], esi
mov dword [esp + 0x70], edi
push 0x45ff0f98
lea eax, [esp + 0x68]
jmp 0x45f1b32b
mov eax, dword [esp + 0x30]
mov dword [esi], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
call fcn.45f35c2d
push dword [ebp + 0xc]
mov ecx, dword [esi]
call fcn.45e14449
mov ecx, dword [esi]
push ebx
call fcn.45e14449
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edi
cmp dword [esi], edi
jbe 0x45f1b4f1
mov edi, dword [esp + 0x24]
mov dword [esp + 0x24], edi
mov ecx, dword [ebp + 0xc]
push dword [esp + 0x10]
mov eax, dword [ecx]
call dword [eax]
push dword [edi]
mov ecx, eax
call fcn.45f8f58f
push dword [esp + 0x10]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
push dword [esp + 0x14]
mov ecx, eax
mov edx, edi
call fcn.45f470c0
mov edx, 0x82
add esp, 4
cmp dx, word [edi + 0x14]
jne 0x45f1b489
push 4
mov edx, 0x4000
or word [ecx + 0x30], dx
pop eax
mov edx, dword [ecx + 4]
or dword [ecx + 0x1c], 4
push dword [esp + 0x10]
add edx, eax
add eax, 4
add dword [esp + 0x18], eax
mov dword [ecx + 0xc], edx
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
cmp word [eax + 0x30], 0xd
jne 0x45f1b4da
and dword [0x460405c4], 0
push dword [esp + 0x10]
mov esi, 0x45db1ec8
mov edi, 0x460405c8
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov esi, dword [ebp + 0x10]
mov edi, dword [esp + 0x24]
mov dword [eax + 0x14], 0x460405c4
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
add edi, 0x30
mov dword [esp + 0x24], edi
cmp eax, dword [esi]
jb 0x45f1b444
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x84], 1
call fcn.45f374c0
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x84], 0
call fcn.45f374c0
or dword [esp + 0x80], 0xffffffff
lea eax, [esp + 0x2c]
push eax
call fcn.45df1a56
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc