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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
and eax, 1
push edi
mov dword [ebp - 0x18], eax
je 0x1011b5d4
mov edi, dword [ebx + 0x34]
xor ecx, ecx
cmp edi, ecx
je 0x1011b5d4
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
test byte [eax + 0x7fd1], 8
jne 0x1011b5d4
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x38]
mov esi, 2
push edx
push eax
lea ecx, [esi + 2]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], esi
call fcn.100db050
mov edi, eax
test edi, edi
jge 0x1011b438
lea esi, [ebp - 0x38]
call fcn.100da650
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov eax, dword [ebx + 0x34]
mov esi, dword [ebp + 8]
mov ecx, dword [ebx + 0x30]
mov edx, dword [esi + 0x1c]
mov edi, dword [ebp - 0x38]
add eax, eax
add eax, eax
push eax
lea eax, [edx + ecx*4]
push eax
push edi
call sub.msvcrt.dll_memcpy
mov eax, dword [ebx + 0x34]
add esp, 0xc
lea edx, [ebp - 0x10]
push edx
mov edx, dword [esi + 0x1c]
push 0
push 0x11
push 0
push 0
push 0
lea ecx, [ebx + 0x10]
mov dword [ebp - 8], ecx
mov ecx, dword [ebx + 0x30]
push 0
lea ecx, [edx + ecx*4]
mov edx, dword [ebp - 8]
push ecx
and eax, 0xfffff
push edi
or eax, 0x10000000
push eax
push edx
mov ecx, esi
call fcn.10122240
mov edi, eax
test edi, edi
jl 0x1011b425
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebx + 0x34]
push ecx
push eax
mov eax, dword [ebx + 0x30]
push esi
call fcn.1010b480
mov edi, eax
test edi, edi
jl 0x1011b425
mov eax, dword [ebx + 0x34]
mov edx, dword [ebx + 0x30]
push eax
mov eax, dword [esi + 0x1c]
lea ecx, [eax + edx*4]
mov edx, dword [ebx + 0x48]
push ecx
push edx
push esi
call fcn.10108de0
mov edi, eax
test edi, edi
jl 0x1011b425
mov edi, dword [ebp + 8]
push 0
push 0
mov eax, ebx
mov ecx, dword [eax + 0x7c]
mov edx, dword [eax + 0x78]
mov ebx, dword [ebp + 0x14]
push ecx
mov ecx, dword [eax + 0x90]
mov eax, dword [eax + 0x30]
push edx
push 0
push ecx
mov ecx, esi
mov edx, dword [ecx + 8]
mov edx, dword [edx + 0x803c]
mov ecx, dword [ecx + 0x1c]
push edx
lea edx, [ecx + eax*4]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
mov esi, dword [ecx + 0x48]
push edx
push eax
call fcn.10125380
mov edi, eax
test edi, edi
jl 0x1011b425
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x34]
mov ecx, dword [ecx + 0x30]
mov ebx, dword [ebp + 8]
lea edx, [ebp - 0x10]
push edx
mov edx, dword [ebp - 0x10]
push ecx
push eax
mov eax, dword [ebp - 8]
push edx
push eax
call fcn.101061b0
mov edi, eax
test edi, edi
jl 0x1011b425
mov eax, dword [ebp - 0x10]
push ebx
call fcn.10105fe0
mov edi, eax
test edi, edi
jl 0x1011b425
mov edi, dword [ebp + 0xc]
mov ecx, dword [edi + 0x30]
mov eax, dword [ebx + 0x1c]
mov edx, dword [edi + 0x34]
lea esi, [eax + ecx*4]
call fcn.10109d00
test al, al
je 0x1011b5ad
xor esi, esi
test edx, edx
jbe 0x1011b5c9
lea esp, [esp]
mov ecx, dword [edi + 0x30]
mov edx, dword [ebx + 0x1c]
add ecx, esi
mov eax, dword [edx + ecx*4]
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
push 1
push eax
mov eax, dword [edx + 4]
call eax
test eax, eax
jl 0x1011b5a4
inc esi
cmp esi, dword [edi + 0x34]
jb 0x1011b580
jmp 0x1011b5c9
mov byte [ebx + 0xf2], 1
jmp 0x1011b5c9
mov edi, dword [edi + 0xc]
mov ecx, dword [ebp - 8]
push edi
push 0x1008bd84
push ecx
mov edx, 0xdaf
mov eax, ebx
call fcn.1010ad00
add esp, 0xc
lea esi, [ebp - 0x38]
call fcn.100da650
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x1c]
mov ebx, dword [ebx + 0x50]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], eax
test ebx, ebx
je 0x1011bceb
cmp dword [ebx + 4], 2
jne 0x1011bceb
mov ecx, dword [ebx + 0x58]
mov edx, dword [ebx + 0x6c]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebx + 0x68]
mov eax, ecx
mov dword [ebp - 0x20], edx
and eax, 0x20
xor edx, edx
or eax, edx
mov dword [ebp - 8], ebx
je 0x1011bbc0
and ecx, 0x4000000
xor eax, eax
or ecx, eax
jne 0x1011bbc0
mov esi, dword [ebp + 8]
cmp dword [ebp - 0x18], ecx
jne 0x1011b713
cmp dword [ebx + 0x34], ecx
jbe 0x1011b661
mov eax, dword [ebx + 0x30]
mov edx, dword [esi + 0x1c]
lea edx, [edx + eax*4]
mov eax, dword [edx]
test eax, eax
je 0x1011b658
mov edi, dword [esi + 8]
mov edi, dword [edi + 0x8020]
cmp edi, dword [eax + 0x50]
je 0x1011bc20
inc ecx
add edx, 4
cmp ecx, dword [ebx + 0x34]
jb 0x1011b640
cmp dword [ebp - 0xc], 0
je 0x1011b68d
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
test eax, eax
je 0x1011b68d
push 0
push 0
push 0
push 0
push 0
push eax
mov ecx, esi
call fcn.1011f110
mov edi, eax
test edi, edi
jl 0x1011bced
test byte [ebp + 0x10], 4
jne 0x1011bbd8
xor eax, eax
mov dword [ebp + 0x1c], eax
cmp dword [ebx + 0x34], eax
jbe 0x1011bbd8
mov ecx, dword [ebx + 0x30]
lea edx, [ecx + eax]
mov ecx, dword [ebp + 0x20]
mov eax, dword [esi + 0x1c]
mov ecx, dword [ecx + edx*4]
mov dword [eax + edx*4], ecx
mov eax, dword [esi + 0x1a8]
test eax, eax
je 0x1011b702
mov esi, dword [eax + 4]
mov ecx, edx
and ecx, 0x1f
mov edi, 1
shl edi, cl
mov ecx, edx
shr ecx, 5
lea ecx, [esi + ecx*4]
test dword [ecx], edi
jne 0x1011b6ff
inc dword [eax + 0xc]
or dword [ecx], edi
mov ecx, dword [eax + 0x10]
cmp ecx, 0xffffffff
je 0x1011b6ed
cmp edx, ecx
jae 0x1011b6f0
mov dword [eax + 0x10], edx
mov ecx, dword [eax + 0x14]
cmp ecx, 0xffffffff
je 0x1011b6fc
cmp edx, ecx
jbe 0x1011b6ff
mov dword [eax + 0x14], edx
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x1c]
inc eax
mov dword [ebp + 0x1c], eax
cmp eax, dword [ebx + 0x34]
jb 0x1011b6a5
jmp 0x1011bbd8
mov edi, dword [esi + 8]
mov al, byte [edi + 0x7fd1]
test al, 0x40
je 0x1011b728
test al, al
jns 0x1011bc61
mov ecx, dword [ebx + 0x48]
test ecx, ecx
je 0x1011b74e
nop
test ecx, ecx
je 0x1011b73f
cmp dword [ecx + 4], 0xa
jne 0x1011b73f
mov ecx, dword [ecx + 0x20]
jmp 0x1011b730
cmp dword [ecx + 4], 5
sete cl
test cl, cl
jne 0x1011bc90
mov ecx, dword [esi + 0x1c]
mov edx, dword [ebx + 0x30]
cmp dword [ecx + edx*4], 0xffffffff
lea edx, [ecx + edx*4]
je 0x1011b7e4
mov edx, dword [edx]
mov edx, dword [edx + 0x4c]
test byte [edx*4 + 0x101e0f12], 1
je 0x1011b7e4
mov eax, dword [ebx + 0x30]
mov eax, dword [ecx + eax*4]
mov edx, dword [eax + 0x4c]
mov eax, dword [eax + 0x50]
mov eax, dword [eax + 8]
and eax, 0x10
xor esi, esi
or eax, esi
jne 0x1011bb39
mov eax, dword [ebx + 0x30]
push edx
mov edx, dword [edi + 0x8084]
push edx
push esi
lea eax, [ecx + eax*4]
mov ecx, dword [eax]
push esi
push eax
lea eax, [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0x1c], ecx
call fcn.100bef50
mov ecx, dword [ebp + 8]
push eax
push ecx
mov eax, 0x80200001
call fcn.10121e80
mov edi, eax
test edi, edi
jl 0x1011bced
mov edx, dword [ebp + 0x1c]
mov esi, dword [ebx + 0x30]
mov eax, dword [ebp + 8]
call fcn.1010b680
mov edi, eax
test edi, edi
jl 0x1011bced
jmp 0x1011bb39
test al, 8
jne 0x1011bcbc
xor ecx, ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x2c], ecx
lea edx, [ebp - 0x2c]
push edx
mov eax, edi
mov edi, dword [ebx + 0x34]
lea ecx, [ebp - 0x38]
mov esi, 2
push ecx
push eax
lea ecx, [esi + 2]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], esi
call fcn.100db050
mov edi, eax
test edi, edi
jl 0x1011b425
mov edx, dword [ebx + 0x34]
mov ecx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
mov esi, dword [ebp - 0x38]
add edx, edx
add edx, edx
push edx
mov edx, dword [ecx + 0x1c]
lea eax, [edx + eax*4]
push eax
push esi
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp + 0xc]
mov edi, dword [ebx + 0x34]
add esp, 0xc
call fcn.100bef50
mov ecx, dword [ebp + 8]
push edi
push esi
push esi
push eax
push ecx
mov dword [ebp + 0x1c], eax
call fcn.101063a0
mov edi, eax
test edi, edi
jl 0x1011b425
mov edx, dword [ebx + 0x34]
mov eax, dword [ebp - 0x10]
add edx, edx
add edx, edx
push edx
push esi
push eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebx + 0x34]
mov edx, dword [ebp + 0x1c]
add esp, 0xc
lea ecx, [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 8]
push 0
push 0x11
push 0
push 0
push 0
push 0
push esi
and eax, 0xfffff
push esi
or eax, 0x10000000
push eax
push edx
call fcn.10122240
mov edi, eax
test edi, edi
jl 0x1011b425
mov eax, dword [ebx + 0x34]
push esi
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebx + 0x30]
call fcn.1010b480
mov edi, eax
test edi, edi
jl 0x1011b425
mov eax, dword [ebx + 0x34]
mov ecx, dword [ebx + 0x48]
mov edx, dword [ebp + 8]
push eax
push esi
push ecx
push edx
call fcn.10108de0
mov edi, eax
test edi, edi
jl 0x1011b425
mov eax, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x68]
mov edx, dword [ebx + 0x74]
mov edi, dword [ebp + 8]
push 0
push 0
push eax
mov eax, dword [ebp + 8]
push ecx
mov ecx, dword [eax + 8]
mov eax, dword [ebp - 8]
push 0
push edx
mov edx, dword [ecx + 0x803c]
push edx
push esi
mov esi, dword [eax + 0x48]
add ebx, 0x10
push ebx
mov ebx, dword [ebp + 0x14]
call fcn.10125380
mov edi, eax
test edi, edi
jl 0x1011b425
mov esi, dword [ebp - 8]
mov edx, dword [esi + 0x30]
mov eax, dword [esi + 0x34]
mov ebx, dword [ebp + 8]
lea ecx, [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x1c]
push edx
push eax
mov eax, dword [ebp + 0x18]
push eax
push ecx
call fcn.101061b0
mov edi, eax
test edi, edi
jl 0x1011b425
mov eax, dword [esi + 0x48]
push 7
call fcn.100bef60
call fcn.100a9f30
test al, al
je 0x1011bb1b
mov eax, dword [ebx + 8]
test byte [eax + 0x7fd6], 1
je 0x1011bb1b
inc dword [eax + 0x480]
mov ecx, dword [ebx + 8]
push 0xffffffffffffffff
lea esi, [ecx + 0x47c]
call fcn.1017c720
test al, al
je 0x1011bb1b
mov esi, dword [ebp - 8]
mov eax, dword [esi + 0xac]
mov ecx, dword [ebx + 8]
mov ecx, dword [ecx + 0x80a0]
lea edx, [ebp - 0x1c]
push edx
push esi
push eax
mov eax, dword [esi + 0xa8]
push ebx
call fcn.10103610
mov edi, eax
test edi, edi
jl 0x1011b425
xor edi, edi
mov dword [ebp - 0x14], edi
cmp dword [esi + 0x34], edi
jbe 0x1011ba66
mov ecx, dword [ebp - 0x1c]
mov edx, dword [esi + 0x30]
mov eax, dword [ebx + 0x1c]
add edx, edi
mov eax, dword [eax + edx*4]
mov edx, dword [eax + 0x50]
mov dword [ebp - 0x20], edx
cmp edx, ecx
je 0x1011ba46
test edx, edx
je 0x1011ba1a
cmp edx, 0xffffffff
je 0x1011ba1a
mov edi, dword [eax + 4]
test edi, edi
je 0x1011ba01
mov edx, dword [eax]
mov dword [edi], edx
mov edx, dword [ebp - 0x20]
jmp 0x1011ba06
mov edi, dword [eax]
mov dword [edx + 0x24], edi
mov edi, dword [eax]
test edi, edi
je 0x1011ba14
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
jmp 0x1011ba1a
mov edi, dword [eax + 4]
mov dword [edx + 0x28], edi
test ecx, ecx
je 0x1011ba40
cmp ecx, 0xffffffff
je 0x1011ba40
mov edx, dword [ecx + 0x28]
mov dword [eax + 4], edx
mov edx, dword [ecx + 0x28]
test edx, edx
je 0x1011ba34
mov dword [edx], eax
jmp 0x1011ba37
mov dword [ecx + 0x24], eax
mov dword [eax], 0
mov dword [ecx + 0x28], eax
mov edi, dword [ebp - 0x14]
mov dword [eax + 0x50], ecx
mov dword [eax + 0x5c], 0xffffffff
mov eax, dword [eax + 0x60]
cmp eax, dword [ecx + 0x10]
jb 0x1011ba59
inc eax
mov dword [ecx + 0x10], eax
inc edi
mov dword [ebp - 0x14], edi
cmp edi, dword [esi + 0x34]
jb 0x1011b9d3
mov eax, dword [ebp + 0x18]
mov edi, dword [ebp - 0x38]
xor ecx, ecx
mov dword [eax + 0x3c], ecx
mov dword [eax], ecx
mov dword [eax + 8], ecx
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x30]
mov edx, dword [ebx + 0x1c]
add eax, eax
add eax, eax
push eax
lea eax, [edx + ecx*4]
push eax
push edi
call sub.msvcrt.dll_memcpy
mov eax, dword [esi + 0x34]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x1c]
add esp, 0xc
push eax
push ecx
push edi
push edx
mov ecx, ebx
call fcn.101495e0
mov edi, eax
test edi, edi
jl 0x1011b425
mov ecx, dword [ebp - 0x38]
mov eax, dword [esi + 0x34]
push ecx
push eax
mov eax, dword [esi + 0x30]
push ebx
call fcn.1010b480
mov edi, eax
test edi, edi
jl 0x1011b425
mov edx, dword [esi + 0xac]
mov eax, dword [ebx + 0x1c]
mov ecx, dword [eax + edx*4]
mov edx, dword [ebx + 8]
mov eax, dword [edx + 0x8084]
mov edx, dword [ebp + 0x1c]
push 0x11
push eax
push 0
push 0
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], ecx
mov ecx, eax
push ecx
push edx
push ebx
mov eax, 0x80200001
call fcn.10121e80
mov edi, eax
test edi, edi
jl 0x1011b425
mov edx, dword [ebp - 0x14]
mov esi, dword [esi + 0xac]
mov eax, ebx
call fcn.1010b680
jmp 0x1011bb24
mov eax, dword [ebp + 0x18]
push ebx
call fcn.10105fe0
mov edi, eax
test edi, edi
jl 0x1011b425
lea esi, [ebp - 0x38]
call fcn.100da650
mov ebx, dword [ebp - 8]
mov edi, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
mov ecx, dword [edi + 0x1c]
cmp dword [ecx + eax*4], 0xffffffff
lea esi, [ecx + eax*4]
je 0x1011bbf9
mov edx, dword [esi]
mov eax, dword [edx + 0x4c]
test byte [eax*4 + 0x101e0f12], 1
je 0x1011bbf9
mov eax, dword [ebx + 0x68]
and eax, 0x10
xor ecx, ecx
or eax, ecx
jne 0x1011bb91
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0xc]
push eax
push ecx
lea edx, [ebx + 0x10]
push 0x1008be30
push edx
mov edx, 0xdba
mov eax, edi
call fcn.1010ad00
add esp, 0x10
mov eax, dword [edi + 8]
test byte [eax + 0x7fd1], 8
jne 0x1011bbc0
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0xc]
push eax
push ecx
lea edx, [ebx + 0x10]
push 0x1008be70
push edx
mov edx, 0xdba
mov eax, edi
call fcn.1010ad00
add esp, 0x10
cmp dword [ebp - 0x18], 0
je 0x1011bbd8
test byte [ebp + 0x10], 2
je 0x1011bbe5
mov eax, dword [ebx + 0x68]
and eax, 0x40
xor ecx, ecx
or eax, ecx
je 0x1011bbe5
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x1011bbe5
mov edx, dword [eax + 0xc]
mov dword [ebp - 0xc], edx
mov eax, dword [ebx + 0x34]
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x28]
lea edx, [ecx + eax*4]
mov dword [ebp - 0x10], edx
jmp 0x1011b5e3
mov edx, dword [ebx + 0x34]
call fcn.10109d00
test al, al
jne 0x1011bbc0
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0xc]
push eax
push ecx
lea edx, [ebx + 0x10]
push 0x1008beb8
push edx
mov edx, 0xdaf
jmp 0x1011bbb6
mov eax, dword [eax + 0x8c]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebx + 0xc]
mov ecx, dword [ecx + 0xc]
test eax, eax
je 0x1011bc38
add eax, 0x10
jmp 0x1011bc3a
xor eax, eax
push ebx
push ecx
push 0x1008bee8
push eax
mov edx, 0xdb4
mov eax, esi
call fcn.1010ad00
mov edi, 0x80004005
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx + 0xc]
push ecx
push 0x1008bde8
add ebx, 0x10
push ebx
mov edx, 0xdac
mov eax, esi
call fcn.1010ad00
mov edi, 0x80004005
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov eax, dword [ebx + 0xc]
push eax
push 0x1008bdb4
add ebx, 0x10
push ebx
mov edx, 0xc2e
mov eax, esi
call fcn.1010ad00
mov edi, 0x80004005
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
push 0x1008bf20
add ebx, 0x10
push ebx
mov edx, 0xdb3
mov eax, esi
call fcn.1010ad00
mov edi, 0x80004005
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c