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

Disassembly:
push edi
push ebx
push ebp
lea esp, [esp - 0x27c]
mov eax, dword [0x102f8be4]
mov edi, dword [esp + 0x28c]
xor eax, esp
mov dword [esp + 0x278], eax
test edi, edi
mov ebp, dword [esp + 0x290]
mov ebx, dword [esp + 0x294]
je 0x100b3f84
test ebp, ebp
je 0x100b3f52
test ebx, ebx
jle 0x100b3f20
cmp dword [esp + 0x294], 2
jge 0x100b39dd
xor eax, eax
mov dword [ebp], eax
mov ecx, dword [esp + 0x278]
mov dword [esp + 0x278], eax
xor ecx, esp
cmp ecx, dword [0x102f8be4]
jne 0x100b3e17
lea esp, [esp + 0x27c]
pop ebp
pop ebx
pop edi
ret 0xc
push ebx
push ebp
call fcn.100bc0e0
lea esp, [esp + 8]
mov edx, 1
lea ecx, [ebx*4]
mov dword [esp + 0x18], edx
lea eax, [ecx + edi]
add ecx, ebp
add eax, 0xfffffffc
add ecx, 0xfffffffc
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ebp
mov dword [esp], esi
nop dword [eax + eax]
nop dword [eax]
nop dword [eax]
cmp ebx, 9
jg 0x100b3bf5
cmp eax, edi
jbe 0x100b3b86
mov ebp, dword [esp + 0x48]
mov edx, eax
sub edx, edi
lea ebx, [edi + 4]
add edx, 3
xor ecx, ecx
shr edx, 2
lea esi, [ebp + 4]
mov ebp, eax
sub ebp, ebx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], esi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], edi
nop dword [eax + eax]
nop dword [eax]
nop dword [eax]
nop dword [eax]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov ebx, edx
cmp eax, dword [esp + 0x54]
mov ebp, dword [edx]
jb 0x100b3b59
mov esi, dword [esp + 0x58]
lea esi, [esi*4]
neg esi
add esi, dword [esp + 0x34]
add esi, 4
mov edx, esi
shr edx, 3
mov dword [esp + 0x74], edx
test edx, edx
jbe 0x100b3e1c
mov dword [esp + 0x3c], esi
xor edx, edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x54]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax]
mov edi, dword [esi + edx*8]
cmp ebp, dword [esi + edx*8]
jg 0x100b3af6
mov ebp, edi
lea ebx, [edx*8]
lea ecx, [eax + ebx]
add ebx, esi
mov edi, dword [esi + edx*8 + 4]
cmp ebp, dword [esi + edx*8 + 4]
jg 0x100b3b14
mov ebp, edi
lea ebx, [edx*8]
lea ecx, [eax + ebx]
add ebx, esi
add ecx, 4
add ebx, 4
inc edx
cmp edx, dword [esp + 0x74]
jb 0x100b3ae0
add edx, edx
mov esi, dword [esp + 0x3c]
inc edx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x40], edx
dec edx
shr esi, 2
cmp edx, esi
mov edx, dword [esp + 0x40]
jae 0x100b3b59
mov edi, dword [esp + 0x4c]
lea esi, [edx*4]
lea edx, [edi + edx*4 + 4]
cmp ebp, dword [edx - 4]
jg 0x100b3b59
add esi, dword [esp + 0x38]
lea ebx, [edx - 4]
mov ecx, esi
mov ebp, dword [edx - 4]
add ecx, 0xfffffffc
mov esi, dword [esp + 0x44]
mov edx, dword [eax]
mov dword [ebx], edx
mov dword [eax], ebp
add eax, 0xfffffffc
mov ebx, dword [esi]
mov ebp, dword [ecx]
mov dword [ecx], ebx
mov ecx, dword [esp + 0x58]
inc ecx
add dword [esp + 0x44], 0xfffffffc
mov dword [esi], ebp
mov dword [esp + 0x58], ecx
cmp ecx, dword [esp + 0x50]
jb 0x100b3a80
mov edx, dword [esp + 0x18]
mov eax, dword [esp + edx*4 + 0x78]
dec edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x18], edx
mov ecx, dword [esp + edx*4 + 0x1f8]
mov eax, dword [esp + edx*4 + 0xf8]
mov edi, dword [esp + edx*4 + 0x178]
mov dword [esp + 0x48], ecx
mov ebx, eax
sub ebx, edi
sar ebx, 2
inc ebx
cmp dword [esp + 0x18], 0
jne 0x100b3a20
mov ecx, dword [esp + 0x278]
mov dword [esp + 0x278], 0
xor ecx, esp
mov esi, dword [esp]
cmp ecx, dword [0x102f8be4]
jne 0x100b3e17
xor eax, eax
lea esp, [esp + 0x27c]
pop ebp
pop ebx
pop edi
ret 0xc
mov edx, dword [esp + 0x48]
mov ebp, dword [edi]
mov esi, dword [edi + 4]
mov ecx, dword [edx]
mov edx, ebp
cmp ebp, dword [edi + 4]
jge 0x100b3c17
mov esi, dword [esp + 0x48]
mov edx, dword [esi + 4]
mov dword [esi], edx
mov esi, dword [edi + 4]
mov edx, esi
mov dword [edi], esi
cmp ebp, esi
jge 0x100b3c27
mov edx, dword [esp + 0x48]
mov dword [edx + 4], ecx
mov dword [edi + 4], ebp
mov edx, dword [edi]
sar ebx, 1
mov ecx, ebx
shl ecx, 2
mov esi, dword [esp + 0x48]
add esi, ecx
mov dword [esp + 0xc], esi
mov ebp, dword [edi + ecx]
mov dword [esp + 4], ebp
cmp edx, dword [edi + ecx]
jle 0x100b3c4f
mov ebp, esi
mov esi, dword [esp + 0x48]
mov ecx, dword [edi + ecx]
jmp 0x100b3c59
mov ebp, dword [esp + 0x48]
mov ecx, edx
mov edx, dword [esp + 4]
mov ebp, dword [ebp]
mov esi, dword [esi]
mov dword [esp + 0x14], ebp
mov dword [esp + 8], esi
mov ebp, dword [eax]
cmp ecx, dword [eax]
jle 0x100b3c7b
mov dword [edi], ebp
mov ebp, dword [esp + 0x44]
mov esi, dword [ebp]
mov dword [esp + 0x10], esi
jmp 0x100b3c85
mov ebp, dword [esp + 0x14]
mov dword [edi], ecx
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x48]
mov ebp, dword [esp + 0x10]
mov dword [esi], ebp
cmp ecx, dword [eax]
jg 0x100b3ca0
mov ebp, dword [esp + 0x44]
mov ecx, dword [eax]
mov esi, dword [ebp]
mov dword [esp + 0x14], esi
cmp ecx, edx
jl 0x100b3cb6
mov ebp, dword [esp + 0xc]
mov dword [edi + ebx*4], edx
mov edx, dword [esp + 8]
mov dword [ebp], edx
mov dword [eax], ecx
jmp 0x100b3cce
mov ebp, dword [esp + 0xc]
mov dword [edi + ebx*4], ecx
mov ecx, dword [esp + 0x14]
mov dword [ebp], ecx
mov dword [eax], edx
mov edx, dword [esp + 8]
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x44]
mov esi, eax
mov edx, dword [esp + 0x48]
mov ebp, dword [esp + 0x14]
mov dword [ecx], ebp
lea ebp, [edi + 4]
mov dword [esp + 0x5c], ecx
lea edx, [edx + 4]
mov ecx, dword [edi + ebx*4]
mov dword [esp + 0x60], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], edi
jmp 0x100b3d20
mov eax, dword [esi]
mov ebx, dword [ebp]
mov dword [ebp], eax
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
mov dword [esi], ebx
mov edi, dword [edx]
mov ebx, dword [eax]
mov dword [eax], edi
mov dword [edx], ebx
nop dword [eax + eax]
nop dword [eax + eax]
mov edx, dword [esp + 0x60]
mov ebx, ebp
mov edi, dword [esp + 0x5c]
cmp esi, ebp
mov dword [esp + 0x64], esi
jbe 0x100b3e0e
mov eax, esi
sub eax, ebp
add eax, 3
shr eax, 2
mov dword [esp + 0x6c], eax
cmp ecx, dword [ebp]
jl 0x100b3db2
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov eax, ebp
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x68], ebx
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax + eax]
add esi, edx
mov ebp, eax
mov ebx, esi
inc edi
add ebp, 4
add ebx, 4
cmp edi, dword [esp + 0x6c]
jae 0x100b3da2
mov esi, edi
shl esi, 2
mov eax, dword [esp + 0x68]
add eax, esi
cmp ecx, dword [eax]
jge 0x100b3d80
mov dword [esp + 0x60], ebx
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
cmp esi, ebp
jbe 0x100b3e0e
mov edx, esi
xor eax, eax
sub edx, ebp
add edx, 3
shr edx, 2
cmp ecx, dword [esi]
jge 0x100b3e0e
mov dword [esp + 0x70], edx
xor ebx, ebx
mov dword [esp + 0x2c], ebp
nop dword [eax + eax]
nop dword [eax]
nop dword [eax + eax]
neg ebx
mov edx, esi
add ebx, edi
inc eax
mov ebp, ebx
add edx, 0xfffffffc
add ebp, 0xfffffffc
cmp eax, dword [esp + 0x70]
jae 0x100b3e04
mov ebx, eax
shl ebx, 2
mov esi, dword [esp + 0x64]
sub esi, ebx
cmp ecx, dword [esi]
jl 0x100b3de0
mov dword [esp + 0x5c], ebp
mov esi, edx
mov ebp, dword [esp + 0x2c]
cmp ebp, esi
je 0x100b3e26
jmp 0x100b3cf9
call fcn.1025d860
mov edx, 1
jmp 0x100b3b26
mov edx, dword [esp + 0x60]
lea ebx, [ebp - 4]
add edx, 0xfffffffc
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x4c]
cmp ecx, dword [ebp - 4]
jne 0x100b3e7e
cmp ebx, edi
jbe 0x100b3e7e
mov dword [esp + 0x28], esi
mov ebp, 1
mov dword [esp + 0x30], eax
mov eax, edx
mov esi, ebx
nop dword [eax]
nop dword [eax]
mov edx, ebp
mov ebx, esi
shl edx, 2
sub ebx, edx
neg edx
add edx, eax
cmp ecx, dword [ebx]
jne 0x100b3e76
inc ebp
cmp ebx, edi
ja 0x100b3e60
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
mov ecx, ebx
mov ebp, eax
sub ecx, edi
sub ebp, esi
sar ecx, 2
sar ebp, 2
cmp ecx, ebp
jge 0x100b3eda
cmp ebx, edi
je 0x100b3ecb
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x5c]
mov dword [esp + ecx*4 + 0x178], esi
mov dword [esp + ecx*4 + 0x1f8], ebp
mov dword [esp + ecx*4 + 0xf8], eax
lea ecx, [ecx + 1]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x44], edx
mov dword [esp + ecx*4 + 0x78], eax
mov eax, ebx
jmp 0x100b3bb0
mov edx, dword [esp + 0x5c]
mov edi, esi
mov dword [esp + 0x48], edx
jmp 0x100b3bb0
cmp esi, eax
je 0x100b3f15
mov ecx, dword [esp + 0x18]
mov dword [esp + ecx*4 + 0x178], edi
mov edi, dword [esp + 0x48]
mov dword [esp + ecx*4 + 0x1f8], edi
mov edi, esi
mov dword [esp + ecx*4 + 0xf8], ebx
lea ecx, [ecx + 1]
mov dword [esp + 0x18], ecx
mov dword [esp + ecx*4 + 0x78], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x48], edx
jmp 0x100b3bb0
mov dword [esp + 0x44], edx
mov eax, ebx
jmp 0x100b3bb0
mov ecx, dword [esp + 0x278]
mov dword [esp + 0x278], 0
xor ecx, esp
cmp ecx, dword [0x102f8be4]
jne 0x100b3e17
mov eax, 0xfffffffa
lea esp, [esp + 0x27c]
pop ebp
pop ebx
pop edi
ret 0xc
mov ecx, dword [esp + 0x278]
mov dword [esp + 0x278], 0
xor ecx, esp
cmp ecx, dword [0x102f8be4]
jne 0x100b3e17
mov eax, 0xfffffff8
lea esp, [esp + 0x27c]
pop ebp
pop ebx
pop edi
ret 0xc
mov ecx, dword [esp + 0x278]
mov dword [esp + 0x278], 0
xor ecx, esp
cmp ecx, dword [0x102f8be4]
jne 0x100b3e17
jmp 0x100b3f72