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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45fd2ba0
mov eax, dword fs:[0]
push eax
sub esp, 0x310
mov eax, dword [0x46039020]
xor eax, esp
mov dword [esp + 0x308], eax
push ebx
push esi
push edi
mov eax, dword [0x46039020]
xor eax, esp
push eax
lea eax, [esp + 0x320]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov edi, ecx
mov dword [esp + 0x34], eax
cmp eax, ebx
jne 0x45e8dad0
push 0x65
push 0x45dc68e0
push 0x80004003
call fcn.45f85378
lea eax, [esp + 0x38]
push eax
call fcn.45ea796d
mov dword [esp + 0x328], ebx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x328], 2
mov dword [esp + 0x30], ebx
mov byte [esp + 0x328], 4
lea eax, [esp + 0x30]
push eax
call fcn.45f8d270
mov dword [esp + 0x24], ebx
mov byte [esp + 0x328], 5
mov eax, dword [edi]
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0x40]
push ecx
mov ecx, edi
call dword [eax + 0x30]
mov byte [esp + 0x328], 6
mov eax, dword [eax]
mov ecx, dword [esi]
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x20]
push edx
lea edx, [esp + 0x7c]
push edx
push dword [esp + 0x3c]
xor edi, edi
push 0x8000000
push 3
inc edi
push edi
push eax
push esi
call dword [ecx + 0x10]
mov esi, eax
mov byte [esp + 0x328], 5
mov eax, dword [esp + 0x40]
add eax, 0xfffffff4
push eax
call fcn.45f8f362
cmp esi, ebx
pop ecx
jge 0x45e8db77
push 0x77
push 0x45dc68e0
push esi
call fcn.45f857be
xor eax, eax
push 0x1fe
mov word [esp + 0x118], ax
lea eax, [esp + 0x11a]
push ebx
push eax
call fcn.45fb1390
add esp, 0xc
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x40], edi
call fcn.45e27b6d
mov byte [esp + 0x328], 7
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push ebx
lea edx, [esp + 0x58]
push edx
lea edx, [esp + 0x44]
push edx
push ebx
lea edx, [esp + 0x124]
push edx
push 0x100
push eax
call dword [ecx + 0xc]
cmp eax, ebx
jge 0x45e8dbe1
push 0x84
push 0x45dc68e0
push eax
jmp 0x45e8db72
cmp dword [esp + 0x3c], 2
jne 0x45e8dcc4
mov al, byte [0x4603ba48]
test al, al
jne 0x45e8dbe1
cmp word [esp + 0x54], 0xd
jne 0x45e8dd0c
mov al, byte [0x4603ba48]
test al, al
jne 0x45e8dbf5
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x14], ebx
mov byte [esp + 0x328], 8
push eax
lea esi, [esp + 0x18]
call fcn.45eaadef
mov byte [esp + 0x328], 9
mov eax, dword [0x4603911c]
mov dword [esp + 0x28], eax
mov byte [esp + 0x328], 0xa
mov eax, dword [0x4603911c]
mov dword [esp + 0x10], eax
mov byte [esp + 0x328], 0xb
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x14]
push eax
mov eax, esi
push ebx
push eax
call fcn.45e8ea85
add esp, 0x10
push 0x45db9c28
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
call fcn.45e26e38
test eax, eax
jne 0x45e8dca4
push dword [esp + 0x10]
call dword [0x45db143c]
pop ecx
mov dword [esp + 0x18], eax
push ebx
lea eax, [esp + 0x14]
push eax
mov eax, esi
push 0x45db9cd0
push eax
call fcn.45e8ea85
add esp, 0x10
push 0x45dc6914
lea eax, [esp + 0x14]
push eax
call fcn.45e26e38
test eax, eax
jne 0x45e8dd50
mov dword [esp + 0x20], edi
jmp 0x45e8dd6b
lea eax, [esp + 0x20]
push eax
push 0x85
push 0x45dc68e0
mov esi, 0x80004005
push esi
mov dword [esp + 0x30], ebx
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], ebx
push 0x45ff0f98
lea eax, [esp + 0x68]
push eax
call fcn.45fb1416
lea eax, [esp + 0x18]
push eax
push 0x86
push 0x45dc68e0
mov esi, 0x80004005
push esi
mov dword [esp + 0x28], ebx
call fcn.45f85675
mov eax, dword [esp + 0x28]
add esp, 0x10
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], 0x45dc096c
mov dword [esp + 0x48], esi
mov dword [esp + 0x50], ebx
push 0x45ff0f98
lea eax, [esp + 0x48]
jmp 0x45e8dd06
push 0x45dc6928
lea eax, [esp + 0x14]
push eax
call fcn.45e26e38
test eax, eax
jne 0x45e8dd6b
mov dword [esp + 0x20], 2
push ebx
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push 0x45db9c44
push eax
call fcn.45e8ea85
add esp, 0x10
push 4
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0xf0]
push eax
call fcn.45e28286
mov byte [esp + 0x328], 0xc
mov ecx, dword [esp + 0x34]
add ecx, 8
lea eax, [esp + 0xe8]
call fcn.45e284a9
mov byte [esp + 0x328], 0xb
lea eax, [esp + 0xe8]
push eax
call fcn.45e284c6
push ebx
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push 0x45db9c7c
push eax
call fcn.45e8ea85
push dword [esp + 0x20]
call dword [0x45db143c]
mov edi, eax
add esp, 0x14
lea eax, [esp + 0x78]
call fcn.45e16f25
mov byte [esp + 0x328], 0xd
xor esi, esi
cmp edi, ebx
jle 0x45e8dead
mov eax, dword [0x4603911c]
mov dword [esp + 0x2c], eax
mov byte [esp + 0x328], 0xe
push esi
lea eax, [esp + 0x30]
push 0x45db9cb0
push eax
call fcn.45f905ab
add esp, 0xc
push ebx
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x34]
lea eax, [esp + 0x20]
push eax
call fcn.45e8ea85
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp dword [eax - 8], ebx
je 0x45e8de8e
push 4
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x98]
push eax
call fcn.45e28286
mov byte [esp + 0x328], 0xf
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x7c]
call fcn.45e1afc2
mov dword [eax], ebx
mov byte [esp + 0x328], 0xe
lea eax, [esp + 0x90]
push eax
call fcn.45e284c6
mov byte [esp + 0x328], 0xd
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff4
push eax
call fcn.45f8f362
inc esi
cmp esi, edi
pop ecx
jl 0x45e8de06
mov esi, dword [esp + 0x34]
lea edi, [esp + 0x78]
mov ecx, esi
call fcn.45e8d9af
lea ecx, [esp + 0x10]
call fcn.45f8f38d
cmp dword [esp + 0x18], 0x236b
jl 0x45e8dee7
push ebx
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push 0x45db9cf4
push eax
call fcn.45e8ea85
add esp, 0x10
push 4
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0xc4]
push eax
call fcn.45e28286
mov byte [esp + 0x328], 0x10
mov eax, dword [esp + 0x20]
mov dword [esi + 4], eax
lea ecx, [esi + 0x4c]
cmp eax, ebx
jne 0x45e8df18
mov eax, dword [ecx]
call dword [eax + 0x74]
jmp 0x45e8df24
lea eax, [esp + 0xbc]
call fcn.45e284a9
mov byte [esp + 0x328], 0xd
lea eax, [esp + 0xbc]
push eax
call fcn.45e284c6
cmp dword [esp + 0x18], 0x23cf
jl 0x45e8df71
lea ecx, [esp + 0x10]
call fcn.45f8f38d
push ebx
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push 0x45db9d64
push eax
call fcn.45e8ea85
push dword [esp + 0x20]
call dword [0x45db143c]
add esp, 0x14
mov dword [esi + 0x7c], eax
xor edi, edi
cmp dword [esp + 0x18], 0x2415
jl 0x45e8dfc6
push ebx
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push 0x45db9d98
push eax
call fcn.45e8ea85
add esp, 0x10
push 0x45db9dec
lea eax, [esp + 0x14]
push eax
call fcn.45e26e38
test eax, eax
jne 0x45e8dfa9
inc edi
lea eax, [esi + 0x80]
cmp dword [eax], edi
je 0x45e8dfb9
mov dword [eax], edi
mov byte [esi + 0x78], 1
cmp dword [esp + 0x18], 0x2415
jne 0x45e8dfc6
mov byte [esi + 0x78], bl
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
cmp eax, ebx
jge 0x45e8dfde
push 0xe8
jmp 0x45e8dbd9
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
cmp eax, ebx
jge 0x45e8dff6
push 0xea
jmp 0x45e8dbd9
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
cmp eax, ebx
jge 0x45e8e00e
push 0xec
jmp 0x45e8dbd9
mov byte [esp + 0x328], 0xb
lea esi, [esp + 0x78]
call fcn.45e16d86
mov byte [esp + 0x328], 0xa
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.45f8f362
pop ecx
mov byte [esp + 0x328], 9
mov eax, dword [esp + 0x28]
add eax, 0xfffffff4
push eax
call fcn.45f8f362
pop ecx
mov byte [esp + 0x328], 7
lea eax, [esp + 0x14]
push eax
call fcn.45df1a56
mov byte [esp + 0x328], 5
lea eax, [esp + 0x54]
push eax
call fcn.45e27c74
mov byte [esp + 0x328], 4
cmp dword [esp + 0x24], ebx
je 0x45e8e08b
push dword [esp + 0x24]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esp + 0x24], ebx
mov byte [esp + 0x328], 2
lea eax, [esp + 0x30]
push eax
call fcn.45df1a56
mov byte [esp + 0x328], bl
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x45e8e0b6
mov dword [esp + 0x1c], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [esp + 0x328], 0xffffffff
lea eax, [esp + 0x38]
push eax
call fcn.45df1a56
mov ecx, dword [esp + 0x320]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x308]
xor ecx, esp
call fcn.45fa9e5d
mov esp, ebp
pop ebp
ret