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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
cmp edi, dword [ebx + 0x3c]
jl case.0x45f4d43a.2
cmp edi, dword [ebx + 0x44]
jge case.0x45f4d43a.2
mov eax, dword [ebp + 8]
cmp eax, dword [ebx + 0x38]
jl case.0x45f4d43a.2
cmp eax, dword [ebx + 0x40]
jge case.0x45f4d43a.2
lea esi, [ebx - 0xc]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x250]
cmp dword [ebp + 8], eax
jl case.0x45f4d43a.2
cmp edi, dword [ebx + 0x21c]
mov eax, dword [esi]
jg 0x45f4d368
mov ecx, esi
call dword [eax + 0x250]
mov dword [esp + 0xc], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x250]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x10]
push ecx
push dword [ebp + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2cc]
mov dword [esp + 0x2c], eax
cmp eax, 0xffffffff
je case.0x45f4d43a.2
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x2d0]
mov ecx, dword [esp + 0x10]
mov edi, eax
mov eax, dword [ebx + 0x40]
add edi, 6
cmp ecx, eax
mov dword [esp + 0x14], eax
jg 0x45f4d2b9
mov dword [esp + 0x14], ecx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x250]
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jge 0x45f4d2db
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x250]
mov dword [esp + 0x18], eax
jmp 0x45f4d2df
mov dword [esp + 0x18], ecx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x250]
mov ecx, dword [esp + 0xc]
add ecx, 4
cmp ecx, eax
jl 0x45f4d304
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x18]
cmp edi, eax
jle case.0x45f4d43a.2
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebp + 0x10]
and eax, 0x7fff
shl eax, 0x10
or eax, 0x8000
mov dword [ecx], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x250]
cmp dword [esp + 0xc], eax
jge 0x45f4d336
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x250]
jmp 0x45f4d33a
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, dword [ebx + 0x40]
cmp dword [esp + 0x10], eax
jl 0x45f4d34b
dec eax
jmp 0x45f4d34f
mov eax, dword [esp + 0x10]
mov dword [ecx + 8], eax
mov eax, dword [ebx + 0x3c]
mov dword [ecx + 4], eax
mov eax, dword [ebx + 0x21c]
mov dword [ecx + 0xc], eax
mov al, 1
jmp 0x45f4d5fe
push dword [ebp + 0x14]
or dword [esp + 0x1c], 0xffffffff
or dword [esp + 0x34], 0xffffffff
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x40]
push ecx
push edi
push dword [ebp + 8]
mov ecx, esi
mov dword [esp + 0x4c], VariantInit
call dword [eax + 0x64]
mov dword [esp + 0x14], eax
cmp eax, 1
je case.0x45f4d43a.2
mov eax, dword [esi]
push 0
push 0
push edi
mov ecx, esi
call dword [eax + 0xb4]
mov edi, eax
cmp edi, dword [esp + 0x18]
jne 0x45f4d441
mov al, byte [0x4603baf4]
test al, al
jne 0x45f4d3b3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x388]
cmp edi, eax
jae case.0x45f4d43a.2
cmp dword [esp + 0x14], 0x80000000
je 0x45f4d48b
mov al, byte [0x4603baf4]
test al, al
jne 0x45f4d3d8
mov eax, dword [esi]
push 0
push 0
push dword [ebp + 8]
mov ecx, esi
call dword [eax + 0x2cc]
mov dword [esp + 0x2c], eax
cmp eax, 0xffffffff
je case.0x45f4d43a.2
cmp dword [esp + 0x14], 8
jne 0x45f4d42c
mov edx, dword [esi]
push eax
push edi
mov ecx, esi
call dword [edx + 0x44c]
test al, al
je case.0x45f4d43a.2
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
dec ecx
cmp ecx, 0xa
ja case.default.0x45f4d43a
jmp dword [ecx*4 + 0x45f4d60a]
and dword [esp + 0x1c], 0
lea eax, [esp + 0x1c]
push eax
push 0xc86
push 0x45dd072c
mov esi, 0x80004005
push esi
call fcn.45f85675
mov eax, dword [esp + 0x2c]
add esp, 0x10
and dword [esp + 0x44], 0
mov dword [esp + 0x40], eax
mov dword [esp + 0x38], 0x45dc096c
mov dword [esp + 0x3c], esi
push 0x45ff0f98
lea eax, [esp + 0x3c]
push eax
call fcn.45fb1416
and dword [esp + 0x20], 0
lea eax, [esp + 0x20]
push eax
push 0xc89
push 0x45dd072c
mov esi, 0x80004005
push esi
call fcn.45f85675
mov eax, dword [esp + 0x30]
add esp, 0x10
and dword [esp + 0x54], 0
mov dword [esp + 0x50], eax
mov dword [esp + 0x48], 0x45dc096c
mov dword [esp + 0x4c], esi
push 0x45ff0f98
lea eax, [esp + 0x4c]
jmp 0x45f4d485
sub di, word [ebx + 0x6c]
movzx eax, ax
shl eax, 0x10
and edi, 0x7fff
or edi, eax
or edi, 0x80008000
mov eax, dword [ebp + 0x10]
mov dword [eax], edi
jmp 0x45f4d361
sub di, word [ebx + 0x6c]
movzx eax, ax
and edi, 0x7fff
or eax, 0xffff8000
shl eax, 0x10
or edi, eax
jmp 0x45f4d4e9
sub di, word [ebx + 0x6c]
mov ecx, 0x7fff
and edi, ecx
and eax, ecx
jmp 0x45f4d505
and dword [esp + 0x24], 0
lea eax, [esp + 0x24]
push eax
push 0xca8
push 0x45dd072c
mov esi, 0x80004005
push esi
call fcn.45f85675
mov eax, dword [esp + 0x34]
add esp, 0x10
and dword [esp + 0x64], 0
mov dword [esp + 0x60], eax
mov dword [esp + 0x58], 0x45dc096c
mov dword [esp + 0x5c], esi
push 0x45ff0f98
lea eax, [esp + 0x5c]
jmp 0x45f4d485
and dword [esp + 0x28], 0
lea eax, [esp + 0x28]
push eax
push 0xcab
push 0x45dd072c
mov esi, 0x80004005
push esi
call fcn.45f85675
mov eax, dword [esp + 0x38]
add esp, 0x10
and dword [esp + 0x74], 0
mov dword [esp + 0x70], eax
mov dword [esp + 0x68], 0x45dc096c
mov dword [esp + 0x6c], esi
push 0x45ff0f98
lea eax, [esp + 0x6c]
jmp 0x45f4d485
and dword [esp + 0x2c], 0
lea eax, [esp + 0x2c]
push eax
push 0xcae
push 0x45dd072c
mov esi, 0x80004005
push esi
call fcn.45f85675
mov eax, dword [esp + 0x3c]
add esp, 0x10
and dword [esp + 0x84], 0
mov dword [esp + 0x80], eax
mov dword [esp + 0x78], 0x45dc096c
mov dword [esp + 0x7c], esi
push 0x45ff0f98
lea eax, [esp + 0x7c]
jmp 0x45f4d485
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10