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

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
xor ebx, ebx
push edi
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x5c]
cmp eax, ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
ja 0x100bca4f
jb 0x100bc503
mov ecx, dword [esi + 0x78]
mov eax, dword [esi + 0x58]
cmp ecx, eax
jae 0x100bca4f
cmp dword [esi + 0xd8], ebx
jne 0x100bc697
cmp dword [esi + 0xb8], ebx
jne 0x100bc697
cmp word [esi + 0x50], 1
jne 0x100bc5ad
mov eax, dword [esi + 0xc]
lea edx, [esp + 0x18]
push 7
push edx
push eax
call dword [esi]
add esp, 0xc
cmp eax, 7
jne 0x100bca4f
movzx dx, byte [esp + 0x18]
xor ecx, ecx
mov word [esi + 0xbc], dx
mov cx, word [esi + 0x30]
sub ecx, eax
lea eax, [esp + 0x19]
push eax
mov dword [esi + 0xb8], ecx
call fcn.100be4a0
movsx ecx, ax
lea edx, [esp + 0x1f]
mov dword [esi + 0xc0], ecx
push edx
call fcn.100be4a0
movsx eax, ax
lea ecx, [esp + 0x25]
mov dword [esi + 0xe0], eax
push ecx
call fcn.100be4a0
mov edx, dword [esi + 0xe0]
add esp, 0xc
movsx eax, ax
mov dword [esi + 0xdc], eax
mov dword [esi + 0xd0], eax
mov dword [esi + 0xd4], edx
jmp 0x100bc68d
mov ecx, dword [esi + 0xc]
lea eax, [esp + 0x28]
push 0xe
push eax
push ecx
call dword [esi]
add esp, 0xc
cmp eax, 0xe
jne 0x100bca4f
movzx cx, byte [esp + 0x29]
xor edx, edx
mov word [esi + 0xbe], cx
mov dx, word [esi + 0x30]
sub edx, eax
movzx ax, byte [esp + 0x28]
mov dword [esi + 0xb8], edx
lea edx, [esp + 0x2a]
push edx
mov word [esi + 0xbc], ax
call fcn.100be4a0
movsx eax, ax
lea ecx, [esp + 0x30]
mov dword [esi + 0xc0], eax
push ecx
call fcn.100be4a0
movsx edx, ax
lea eax, [esp + 0x36]
mov dword [esi + 0xc4], edx
push eax
call fcn.100be4a0
movsx ecx, ax
lea edx, [esp + 0x3c]
mov dword [esi + 0xe0], ecx
push edx
call fcn.100be4a0
movsx eax, ax
lea ecx, [esp + 0x42]
mov dword [esi + 0xe8], eax
push ecx
call fcn.100be4a0
movsx edx, ax
lea eax, [esp + 0x48]
mov dword [esi + 0xdc], edx
push eax
call fcn.100be4a0
mov ecx, dword [esi + 0xdc]
mov edx, dword [esi + 0xe0]
movsx eax, ax
mov dword [esi + 0xe4], eax
mov dword [esi + 0xcc], eax
mov eax, dword [esi + 0xe8]
add esp, 0x18
mov dword [esi + 0xc8], ecx
mov dword [esi + 0xd0], edx
mov dword [esi + 0xd4], eax
mov dword [esi + 0xd8], 2
mov edi, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
cmp edi, ebx
ja 0x100bc6ab
cmp ebp, ebx
jbe 0x100bc777
cmp dword [esi + 0xd8], ebx
jbe 0x100bc76f
mov ecx, dword [esi + 0x7c]
mov eax, dword [esi + 0x5c]
cmp ecx, eax
ja 0x100bc76f
jb 0x100bc6d5
mov edx, dword [esi + 0x78]
mov eax, dword [esi + 0x58]
cmp edx, eax
jae 0x100bc76f
mov edx, dword [esp + 0x48]
cmp edx, ebx
je 0x100bc721
xor eax, eax
xor ecx, ecx
mov ax, word [esi + 0x50]
cmp eax, ebx
jbe 0x100bc714
imul eax, dword [esi + 0xd8]
mov ebx, ecx
add edx, 2
sub ebx, eax
inc ecx
mov ax, word [esi + ebx*4 + 0xd8]
mov word [edx - 2], ax
xor eax, eax
mov ax, word [esi + 0x50]
cmp ecx, eax
jb 0x100bc6e9
mov edx, dword [esp + 0x48]
xor ebx, ebx
xor ecx, ecx
mov cx, word [esi + 0x50]
lea edx, [edx + ecx*2]
mov dword [esp + 0x48], edx
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
add ebp, 0xffffffff
mov eax, 1
adc edi, 0xffffffff
add ecx, eax
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x78]
adc edx, ebx
add ecx, eax
mov dword [esp + 0x24], edx
mov dword [esi + 0x78], ecx
mov edx, dword [esi + 0x7c]
mov ecx, dword [esi + 0xd8]
adc edx, ebx
dec ecx
cmp edi, ebx
mov dword [esi + 0x7c], edx
mov dword [esi + 0xd8], ecx
ja 0x100bc6ab
jb 0x100bc76f
cmp ebp, ebx
ja 0x100bc6ab
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebp
or ebp, edi
je 0x100bca4f
cmp dword [esi + 0xd8], ebx
jne 0x100bca31
cmp dword [esi + 0xb8], ebx
je 0x100bca31
mov ecx, dword [esi + 0xc]
lea eax, [esp + 0x14]
push 1
push eax
push ecx
call dword [esi]
add esp, 0xc
cmp eax, 1
jne 0x100bca4f
mov ecx, dword [esp + 0x14]
mov ebp, dword [esi + 0xb8]
mov eax, ecx
dec ebp
and eax, 0xff
mov dword [esi + 0xb8], ebp
mov ebp, eax
shr ebp, 4
test cl, 0x80
mov edi, ebp
je 0x100bc7d7
or edi, 0xfffffff0
and eax, 0xf
test cl, 8
mov dword [esp + 0x10], eax
mov dword [esp + 0x3c], eax
je 0x100bc7ee
or eax, 0xfffffff0
mov dword [esp + 0x3c], eax
cmp word [esi + 0x50], 1
jne 0x100bc90d
mov ecx, dword [esi + 0xe0]
xor edx, edx
mov dx, word [esi + 0xbc]
mov ebx, dword [esi + 0xc0]
shl edx, 2
mov eax, dword [edx + 0x10112658]
imul ecx, dword [edx + 0x1011263c]
imul eax, dword [esi + 0xdc]
add ecx, eax
mov eax, ebx
imul eax, edi
sar ecx, 8
add ecx, eax
cmp ecx, 0x7fff
jg 0x100bc848
cmp ecx, 0xffff8000
jge 0x100bc84d
mov ecx, 0xffff8000
jmp 0x100bc84d
mov ecx, 0x7fff
mov eax, dword [ebp*4 + 0x101125fc]
imul eax, ebx
sar eax, 8
mov ebx, 0x10
mov dword [esi + 0xc0], eax
cmp eax, ebx
jge 0x100bc86f
mov dword [esi + 0xc0], ebx
mov eax, dword [esi + 0xe0]
mov dword [esi + 0xe0], ecx
mov dword [esi + 0xdc], eax
mov eax, ecx
imul eax, dword [edx + 0x1011263c]
mov edx, dword [edx + 0x10112658]
mov edi, dword [esi + 0xc0]
imul edx, dword [esi + 0xdc]
add eax, edx
mov edx, edi
imul edx, dword [esp + 0x3c]
sar eax, 8
add eax, edx
cmp eax, 0x7fff
jg 0x100bc8c0
cmp eax, 0xffff8000
jge 0x100bc8c5
mov eax, 0xffff8000
jmp 0x100bc8c5
mov eax, 0x7fff
mov edx, dword [esp + 0x10]
mov edx, dword [edx*4 + 0x101125fc]
imul edx, edi
sar edx, 8
cmp edx, ebx
mov dword [esi + 0xc0], edx
jge 0x100bc8e6
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xdc], ecx
mov dword [esi + 0xe0], eax
mov dword [esi + 0xd0], ecx
mov dword [esi + 0xd4], eax
mov dword [esi + 0xd8], 2
jmp 0x100bca2f
xor eax, eax
mov edx, dword [esi + 0xe0]
mov ax, word [esi + 0xbc]
mov ebx, dword [esi + 0xc0]
shl eax, 2
mov ecx, dword [eax + 0x10112658]
mov eax, dword [eax + 0x1011263c]
imul ecx, dword [esi + 0xdc]
imul eax, edx
add ecx, eax
mov eax, ebx
imul eax, edi
sar ecx, 8
add ecx, eax
cmp ecx, 0x7fff
jg 0x100bc95e
cmp ecx, 0xffff8000
jge 0x100bc963
mov ecx, 0xffff8000
jmp 0x100bc963
mov ecx, 0x7fff
mov eax, dword [ebp*4 + 0x101125fc]
imul eax, ebx
sar eax, 8
cmp eax, 0x10
mov dword [esi + 0xc0], eax
jge 0x100bc985
mov dword [esi + 0xc0], 0x10
mov dword [esi + 0xdc], edx
xor edx, edx
mov dx, word [esi + 0xbe]
mov ebx, dword [esi + 0xe8]
shl edx, 2
mov dword [esi + 0xe0], ecx
mov edi, dword [esi + 0xc4]
mov eax, dword [edx + 0x10112658]
mov edx, dword [edx + 0x1011263c]
imul eax, dword [esi + 0xe4]
imul edx, ebx
add eax, edx
mov edx, edi
imul edx, dword [esp + 0x3c]
sar eax, 8
add eax, edx
cmp eax, 0x7fff
jg 0x100bc9e2
cmp eax, 0xffff8000
jge 0x100bc9e7
mov eax, 0xffff8000
jmp 0x100bc9e7
mov eax, 0x7fff
mov edx, dword [esp + 0x10]
mov edx, dword [edx*4 + 0x101125fc]
imul edx, edi
sar edx, 8
cmp edx, 0x10
mov dword [esi + 0xc4], edx
jge 0x100bca0d
mov dword [esi + 0xc4], 0x10
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xe8], eax
mov dword [esi + 0xd0], ecx
mov dword [esi + 0xd4], eax
mov dword [esi + 0xd8], 1
xor ebx, ebx
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x5c]
cmp eax, ecx
jb 0x100bc503
ja 0x100bca4f
mov ecx, dword [esi + 0x78]
mov eax, dword [esi + 0x58]
cmp ecx, eax
jb 0x100bc503
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret