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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push edi
mov edi, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], edi
test edi, edi
je 0x10117df4
cmp dword [edi + 0x58], 0
je 0x10117df4
mov ebx, dword [edi + 0x54]
test ebx, ebx
je 0x10117df4
mov ecx, dword [ebx + 0x9c]
test ecx, ecx
je 0x10117957
test byte [ecx + 4], 1
je 0x10117957
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 0x58]
mov eax, dword [eax + 0x64]
test edx, edx
je 0x1011794a
push edx
push eax
mov eax, dword [eax + 0xc]
call eax
mov ecx, dword [ebx + 0x9c]
add esp, 8
mov dword [ebx + 0x58], 0
and dword [ecx + 4], 0xfffffffe
jmp 0x1011795e
mov dword [ebx + 0x58], 0
push esi
lea esi, [ebx + 0x18]
xor edx, edx
push 0x20
mov ecx, esi
call fcn.100a44c0
lea ecx, [ebx + 0x6c]
xor edx, edx
push 0x14
call fcn.100a44c0
mov ecx, dword [ebp + 8]
add esp, 8
mov dword [ebx + 0x50], 0
mov edx, ecx
mov dword [ebx + 0x4c], 0
or edx, 0x801
mov dword [ebx + 0x54], 0
mov byte [ebx + 0x5e], 0
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x80], 0
mov dword [ebx + 0x84], 0
mov dword [ebx + 0x88], 0
mov dword [ebx + 0x8c], 0
mov dword [ebx + 0x98], 0
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x90], 0
mov dword [ebx + 0x94], 0
mov eax, dword [edi + 0x60]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xa0]
mov dword [ebp - 0x10], eax
mov eax, ecx
and eax, 0x400
cmove edx, ecx
mov dword [ebp - 4], edx
test dl, 1
je 0x10117a33
and edx, 0xfffffffb
or edx, 0xa
mov dword [ebp - 4], edx
cmp dword [ebp - 0x10], 0
je 0x10117a83
test edx, 0x8002
jne 0x10117a83
mov eax, dword [edi + 0x60]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
and eax, 0x300
cmp eax, 0x100
jne 0x10117a83
mov ecx, dword [edi + 8]
test ecx, 0x2000
jne 0x10117a83
test edx, 0x800
jne 0x10117ae7
mov eax, dword [edi + 0x80]
mov esi, dword [eax + 8]
test esi, esi
mov eax, dword [eax]
mov dword [ebp - 8], esi
lea esi, [ebx + 0x18]
jne 0x10117ade
test eax, eax
jne 0x10117ae7
mov eax, dword [edi + 0x60]
push edx
push dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
push dword [edi + 0x58]
push ebx
mov eax, dword [eax + 0x48]
call eax
add esp, 0x10
mov dword [ebp - 8], eax
test eax, eax
jne 0x10117ded
cmp dword [ebx + 0x48], 0x6f75746c
jne 0x10117ba4
lea ecx, [ebx + 0x6c]
test ecx, ecx
je 0x10117ad2
movsx eax, word [ecx + 2]
movsx ecx, word [ecx]
mov dword [ebp - 0x18], ecx
test eax, eax
jne 0x10117bba
test ecx, ecx
je 0x10117c05
pop esi
pop edi
mov eax, 6
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x10117a83
cmp dword [ebp - 8], eax
je 0x10117a83
test dl, 0x20
jne 0x10117b33
test dword [ebp - 0x18], 0x400
je 0x10117b33
mov eax, edx
and eax, 0xf0000
cmp eax, 0x10000
je 0x10117b33
mov eax, dword [edi + 0x80]
cmp byte [eax + 0x34], 0
jne 0x10117b33
test cl, 8
je 0x10117a83
cmp dword [edi + 0x2ac], 0
je 0x10117a83
cmp word [edi + 0x11e], 0
jne 0x10117a83
test cl, 2
je 0x10117b6d
test dl, 8
jne 0x10117b6d
mov eax, dword [edi + 0x60]
mov ecx, dword [eax + 0xc]
mov eax, edx
or eax, 0x4000
push eax
push dword [ebp - 0x14]
mov eax, dword [ecx + 0x48]
push dword [edi + 0x58]
push ebx
call eax
add esp, 0x10
mov dword [ebp - 8], eax
test eax, eax
jne 0x10117b6a
cmp dword [ebx + 0x48], 0x62697473
je 0x10117ba4
mov edx, dword [ebp - 4]
mov edi, dword [edi + 0x80]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
push edx
mov esi, dword [edi + 0x18]
push dword [ebp - 0x14]
mov dword [edi + 0x18], 0
mov eax, dword [eax]
push dword [ecx + 0x58]
push ebx
mov eax, dword [eax + 0x14]
push dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
call eax
add esp, 0x14
mov dword [ebp - 8], eax
mov dword [edi + 0x18], esi
mov edi, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
test cl, 0x10
je 0x10117cba
mov eax, dword [ebx + 0x34]
xor edx, edx
jmp 0x10117cbf
jle 0x10117ad2
test ecx, ecx
jle 0x10117ad2
mov eax, dword [ebx + 0x78]
or esi, 0xffffffff
xor edx, edx
movsx ecx, word [eax]
cmp ecx, esi
jle 0x10117ad2
movsx esi, word [ebx + 0x6e]
mov edi, dword [ebp - 0xc]
cmp ecx, esi
jge 0x10117ad2
inc edx
add eax, 2
mov esi, ecx
cmp edx, dword [ebp - 0x18]
jl 0x10117bd0
movsx eax, word [ebx + 0x6e]
dec eax
cmp ecx, eax
jne 0x10117ad2
lea esi, [ebx + 0x18]
mov ecx, dword [ebp - 4]
xor eax, eax
mov dword [ebp - 8], eax
test cl, 2
jne 0x10117ba7
mov edx, dword [esi + 8]
mov al, cl
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x20], ecx
and ecx, 0xffffffc0
mov dword [ebp - 8], edx
mov edx, dword [esi + 0xc]
mov dword [esi + 0x14], ecx
mov edi, dword [esi + 4]
mov dword [ebp - 0x24], ecx
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 8]
and ecx, 0xffffffc0
mov dword [ebp - 0x28], edx
mov dword [esi + 8], ecx
add edx, 0x3f
mov dword [ebp - 0x2c], ecx
and edx, 0xffffffc0
mov ecx, dword [ebp - 0x14]
and ecx, 0xffffffc0
mov dword [esi + 0xc], edx
mov dword [ebp - 0x1c], ecx
mov dword [esi + 0x18], ecx
and al, 0x10
je 0x10117c7b
mov edx, dword [ebp - 0x14]
lea eax, [edi + 0x3f]
add edx, eax
mov eax, dword [esi]
add eax, 0x3f
and edx, 0xffffffc0
add eax, dword [ebp - 0x20]
sub edx, dword [ebp - 0x1c]
and eax, 0xffffffc0
sub eax, dword [ebp - 0x24]
jmp 0x10117c93
mov eax, dword [ebp - 0x28]
sub eax, edi
and eax, 0xffffffc0
sub edx, eax
mov eax, dword [esi]
add eax, 0x3f
add eax, dword [ebp - 8]
and eax, 0xffffffc0
sub eax, dword [ebp - 0x2c]
mov dword [esi], eax
mov dword [esi + 4], edx
mov eax, dword [esi + 0x10]
add eax, 0x20
and eax, 0xffffffc0
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x1c]
add eax, 0x20
and eax, 0xffffffc0
mov dword [esi + 0x1c], eax
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x10117ba1
mov edx, dword [ebx + 0x28]
xor eax, eax
mov dword [ebx + 0x40], edx
mov dword [ebx + 0x44], eax
test ecx, 0x2000
jne 0x10117cfc
test byte [edi + 8], 1
je 0x10117cfc
mov esi, dword [edi + 0x58]
mov ecx, dword [ebx + 0x38]
push 0x40
mov edx, dword [esi + 0x10]
call fcn.10116ea0
mov ecx, dword [ebx + 0x3c]
mov dword [ebx + 0x38], eax
mov edx, dword [esi + 0x14]
push 0x40
call fcn.10116ea0
mov ecx, dword [ebp - 4]
add esp, 8
mov dword [ebx + 0x3c], eax
test ecx, 0x800
jne 0x10117daf
mov esi, dword [edi + 0x80]
cmp dword [esi + 0x18], 0
je 0x10117daf
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x9c]
test edx, edx
je 0x10117d33
mov edi, dword [ebx + 0x48]
cmp dword [edx + 0x10], edi
je 0x10117d55
mov eax, dword [eax + 0x94]
xor edx, edx
mov edi, dword [ebx + 0x48]
test eax, eax
je 0x10117d55
mov ecx, dword [eax + 8]
cmp dword [ecx + 0x10], edi
je 0x10117d53
mov eax, dword [eax + 4]
test eax, eax
jne 0x10117d42
jmp 0x10117d55
mov edx, ecx
test edx, edx
je 0x10117d70
mov ecx, dword [edx + 0xc]
lea eax, [esi + 0x10]
push eax
push esi
push ebx
mov eax, dword [ecx + 0x2c]
push edx
call eax
add esp, 0x10
mov dword [ebp - 8], eax
jmp 0x10117da2
cmp edi, 0x6f75746c
jne 0x10117da2
mov eax, dword [esi + 0x18]
lea edi, [ebx + 0x6c]
test al, 1
je 0x10117d8e
mov edx, esi
mov ecx, edi
call fcn.1011a200
mov eax, dword [esi + 0x18]
test al, 2
je 0x10117da2
push dword [esi + 0x14]
mov edx, dword [esi + 0x10]
mov ecx, edi
call fcn.1011a0c0
add esp, 4
mov edx, esi
lea ecx, [ebx + 0x40]
call fcn.1011a100
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
test eax, eax
jne 0x10117ded
mov edx, dword [ebx + 0x48]
cmp edx, 0x62697473
je 0x10117ded
cmp edx, 0x636f6d70
je 0x10117ded
test cl, 4
je 0x10117ded
mov edx, ecx
sar edx, 0x10
and edx, 0xf
jne 0x10117de6
test ecx, 0x1000
mov eax, 2
cmovne edx, eax
mov ecx, ebx
call fcn.10119300
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 0x23
pop ebx
mov esp, ebp
pop ebp
ret