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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x108
mov esi, dword [esp + 0x11c]
mov ebp, ecx
xor edx, edx
mov ebx, dword [ebp + 0x28]
mov al, byte [esi]
mov ecx, dword [esi + 0x14]
mov edi, dword [esi + 0x24]
cmp al, 0x26
cmove edx, ecx
cmp dword [esp + 0x12c], 0xffffffff
cmove edx, ecx
mov ecx, dword [esp + 0x124]
test edi, edi
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x120]
jne 0x1001b0c5
test edx, edx
jne 0x1001b0c5
mov ecx, dword [esp + 0x130]
test ecx, ecx
je 0x1001b3aa
lea eax, [esp + 0x2c]
push esi
push eax
call fcn.1001473e
jmp 0x1001b3be
test edx, edx
mov dword [esp + 0x1c], ebp
je 0x1001b48c
cmp dword [esp + 0x12c], 0xffffffff
mov ecx, dword [edx + 4]
mov edi, dword [edx + 0x38]
mov esi, dword [edx + 0x30]
mov dword [esp + 0x14], edx
sete byte [esp + 0x18]
cmp al, 0x26
lea eax, [ebx + 0x30]
mov dword [esp + 0x48], edi
mov edi, dword [edx + 0x34]
mov dword [esp], esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], eax
mov eax, dword [edx + 8]
setne byte [esp + 0xf]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x34]
sub eax, dword [ebx + 0x30]
lea ebx, [ecx + 4]
mov dword [esp + 0x24], ebx
sar eax, 2
imul eax, eax, 0xeeeeeeef
cmp dword [ecx + 0x18], 0x10
mov dword [esp + 8], eax
jb 0x1001b134
mov eax, dword [esp + 0x24]
mov ebx, dword [eax]
lea esi, [esp + 0xb0]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
push ebx
call fcn.101b1960
add esp, 4
mov ecx, esi
push eax
push ebx
call fcn.100055a8
lea ebp, [esp + 0x68]
xor ebx, ebx
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], ebx
mov ecx, ebp
push esi
call fcn.10005852
mov eax, dword [esp]
cmp dword [esp + 0x48], 1
mov edx, dword [esp + 0x124]
mov ecx, dword [esp + 8]
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x20], edi
lea edi, [esp + 0x90]
sete byte [ebp + 0x24]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], edx
mov dword [edi + 0x10], ecx
mov ecx, dword [esp + 0x20]
push ebp
call fcn.1001d310
mov ecx, edi
call fcn.100034a2
mov ecx, ebp
call fcn.1000419e
mov ecx, esi
call fcn.1000419e
mov esi, dword [esp + 0x1c]
mov dword [edi - 0x24], ebx
sub esi, 0xffffff80
push 0x50
call fcn.10183019
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [edi - 0x28], eax
mov ecx, esi
push ebp
call fcn.1001d7d2
mov ecx, ebp
call fcn.1001bb34
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], 0x101c9d00
mov dword [esp + 0x30], ebx
mov ebp, dword [eax + 4]
mov eax, dword [eax + 8]
cmp ebp, eax
mov dword [esp + 0x10], eax
je 0x1001b396
mov al, byte [esp + 0xf]
lea ebx, [esp + 0x68]
and byte [esp + 0x18], al
mov eax, dword [ebp]
cmp byte [esp + 0x18], 0
mov edi, dword [eax]
mov esi, dword [eax + 4]
je 0x1001b245
mov ecx, esi
push dword [esp + 0x120]
call fcn.100038b2
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x2c], 0
je 0x1001b2e0
mov dword [esp], edi
call fcn.100241ca
mov ebx, dword [esp + 0x28]
mov dword [esp + 0xb0], eax
mov eax, 0xf
lea edi, [esp + 0xb0]
mov dword [esp + 0xc8], eax
mov eax, 0
mov ecx, edi
mov dword [esp + 0xc4], eax
mov byte [esp + 0xb4], al
mov eax, dword [ebx + 0x14]
inc eax
push eax
call fcn.1000ee34
mov ecx, 0xf
mov eax, dword [ebx + 0x14]
mov edx, dword [esp + 0x24]
cmp dword [ebx + 0x18], ecx
mov ebx, 0xf
jbe 0x1001b2b5
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 4]
mov ecx, edi
push eax
push edx
call fcn.1000ef32
xor eax, eax
mov ecx, edi
inc eax
push eax
push 0x101c8f6d
call fcn.1000ef32
mov eax, dword [esi + 0x14]
cmp dword [esi + 0x18], ebx
jbe 0x1001b2fd
mov esi, dword [esi + 4]
mov edi, 0xf
jmp 0x1001b305
mov eax, dword [esi]
mov ecx, ebx
mov dword [esp + 0x68], eax
xor eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
push esi
call fcn.1000f2fa
jmp 0x1001b34c
mov edi, 0xf
add esi, 4
lea ebx, [esp + 0x68]
lea ecx, [esp + 0xb0]
push eax
push esi
call fcn.1000ef32
mov ecx, dword [eax]
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x6c]
movsd xmm0, qword [eax + 0x14]
movsd qword [ecx + 0x10], xmm0
movsd xmm0, qword [eax + 4]
movsd xmm1, qword [eax + 0xc]
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm0
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], edi
mov edi, dword [esp]
mov byte [eax + 4], cl
movzx eax, byte [esp + 0x128]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x2c]
push edx
push dword [esp + 0xc]
push eax
mov esi, dword [esp + 0x10]
push esi
push ebx
push edi
call fcn.1001b05c
mov ecx, edi
call fcn.10019910
add ebp, 4
add esi, eax
cmp dword [esp + 0x10], ebp
mov dword [esp + 4], esi
jne 0x1001b228
mov eax, dword [esp + 0x30]
lea ebx, [eax*4 + 0xc]
and ebx, 0xfffffff0
mov eax, dword [esp + 0x20]
imul ecx, dword [esp + 8], 0x3c
mov eax, dword [eax]
mov dword [eax + ecx + 0x18], ebx
jmp 0x1001b8f4
xor eax, eax
dec eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov byte [esp + 0x38], 0
mov edi, dword [esp + 0x124]
cmp dword [esp + 0x12c], 0
mov dword [esp], ebx
js 0x1001b7de
mov ebx, dword [esp + 0x12c]
movsd xmm0, qword [esp + 0x2c]
movsd xmm1, qword [esp + 0x34]
mov edx, edi
lea edi, [esp + 0xc0]
mov ecx, 0xb
lea eax, [ebx*8]
add eax, dword [ebp + 0x80]
movsd qword [edi - 8], xmm1
movsd qword [edi - 0x10], xmm0
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 0x6c]
lea esi, [esp + 0xb0]
mov ecx, 0xf
mov dword [edi - 4], edx
rep movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov cl, byte [esp + 0x5c]
lea esi, [esp + 0x78]
mov byte [esp + 0xc], cl
lea ecx, [esp + 0xfc]
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], ecx
mov ecx, eax
call fcn.1001cce2
mov edx, dword [esp]
mov eax, dword [ebp + 0x28]
imul edi, ebx, 0x3c
mov ecx, dword [edx + 0x10]
mov eax, dword [eax + 0x30]
sub ecx, dword [edx + 0xc]
sar ecx, 3
imul ecx, ecx, 0x38e38e39
mov dword [esi], ecx
mov ebx, dword [eax + edi + 0x2c]
mov edx, dword [eax + edi + 0x30]
cmp edx, ebx
je 0x1001b7c5
lea eax, [eax + edi + 0x2c]
mov dword [ebx], ecx
add dword [eax], 4
jmp 0x1001b7d0
add ebx, 0x18
xor eax, eax
cmp dword [ecx + 0x18], 0xf
lea ebp, [ecx + 4]
mov dword [esp], ebx
mov dword [esp + 0x14], ebp
jbe 0x1001b4a4
mov ebp, dword [ecx + 4]
lea esi, [esp + 0xb0]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], al
push ebp
call fcn.101b1960
add esp, 4
mov ecx, esi
push eax
push ebp
call fcn.100055a8
lea ebx, [esp + 0x68]
mov ecx, ebx
push dword [esp + 0x124]
push esi
mov eax, dword [esp + 0x124]
mov ebp, eax
push eax
call fcn.10014436
xor eax, eax
mov ecx, dword [esp]
dec eax
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x34], eax
xor eax, eax
mov byte [ebx + 0x44], al
push ebx
call fcn.1001cf36
lea ecx, [esp + 0x90]
call fcn.1001bbe8
lea ecx, [esp + 0x70]
call fcn.1000419e
mov ecx, esi
mov esi, ebp
call fcn.1000419e
mov eax, dword [edi + 8]
mov dword [esp + 0x10], eax
xor eax, eax
cmp byte [ebp + 5], al
je 0x1001b901
cmp dword [esi + 8], 0
mov esi, dword [esp + 0x124]
mov edi, dword [esp + 0x130]
jle 0x1001b8f4
lea ebx, [esp + 0x4c]
mov dword [esp + 8], 0
test edi, edi
je 0x1001b566
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov eax, dword [esp + 0x10]
mov ebp, dword [eax + 4]
mov eax, dword [eax + 8]
cmp ebp, eax
mov dword [esp + 0x18], eax
je 0x1001b795
mov eax, dword [ebp]
mov dword [esp + 4], esi
mov ecx, dword [eax]
mov edi, dword [eax + 4]
mov dword [esp], ecx
push dword [esp + 8]
push 0x101c9cf4
push ebx
call fcn.100143f4
add esp, 0xc
lea ecx, [esp + 0xec]
push ebx
call fcn.10002d7e
call fcn.100241ca
mov esi, dword [esp + 0x120]
mov dword [esp + 0x4c], eax
mov eax, 0xf
mov dword [esp + 0x60], 0
mov ecx, ebx
mov dword [esp + 0x64], eax
mov byte [esp + 0x50], 0
mov eax, dword [esi + 0x14]
inc eax
push eax
call fcn.1000ee34
mov eax, dword [esi + 0x14]
cmp dword [esi + 0x18], 0xf
mov edx, dword [esp + 0x14]
jbe 0x1001b5ec
mov edx, dword [esi + 4]
mov ecx, ebx
push eax
push edx
call fcn.1000ef32
xor eax, eax
mov ecx, ebx
inc eax
push eax
push 0x101c9f3a
call fcn.1000ef32
mov esi, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x100]
mov ecx, dword [esp + 0x104]
mov ebx, esi
sub ebx, edx
cmp eax, ebx
jbe 0x1001b651
mov ebx, ecx
sub ebx, eax
cmp ebx, edx
jb 0x1001b651
cmp esi, 0xf
lea eax, [esp + 0x50]
jbe 0x1001b638
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0xec]
push edx
push eax
push 0
call fcn.1001dbe6
mov ecx, dword [eax]
mov esi, 0xf
jmp 0x1001b676
cmp ecx, 0xf
lea edx, [esp + 0xf0]
mov esi, 0xf
jbe 0x1001b669
mov edx, dword [esp + 0xf0]
lea ecx, [esp + 0x4c]
push eax
push edx
call fcn.1000ef32
mov ecx, dword [eax]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x30]
movsd xmm0, qword [eax + 0x14]
movsd qword [ecx + 0x10], xmm0
movsd xmm0, qword [eax + 4]
movsd xmm1, qword [eax + 0xc]
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm0
xor ebx, ebx
lea ecx, [esp + 0x2c]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], esi
mov byte [eax + 4], bl
push 2
push 0x101c9f37
call fcn.1000ef32
mov ecx, dword [eax]
mov dword [esp + 0xb0], ecx
lea ecx, [esp + 0xb4]
movsd xmm0, qword [eax + 0x14]
movsd qword [ecx + 0x10], xmm0
movsd xmm0, qword [eax + 4]
movsd xmm1, qword [eax + 0xc]
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm0
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], esi
mov byte [eax + 4], bl
mov eax, dword [edi + 0x14]
cmp dword [edi + 0x18], esi
jbe 0x1001b6f9
mov edi, dword [edi + 4]
jmp 0x1001b6fc
add edi, 4
lea ecx, [esp + 0xb0]
push eax
push edi
call fcn.1000ef32
mov ecx, dword [eax]
mov edi, dword [esp + 0x130]
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x6c]
movsd xmm0, qword [eax + 0x14]
movsd qword [ecx + 0x10], xmm0
movsd xmm0, qword [eax + 4]
movsd xmm1, qword [eax + 0xc]
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm0
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], esi
mov byte [eax + 4], cl
mov al, byte [esp + 0x128]
mov ecx, dword [esp + 0x1c]
mov ebx, eax
movzx eax, al
push edi
push dword [esp + 0x130]
push eax
mov esi, dword [esp + 0x10]
push esi
lea eax, [esp + 0x78]
push eax
mov edi, dword [esp + 0x14]
push edi
call fcn.1001b05c
mov ecx, edi
test bl, bl
je 0x1001b77d
call fcn.1001a6e8
jmp 0x1001b782
call fcn.10019910
add ebp, 4
add esi, eax
lea ebx, [esp + 0x4c]
cmp dword [esp + 0x18], ebp
jne 0x1001b57c
mov edi, dword [esp + 0x130]
test edi, edi
je 0x1001b7a7
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x11c]
inc ecx
cmp ecx, dword [eax + 8]
mov dword [esp + 8], ecx
jl 0x1001b55b
jmp 0x1001b8f4
lea ecx, [eax + edi + 0x28]
push esi
push edx
call fcn.100034fe
mov edi, dword [esp + 0x124]
mov esi, dword [esp + 0x11c]
cmp dword [esp + 0x130], 0
je 0x1001b801
mov eax, dword [ebp + 0x28]
mov edi, dword [esp + 0x2c]
imul ecx, dword [esp + 0x12c], 0x3c
mov eax, dword [eax + 0x30]
shr edi, 4
add edi, dword [eax + ecx + 0x34]
mov al, byte [esi]
mov ebx, esi
add al, 0xf1
cmp al, 0x10
mov byte [esp + 4], al
ja 0x1001b83e
cmp byte [esp + 0x128], 0
je 0x1001b83e
mov ecx, ebx
call fcn.10019910
test eax, eax
jle 0x1001b83e
xor esi, esi
mov ecx, dword [ebp + 0x2c]
lea eax, [edi + esi]
push eax
call fcn.101203c0
mov ecx, ebx
inc esi
call fcn.10019910
cmp esi, eax
jl 0x1001b826
cmp byte [esp + 4], 0x11
setb al
xor al, byte [esp + 0x128]
jne 0x1001b8f4
mov ecx, dword [esp]
mov eax, dword [esp + 0x120]
mov ebp, ebx
mov ebx, edi
add ecx, 0xc
cmp dword [eax + 0x18], 0xf
mov dword [esp], ecx
jbe 0x1001b872
mov eax, dword [eax + 4]
jmp 0x1001b875
add eax, 4
lea esi, [esp + 0xb0]
mov edi, eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
push eax
call fcn.101b1960
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.100055a8
lea edi, [esp + 0x68]
mov ecx, edi
push ebx
push esi
push ebp
call fcn.10014436
mov eax, dword [esp + 0x12c]
movsd xmm0, qword [esp + 0x2c]
movsd xmm1, qword [esp + 0x34]
mov ecx, dword [esp]
mov dword [edi + 0x34], eax
movsd qword [edi + 0x38], xmm0
movsd qword [edi + 0x40], xmm1
push edi
call fcn.1001cf36
lea ecx, [esp + 0x90]
call fcn.1001bbe8
lea ecx, [esp + 0x70]
call fcn.1000419e
mov ecx, esi
call fcn.1000419e
add esp, 0x108
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
mov esi, dword [esp + 0x130]
test esi, esi
je 0x1001b913
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [esp + 0x10]
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
cmp ebx, eax
mov dword [esp + 8], eax
je 0x1001ba61
mov eax, dword [ebx]
mov ecx, dword [eax]
mov ebp, dword [eax + 4]
mov dword [esp], ecx
call fcn.100241ca
mov esi, dword [esp + 0x120]
mov dword [esp + 0xb0], eax
mov eax, 0xf
lea edi, [esp + 0xb0]
mov dword [esp + 0xc8], eax
mov eax, 0
mov ecx, edi
mov dword [esp + 0xc4], eax
mov byte [esp + 0xb4], al
mov eax, dword [esi + 0x14]
inc eax
push eax
call fcn.1000ee34
mov ecx, 0xf
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x14]
cmp dword [esi + 0x18], ecx
mov esi, 0xf
jbe 0x1001b998
mov ecx, dword [esp + 0x120]
mov edx, dword [ecx + 4]
mov ecx, edi
push eax
push edx
call fcn.1000ef32
xor eax, eax
mov ecx, edi
inc eax
push eax
push 0x101c8f6d
call fcn.1000ef32
mov eax, dword [ebp + 0x14]
cmp dword [ebp + 0x18], esi
mov ecx, edi
jbe 0x1001b9c0
mov ebp, dword [ebp + 4]
jmp 0x1001b9c3
add ebp, 4
mov edi, dword [esp]
push eax
push ebp
call fcn.1000ef32
mov ecx, dword [eax]
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x6c]
movsd xmm0, qword [eax + 0x14]
movsd qword [ecx + 0x10], xmm0
movsd xmm0, qword [eax + 4]
movsd xmm1, qword [eax + 0xc]
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm0
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], esi
mov byte [eax + 4], cl
mov al, byte [esp + 0x128]
mov ecx, dword [esp + 0x1c]
movzx eax, al
push dword [esp + 0x130]
push dword [esp + 0x130]
push eax
push dword [esp + 0x10]
lea eax, [esp + 0x78]
push eax
push edi
call fcn.1001b05c
cmp byte [esp + 0x128], 0
mov ecx, edi
je 0x1001ba3e
call fcn.1001a6e8
jmp 0x1001ba43
call fcn.10019910
mov ecx, dword [esp + 4]
add ebx, 4
mov esi, dword [esp + 0x130]
add ecx, eax
cmp dword [esp + 8], ebx
mov dword [esp + 4], ecx
jne 0x1001b929
test esi, esi
je 0x1001b8f4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
jmp 0x1001b8f4