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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, eax
xor eax, eax
test dword [esi + 8], 0x80000
push edi
mov dword [ebp - 0xc], eax
je 0x1001b0b8
mov ecx, dword [esi + 0x1c]
sub ecx, dword [esi + 0x40]
mov dword [ebp - 8], 1
cmp ecx, dword [esi + 0x24]
jbe 0x1001b0bb
mov dword [ebp - 8], eax
cmp dword [esi], eax
jne 0x1001b0db
mov ecx, dword [esi + 0x7c]
mov edx, dword [esi + 0x8c]
mov ecx, dword [ecx]
sub ecx, edx
cmp ecx, 0x14ccc
jb 0x1001b0db
mov ecx, dword [esi + 0x74]
add ecx, edx
jmp 0x1001b0e1
lea ecx, [esi + 0x39272]
mov edx, dword [esi + 0x2c]
mov dword [esi + 0x30], ecx
mov dword [ebp - 4], ecx
add ecx, 0x14cbc
mov dword [esi + 0x34], ecx
mov cl, byte [esi + 0x38]
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
shr byte [edx], cl
xor ecx, ecx
push 8
pop edx
cmp dword [esi + 0x38], edx
sete cl
sub dword [esi + 0x28], ecx
test dword [esi + 8], 0x1000
je 0x1001b17d
cmp dword [esi + 0x64], eax
jne 0x1001b17d
mov ecx, dword [esi + 0x44]
push 0x78
pop edi
shl edi, cl
add ecx, edx
mov dword [esi + 0x44], ecx
or dword [esi + 0x48], edi
cmp ecx, edx
jb 0x1001b14b
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x1001b13e
mov bl, byte [esi + 0x48]
mov byte [ecx], bl
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], edx
jae 0x1001b12e
mov ecx, dword [esi + 0x44]
xor edi, edi
inc edi
shl edi, cl
add ecx, 8
mov dword [esi + 0x44], ecx
or dword [esi + 0x48], edi
cmp ecx, edx
jb 0x1001b17d
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x1001b170
mov bl, byte [esi + 0x48]
mov byte [ecx], bl
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], edx
jae 0x1001b160
mov ecx, dword [esi + 0x44]
xor ebx, ebx
cmp dword [ebp + 8], 4
sete bl
shl ebx, cl
or dword [esi + 0x48], ebx
inc ecx
mov dword [esi + 0x44], ecx
cmp ecx, edx
jb 0x1001b1b3
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x1001b1a6
mov bl, byte [esi + 0x48]
mov byte [ecx], bl
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], edx
jae 0x1001b196
mov ecx, dword [esi + 0x48]
mov edi, dword [esi + 0x30]
mov ebx, dword [esi + 0x44]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 8], eax
jne 0x1001b1fa
test dword [esi + 8], 0x40000
jne 0x1001b1d3
cmp dword [esi + 0x3c], 0x30
jae 0x1001b1d6
xor eax, eax
inc eax
push eax
mov eax, esi
call fcn.1001b06c
mov ecx, dword [esi + 0x3c]
mov dword [ebp - 0xc], eax
test ecx, ecx
je 0x1001b306
mov eax, dword [esi + 0x30]
sub eax, edi
inc eax
cmp eax, ecx
jb 0x1001b306
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x40]
cmp eax, dword [esi + 0x24]
ja 0x1001b306
xor eax, eax
mov ecx, ebx
shl eax, cl
push 8
add ebx, 2
pop edx
or eax, dword [ebp - 0x10]
mov dword [esi + 0x30], edi
mov dword [esi + 0x48], eax
mov dword [esi + 0x44], ebx
cmp ebx, edx
jb 0x1001b242
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x1001b235
mov cl, byte [esi + 0x48]
mov byte [eax], cl
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], edx
jae 0x1001b225
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x1001b270
xor eax, eax
shl eax, cl
mov dword [esi + 0x44], edx
or dword [esi + 0x48], eax
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x1001b263
mov cl, byte [esi + 0x48]
mov byte [eax], cl
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], edx
jae 0x1001b253
push 2
pop edi
mov ecx, dword [esi + 0x44]
movzx eax, word [esi + 0x3c]
shl eax, cl
or dword [esi + 0x48], eax
lea eax, [ecx + 0x10]
mov dword [esi + 0x44], eax
cmp eax, edx
jb 0x1001b2a6
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x1001b299
mov cl, byte [esi + 0x48]
mov byte [eax], cl
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], edx
jae 0x1001b289
xor dword [esi + 0x3c], 0xffff
mov eax, dword [esi + 0x3c]
dec edi
test edi, edi
jne 0x1001b273
xor edx, edx
test eax, eax
jbe 0x1001b324
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
add eax, edx
and eax, 0x7fff
movzx eax, byte [eax + esi + 0x90]
shl eax, cl
or dword [esi + 0x48], eax
lea eax, [ecx + 8]
mov dword [esi + 0x44], eax
cmp eax, 8
jb 0x1001b2fe
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x1001b2f0
mov cl, byte [esi + 0x48]
mov byte [eax], cl
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], 8
jae 0x1001b2e0
inc edx
cmp edx, dword [esi + 0x3c]
jb 0x1001b2bb
jmp 0x1001b324
cmp dword [ebp - 0xc], 0
jne 0x1001b324
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x30], edi
mov dword [esi + 0x48], eax
mov dword [esi + 0x44], ebx
call fcn.1001ada2
mov eax, esi
call fcn.1001ae45
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x1001b458
mov ecx, dword [esi + 0x44]
push 4
pop edi
cmp dword [ebp + 8], edi
jne 0x1001b3b9
cmp ecx, ebx
je 0x1001b368
xor eax, eax
shl eax, cl
push 8
pop ecx
mov dword [esi + 0x44], ecx
or dword [esi + 0x48], eax
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x1001b35b
mov dl, byte [esi + 0x48]
mov byte [eax], dl
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], ecx
jae 0x1001b34b
test dword [esi + 8], 0x1000
je 0x1001b458
mov edx, dword [esi + 0x18]
mov ecx, dword [esi + 0x44]
mov eax, edx
shr eax, 0x18
shl eax, cl
or dword [esi + 0x48], eax
lea eax, [ecx + 8]
mov dword [esi + 0x44], eax
cmp eax, 8
jb 0x1001b3ae
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x1001b3a0
mov cl, byte [esi + 0x48]
mov byte [eax], cl
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], 8
jae 0x1001b390
shl edx, 8
dec edi
jne 0x1001b378
jmp 0x1001b458
xor eax, eax
shl eax, cl
push 8
pop edx
or dword [esi + 0x48], eax
lea eax, [ecx + 3]
mov dword [esi + 0x44], eax
cmp eax, edx
jb 0x1001b3ea
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x1001b3dd
mov cl, byte [esi + 0x48]
mov byte [eax], cl
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], edx
jae 0x1001b3cd
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x1001b418
xor eax, eax
shl eax, cl
mov dword [esi + 0x44], edx
or dword [esi + 0x48], eax
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x1001b40b
mov cl, byte [esi + 0x48]
mov byte [eax], cl
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], edx
jae 0x1001b3fb
push 2
pop edi
mov ecx, dword [esi + 0x44]
movzx eax, bx
shl eax, cl
or dword [esi + 0x48], eax
lea eax, [ecx + 0x10]
mov dword [esi + 0x44], eax
cmp eax, edx
jb 0x1001b44d
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x1001b440
mov cl, byte [esi + 0x48]
mov byte [eax], cl
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], edx
jae 0x1001b430
dec edi
xor ebx, 0xffff
test edi, edi
jne 0x1001b41b
push 0x240
xor ebx, ebx
lea eax, [esi + 0x8192]
push ebx
push eax
call sub.ntdll.dll_memset
push 0x40
lea eax, [esi + 0x83d2]
push ebx
push eax
call sub.ntdll.dll_memset
mov edi, dword [esi + 0x30]
lea eax, [esi + 0x9273]
mov dword [esi + 0x28], eax
lea eax, [esi + 0x9272]
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x3c]
add dword [esi + 0x40], eax
add esp, 0x18
inc dword [esi + 0x64]
sub edi, dword [ebp - 4]
mov dword [esi + 0x38], 8
mov dword [esi + 0x3c], ebx
je 0x1001b519
cmp dword [esi], ebx
je 0x1001b4d6
mov eax, dword [esi + 0x84]
sub eax, dword [esi + 0x70]
mov ecx, dword [esi + 0x78]
mov dword [ecx], eax
push dword [esi + 4]
lea eax, [esi + 0x39272]
push edi
push eax
call dword [esi]
test eax, eax
jne 0x1001b519
or eax, 0xffffffff
mov dword [esi + 0x6c], eax
jmp 0x1001b51c
lea ecx, [esi + 0x39272]
cmp dword [ebp - 4], ecx
jne 0x1001b513
mov edx, dword [esi + 0x7c]
mov eax, dword [esi + 0x8c]
mov ebx, dword [edx]
sub ebx, eax
cmp edi, ebx
jae 0x1001b4f4
mov ebx, edi
push ebx
push ecx
mov ecx, dword [esi + 0x74]
add ecx, eax
push ecx
call fcn.1001a1db
add dword [esi + 0x8c], ebx
sub edi, ebx
je 0x1001b519
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], edi
jmp 0x1001b519
add dword [esi + 0x8c], edi
mov eax, dword [esi + 0x5c]
pop edi
pop esi
pop ebx
leave
ret 4