Function at 0x100e9a1
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x101000c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
push 0x100824c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x34], ebx
call fcn.0100d9c5
cmp ebx, edi
jne 0x100ea00
mov dword [ebp - 0x24], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0100d761
jmp 0x100eb2f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10086c8
push ebx
mov dword [ebp - 0x24], ebx
call esi
mov dword [ebp - 0x40], eax
cmp eax, edi
je 0x100e9ef
push 0x10086c0
push ebx
call esi
mov dword [ebp - 0x30], eax
cmp eax, edi
je 0x100e9ef
push 0x10086a4
push ebx
call esi
mov dword [ebp - 0x38], eax
cmp eax, edi
je 0x100e9ef
push 0x1008698
push ebx
call esi
mov dword [ebp - 0x3c], eax
cmp eax, edi
je 0x100e9ef
push 0x1008680
push ebx
call esi
mov dword [ebp - 0x2c], eax
cmp eax, edi
je 0x100e9ef
push 0x1008674
push ebx
call esi
mov dword [ebp - 0x28], eax
cmp eax, edi
je 0x100e9ef
cmp dword [ebp - 0x20], edi
jne 0x100ea98
push edi
lea eax, [ebp - 0x1c]
push eax
push edi
call fcn.0100e2e5
cmp eax, 0x80070002
jne 0x100ea8c
push edi
lea eax, [ebp - 0x1c]
push eax
push 1
call fcn.0100e2e5
mov ebx, eax
cmp ebx, edi
jmp 0x100ea90
mov ebx, eax
cmp eax, edi
jl 0x100eb3a
jmp 0x100eaec
mov ecx, dword [ebp - 0x20]
mov eax, 0x1008638
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100eac6
cmp dx, di
je 0x100eac2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100eac6
add eax, 4
add ecx, 4
cmp dx, di
jne 0x100eaa0
xor eax, eax
jmp 0x100eacb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
lea eax, [ebp - 0x1c]
jne 0x100eadd
push edi
push eax
push 1
call fcn.0100e2e5
jmp 0x100eae6
push eax
push dword [ebp - 0x20]
call fcn.0100e519
mov ebx, eax
cmp ebx, edi
jl 0x100eb31
lea eax, [ebp - 0x18]
push eax
call dword [ebp - 0x40]
mov ebx, eax
cmp ebx, edi
jl 0x100eb31
push dword [ebp - 0x34]
push dword [ebp - 0x18]
call fcn.0100e6f1
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
push ecx
push edi
push edi
push eax
mov esi, 0x1008600
push esi
push dword [ebp - 0x18]
call dword [ebp - 0x3c]
test eax, eax
jge 0x100eb31
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
push ecx
push edi
push edi
push eax
push esi
push dword [ebp - 0x18]
call dword [ebp - 0x38]
mov ebx, eax
cmp dword [ebp - 0x20], edi
je 0x100eb3a
cmp ebx, edi
jl 0x100eb43
cmp dword [ebp - 0x2c], edi
je 0x100eb43
push edi
call dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
je 0x100eb6d
cmp dword [ebp - 0x28], edi
je 0x100eb5d
push 0x100825c
push 0x10085b8
push dword [ebp - 0x18]
call dword [ebp - 0x28]
cmp dword [ebp - 0x18], edi
je 0x100eb6d
cmp dword [ebp - 0x30], edi
je 0x100eb6d
push dword [ebp - 0x18]
call dword [ebp - 0x30]
lea ecx, [ebp - 0x24]
call fcn.0100d9c5
lea ecx, [ebp - 0x1c]
call fcn.0100d9fd
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0100919d
leave
ret 4