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

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x40]
test eax, eax
je 0x100b1ec5
mov al, byte [esi + 0x25]
test al, al
je 0x100b1ec5
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x54]
mov ebx, dword [esi + 0x78]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], 0
lea edi, [esi + 0x58]
mov edx, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
lea eax, [esi + 0x3c]
cmp edx, ecx
jne 0x100b1ca8
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x100b1ca8
mov ecx, dword [esp + 0x40]
mov dword [eax], 0
push eax
mov eax, dword [esi + 0x2c]
push eax
mov eax, dword [esi + 0x40]
mov dword [esi + 0x38], 0
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x74]
mov ecx, dword [esi + 0x28]
mov ebp, dword [esi + 0x78]
mov edx, eax
sub edx, ebx
cmp edx, ecx
jbe 0x100b1cbc
lea eax, [ecx + ebx]
sub eax, ebp
mov dword [esp + 0x20], 0
mov edx, eax
mov al, byte [esi + 0x26]
test al, al
mov dword [esp + 0x28], edx
je 0x100b1d07
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x58]
mov ebx, dword [esi + 0x5c]
lea edi, [esi + 0x58]
sub eax, ecx
mov ecx, dword [esi + 0x4c]
sbb ecx, ebx
xor ebx, ebx
cmp ebx, ecx
jb 0x100b1d07
ja 0x100b1cf2
cmp edx, eax
jb 0x100b1d07
mov edx, eax
mov al, byte [esi + 0x24]
test al, al
mov dword [esp + 0x28], edx
je 0x100b1d07
mov dword [esp + 0x20], 1
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
sub ecx, eax
mov ebx, dword [esi + 0x40]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x24]
push ecx
lea ecx, [esp + 0x2c]
add eax, ebx
push ecx
push eax
add edx, ebp
lea ecx, [esi + 0x60]
call fcn.100ceb30
mov edx, dword [esp + 0x1c]
mov ebx, dword [esi + 0x38]
mov ecx, dword [esi + 0x50]
mov dword [esi + 0x34], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x20], eax
add ebx, edx
add ecx, edx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x50], ecx
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x78]
mov ebx, 0
adc eax, ebx
mov dword [esi + 0x54], eax
mov eax, ecx
sub eax, ebp
mov ebp, dword [edi]
add ebp, eax
mov dword [edi], ebp
mov ebp, dword [edi + 4]
adc ebp, ebx
cmp byte [esi + 0x26], bl
mov dword [edi + 4], ebp
je 0x100b1d97
mov ebx, dword [esi + 0x5c]
mov ebp, dword [esi + 0x4c]
lea edi, [esi + 0x58]
cmp ebx, ebp
jb 0x100b1d97
ja 0x100b1d90
mov ebx, dword [edi]
mov ebp, dword [esi + 0x48]
cmp ebx, ebp
jb 0x100b1d97
mov byte [esp + 0x12], 1
jmp 0x100b1d9c
mov byte [esp + 0x12], 0
mov ebx, dword [esp + 0x20]
test ebx, ebx
jne 0x100b1e0e
test edx, edx
jne 0x100b1dac
test eax, eax
je 0x100b1e0e
mov ebp, dword [esp + 0x1c]
cmp ebp, 1
je 0x100b1e0e
mov dl, byte [esp + 0x12]
test dl, dl
je 0x100b1dc2
cmp ebp, 3
jne 0x100b1e0e
mov edx, dword [esp + 0x28]
mov byte [esp + 0x13], 0
cmp eax, edx
jb 0x100b1e15
mov eax, dword [esp + 0x18]
mov edx, dword [esi + 0x70]
sub ecx, eax
add edx, eax
push ecx
mov ecx, dword [esp + 0x48]
call fcn.1000b6d2
mov ecx, dword [esi + 0x78]
mov edx, dword [esi + 0x74]
cmp ecx, edx
jne 0x100b1df5
mov dword [esi + 0x78], 0
mov ebx, dword [esi + 0x78]
test eax, eax
mov dword [esp + 0x18], ebx
jne 0x100b1eca
mov al, byte [esp + 0x13]
test al, al
jne 0x100b1e57
jmp 0x100b1e19
mov byte [esp + 0x13], 1
jmp 0x100b1dcf
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x100b1c6f
mov edx, dword [esi + 0x50]
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esi + 0x54]
mov edi, dword [esp + 0x30]
sub edx, ebp
sbb ecx, edi
lea edi, [esi + 0x58]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], edx
mov edx, dword [eax]
push edi
push ecx
push eax
call dword [edx + 0xc]
test eax, eax
jne 0x100b1eca
jmp 0x100b1c6f
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x100b1ec5
mov eax, dword [esp + 0x1c]
cmp eax, 1
jne 0x100b1e9e
mov al, byte [esi + 0x24]
test al, al
je 0x100b1e90
mov al, byte [esi + 0x26]
test al, al
je 0x100b1e90
mov edx, dword [esi + 0x48]
mov ecx, dword [esi + 0x58]
lea eax, [esi + 0x58]
add esi, 0x48
cmp edx, ecx
jne 0x100b1ec5
mov ecx, dword [esi + 4]
mov edx, dword [eax + 4]
cmp ecx, edx
jne 0x100b1ec5
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0xc
mov cl, byte [esp + 0x12]
test cl, cl
je 0x100b1ec5
cmp eax, 3
je 0x100b1ec5
mov cl, byte [esi + 0x24]
test cl, cl
je 0x100b1eb7
cmp eax, 4
jne 0x100b1ec5
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0xc
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0xc