Function at 0x100e8a1
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 0x100814c
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.0100d8c5
cmp ebx, edi
jne 0x100e900
mov dword [ebp - 0x24], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0100d661
jmp 0x100ea2f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10085c8
push ebx
mov dword [ebp - 0x24], ebx
call esi
mov dword [ebp - 0x40], eax
cmp eax, edi
je 0x100e8ef
push 0x10085c0
push ebx
call esi
mov dword [ebp - 0x30], eax
cmp eax, edi
je 0x100e8ef
push 0x10085a4
push ebx
call esi
mov dword [ebp - 0x38], eax
cmp eax, edi
je 0x100e8ef
push 0x1008598
push ebx
call esi
mov dword [ebp - 0x3c], eax
cmp eax, edi
je 0x100e8ef
push 0x1008580
push ebx
call esi
mov dword [ebp - 0x2c], eax
cmp eax, edi
je 0x100e8ef
push 0x1008574
push ebx
call esi
mov dword [ebp - 0x28], eax
cmp eax, edi
je 0x100e8ef
cmp dword [ebp - 0x20], edi
jne 0x100e998
push edi
lea eax, [ebp - 0x1c]
push eax
push edi
call fcn.0100e1e5
cmp eax, 0x80070002
jne 0x100e98c
push edi
lea eax, [ebp - 0x1c]
push eax
push 1
call fcn.0100e1e5
mov ebx, eax
cmp ebx, edi
jmp 0x100e990
mov ebx, eax
cmp eax, edi
jl 0x100ea3a
jmp 0x100e9ec
mov ecx, dword [ebp - 0x20]
mov eax, 0x1008538
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100e9c6
cmp dx, di
je 0x100e9c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100e9c6
add eax, 4
add ecx, 4
cmp dx, di
jne 0x100e9a0
xor eax, eax
jmp 0x100e9cb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
lea eax, [ebp - 0x1c]
jne 0x100e9dd
push edi
push eax
push 1
call fcn.0100e1e5
jmp 0x100e9e6
push eax
push dword [ebp - 0x20]
call fcn.0100e419
mov ebx, eax
cmp ebx, edi
jl 0x100ea31
lea eax, [ebp - 0x18]
push eax
call dword [ebp - 0x40]
mov ebx, eax
cmp ebx, edi
jl 0x100ea31
push dword [ebp - 0x34]
push dword [ebp - 0x18]
call fcn.0100e5f1
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
push ecx
push edi
push edi
push eax
mov esi, 0x1008500
push esi
push dword [ebp - 0x18]
call dword [ebp - 0x3c]
test eax, eax
jge 0x100ea31
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 0x100ea3a
cmp ebx, edi
jl 0x100ea43
cmp dword [ebp - 0x2c], edi
je 0x100ea43
push edi
call dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
je 0x100ea6d
cmp dword [ebp - 0x28], edi
je 0x100ea5d
push 0x100815c
push 0x10084b8
push dword [ebp - 0x18]
call dword [ebp - 0x28]
cmp dword [ebp - 0x18], edi
je 0x100ea6d
cmp dword [ebp - 0x30], edi
je 0x100ea6d
push dword [ebp - 0x18]
call dword [ebp - 0x30]
lea ecx, [ebp - 0x24]
call fcn.0100d8c5
lea ecx, [ebp - 0x1c]
call fcn.0100d8fd
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0100909d
leave
ret 4