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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
xor eax, eax
cdq
xor eax, edx
sub eax, edx
push ebx
push esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
push edi
mov edi, dword [ebp + 0x14]
lea eax, [esp + 0x18]
mov esi, 1
mov dword [esp + 0x64], eax
lea eax, [esp + 0x5c]
mov ecx, edi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
call fcn.100bd940
test eax, eax
jne 0x100be2bc
lea eax, [esi - 0xd]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor ebx, ebx
mov eax, edi
mov edi, dword [ebp + 0x10]
mov ecx, edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
call fcn.100bd8b0
test eax, eax
jns 0x100be34a
mov esi, dword [ebp + 8]
cmp esi, ebx
je 0x100be327
push ebx
call fcn.100bcf90
mov edi, eax
add esp, 4
cmp edi, ebx
jne 0x100be798
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x100be341
push edi
call fcn.100bcc20
mov edi, eax
add esp, 4
cmp edi, ebx
jne 0x100be798
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
lea eax, [esp + 0x30]
call fcn.100bcc20
mov edi, eax
add esp, 4
cmp edi, ebx
jne 0x100be798
mov ecx, dword [ebp + 0x14]
push ecx
lea eax, [esp + 0x3c]
call fcn.100bcc20
mov edi, eax
add esp, 4
cmp edi, ebx
jne 0x100be798
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 4]
add eax, 2
mov dword [esp + 0x38], esi
mov dword [esp + 0x2c], esi
cmp eax, 0x2710
jbe 0x100be39d
mov edi, 0xfffffff0
jmp 0x100be798
push eax
lea esi, [esp + 0x54]
call fcn.100bcaf0
mov edi, eax
add esp, 4
cmp edi, ebx
jne 0x100be798
push ebx
call fcn.100bcf90
mov edi, eax
add esp, 4
cmp edi, ebx
jne 0x100be798
push 2
lea esi, [esp + 0x48]
call fcn.100bcaf0
mov edi, eax
add esp, 4
cmp edi, ebx
jne 0x100be798
push 3
lea esi, [esp + 0x60]
call fcn.100bcaf0
mov edi, eax
add esp, 4
cmp edi, ebx
jne 0x100be798
lea eax, [esp + 0x38]
call fcn.100bd1c0
and eax, 0x1f
cmp eax, 0x1f
jae 0x100be443
mov ebx, 0x1f
sub ebx, eax
push ebx
lea esi, [esp + 0x30]
mov dword [esp + 0x1c], ebx
call fcn.100bd680
mov edi, eax
add esp, 4
test edi, edi
jne 0x100be798
push ebx
lea esi, [esp + 0x3c]
call fcn.100bd680
mov edi, eax
add esp, 4
test edi, edi
jne 0x100be798
jmp 0x100be447
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x3c]
dec eax
dec ebx
mov dword [esp + 0xc], ebx
sub ebx, eax
mov dword [esp + 0x14], eax
mov eax, ebx
shl eax, 5
push eax
lea esi, [esp + 0x3c]
mov dword [esp + 0x14], eax
call fcn.100bd680
mov edi, eax
add esp, 4
test edi, edi
jne 0x100be798
mov eax, esi
lea ecx, [esp + 0x2c]
call fcn.100bd940
test eax, eax
js 0x100be4c1
lea ebx, [ebx]
mov eax, dword [esp + 0x58]
inc dword [eax + ebx*4]
lea eax, [esp + 0x2c]
push eax
lea esi, [esp + 0x3c]
call fcn.100bdd60
mov edi, eax
add esp, 4
test edi, edi
jne 0x100be798
mov eax, esi
lea ecx, [esp + 0x2c]
call fcn.100bd940
test eax, eax
jns 0x100be490
mov esi, dword [esp + 0x10]
mov eax, esi
lea ecx, [esp + 0x38]
call fcn.100bd7d0
mov edi, eax
test edi, edi
jne 0x100be798
mov edx, dword [esp + 0xc]
mov dword [esp + 0xc], edx
cmp edx, dword [esp + 0x14]
jbe 0x100be709
mov ecx, dword [esp + 0x58]
add esi, 0xffffffe0
mov dword [esp + 0x10], esi
lea ebx, [ecx + ebx*4 - 4]
jmp 0x100be504
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x14]
mov ecx, dword [esi + edx*4]
mov eax, dword [eax + edi*4]
cmp ecx, eax
jb 0x100be522
mov dword [ebx], 0xffffffff
jmp 0x100be551
test eax, eax
je 0x100be54c
cmp ecx, eax
jae 0x100be54c
mov edx, dword [esi + edx*4 - 4]
xor edi, edi
push edi
xor esi, esi
push eax
or esi, ecx
or edx, edi
push esi
push edx
call fcn.1015f730
test edx, edx
jne 0x100be548
cmp eax, 0xffffffff
jbe 0x100be54f
mov dword [esp + 0x24], edi
or eax, 0xffffffff
mov dword [ebx], eax
inc dword [ebx]
dec dword [ebx]
push 0
lea esi, [esp + 0x48]
call fcn.100bcf90
mov edi, eax
add esp, 4
test edi, edi
jne 0x100be798
mov edx, dword [esp + 0x14]
mov esi, 1
cmp edx, esi
jae 0x100be57e
xor ecx, ecx
jmp 0x100be586
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + edx*4 - 4]
mov eax, dword [esp + 0x4c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + edx*4]
mov dword [eax + 4], edx
mov ecx, dword [ebx]
lea eax, [esp + 0x20]
lea edx, [esp + 0x68]
mov dword [esp + 0x70], eax
push edx
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x28], ecx
call fcn.100be040
mov edi, eax
add esp, 8
test edi, edi
jne 0x100be798
push eax
lea esi, [esp + 0x60]
call fcn.100bcf90
mov edi, eax
add esp, 4
test edi, edi
jne 0x100be798
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x34]
cmp eax, 2
jae 0x100be5f0
xor edx, edx
jmp 0x100be5f4
mov edx, dword [esi + eax*4 - 8]
mov ecx, dword [esp + 0x64]
mov dword [ecx], edx
cmp eax, 1
jae 0x100be603
xor edx, edx
jmp 0x100be607
mov edx, dword [esi + eax*4 - 4]
mov dword [ecx + 4], edx
mov edx, dword [esi + eax*4]
mov dword [ecx + 8], edx
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x44]
call fcn.100bd940
test eax, eax
jg 0x100be553
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [ebx]
call fcn.100be230
mov edi, eax
add esp, 8
test edi, edi
jne 0x100be798
mov edx, dword [esp + 0x10]
push edx
lea esi, [esp + 0x48]
call fcn.100bd680
mov edi, eax
add esp, 4
test edi, edi
jne 0x100be798
lea eax, [esp + 0x2c]
push eax
call fcn.100bdd60
mov edi, eax
add esp, 4
test edi, edi
jne 0x100be798
mov ecx, dword [esp + 0x1c]
mov eax, 1
mov dword [esp + 0x20], ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
lea edx, [esp + 0x20]
lea eax, [esp + 0x74]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x7c], edx
call fcn.100bd940
test eax, eax
jns 0x100be6ee
lea eax, [esp + 0x38]
push eax
mov eax, esi
call fcn.100bcc20
mov edi, eax
add esp, 4
test edi, edi
jne 0x100be798
mov ecx, dword [esp + 0x10]
push ecx
call fcn.100bd680
mov edi, eax
add esp, 4
test edi, edi
jne 0x100be798
lea edx, [esp + 0x2c]
push edx
mov eax, edx
call fcn.100bdcf0
mov edi, eax
add esp, 4
test edi, edi
jne 0x100be798
dec dword [ebx]
mov eax, dword [esp + 0xc]
sub dword [esp + 0x10], 0x20
dec eax
sub ebx, 4
mov dword [esp + 0xc], eax
cmp eax, dword [esp + 0x14]
ja 0x100be500
mov esi, dword [ebp + 8]
test esi, esi
je 0x100be732
lea eax, [esp + 0x50]
push eax
mov eax, esi
call fcn.100bcc20
mov edi, eax
add esp, 4
test edi, edi
jne 0x100be798
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov eax, dword [ebp + 0x14]
imul edx, dword [eax]
mov dword [esi], edx
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x100be798
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
call fcn.100bd7d0
mov edi, eax
test edi, edi
jne 0x100be798
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
lea eax, [esp + 0x2c]
push eax
mov eax, esi
mov dword [esp + 0x30], edx
call fcn.100bcc20
mov edi, eax
add esp, 4
test edi, edi
jne 0x100be798
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], ecx
mov ebx, 1
lea edx, [esp + 0x20]
lea eax, [esp + 0x74]
mov ecx, esi
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], edx
call fcn.100bd940
test eax, eax
jne 0x100be798
mov dword [esi], ebx
lea esi, [esp + 0x2c]
call fcn.100bcab0
lea esi, [esp + 0x38]
call fcn.100bcab0
lea esi, [esp + 0x50]
call fcn.100bcab0
lea esi, [esp + 0x44]
call fcn.100bcab0
lea esi, [esp + 0x5c]
call fcn.100bcab0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret