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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x188]
mov ebx, dword [esi + 0x18c]
mov dword [ebp + 8], ecx
test ecx, ecx
js 0x10130ff9
push edi
mov edi, dword [ebp + 0x10]
xor edx, edx
lea eax, [ecx + edi]
div ebx
mov dword [esi + 0x188], edx
test ecx, ecx
je 0x10130e94
mov ecx, ebx
sub ecx, dword [ebp + 8]
cmp edi, ecx
mov dword [ebp + 0x10], ecx
mov eax, ecx
cmovb eax, edi
push eax
push dword [ebp + 0xc]
lea eax, [esi + 0xc8]
add eax, dword [ebp + 8]
push eax
call fcn.101c6b90
add esp, 0xc
cmp edi, dword [ebp + 0x10]
jb 0x10130ff8
push dword [ebp + 0x14]
lea eax, [esi + 0xc8]
push ebx
push eax
push esi
call fcn.10130cf0
mov eax, dword [ebp + 0xc]
add esp, 0x10
add eax, dword [ebp + 0x10]
sub edi, dword [ebp + 0x10]
mov dword [ebp + 0x10], edi
jmp 0x10130e97
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
cmp edi, ebx
jb 0x10130fe3
test al, 7
jne 0x10130eaa
mov edi, eax
jmp 0x10130ebb
push ebx
push eax
lea edi, [esi + 0xc8]
push edi
call fcn.101c6b90
add esp, 0xc
mov eax, dword [edi]
xor dword [esi], eax
mov eax, dword [edi + 4]
xor dword [esi + 4], eax
mov eax, dword [edi + 8]
xor dword [esi + 8], eax
mov eax, dword [edi + 0xc]
xor dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
xor dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
xor dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
xor dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
xor dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
xor dword [esi + 0x20], eax
mov eax, dword [edi + 0x24]
xor dword [esi + 0x24], eax
mov eax, dword [edi + 0x28]
xor dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
xor dword [esi + 0x2c], eax
mov eax, dword [edi + 0x30]
xor dword [esi + 0x30], eax
mov eax, dword [edi + 0x34]
xor dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
xor dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
xor dword [esi + 0x3c], eax
mov eax, dword [edi + 0x40]
xor dword [esi + 0x40], eax
mov eax, dword [edi + 0x44]
xor dword [esi + 0x44], eax
cmp ebx, 0x48
jbe 0x10130fbf
mov eax, dword [edi + 0x48]
xor dword [esi + 0x48], eax
mov eax, dword [edi + 0x4c]
xor dword [esi + 0x4c], eax
mov eax, dword [edi + 0x50]
xor dword [esi + 0x50], eax
mov eax, dword [edi + 0x54]
xor dword [esi + 0x54], eax
mov eax, dword [edi + 0x58]
xor dword [esi + 0x58], eax
mov eax, dword [edi + 0x5c]
xor dword [esi + 0x5c], eax
mov eax, dword [edi + 0x60]
xor dword [esi + 0x60], eax
mov eax, dword [edi + 0x64]
xor dword [esi + 0x64], eax
cmp ebx, 0x68
jbe 0x10130fbf
mov eax, dword [edi + 0x68]
xor dword [esi + 0x68], eax
mov eax, dword [edi + 0x6c]
xor dword [esi + 0x6c], eax
mov eax, dword [edi + 0x70]
xor dword [esi + 0x70], eax
mov eax, dword [edi + 0x74]
xor dword [esi + 0x74], eax
mov eax, dword [edi + 0x78]
xor dword [esi + 0x78], eax
mov eax, dword [edi + 0x7c]
xor dword [esi + 0x7c], eax
mov eax, dword [edi + 0x80]
xor dword [esi + 0x80], eax
mov eax, dword [edi + 0x84]
xor dword [esi + 0x84], eax
cmp ebx, 0x88
jbe 0x10130fbf
mov eax, dword [edi + 0x88]
xor dword [esi + 0x88], eax
mov eax, dword [edi + 0x8c]
xor dword [esi + 0x8c], eax
push dword [ebp + 0x14]
push esi
call fcn.10130950
mov edi, dword [ebp + 0x10]
add esp, 8
mov eax, dword [ebp + 0xc]
sub edi, ebx
add eax, ebx
mov dword [ebp + 0x10], edi
mov dword [ebp + 0xc], eax
cmp edi, ebx
jae 0x10130ea2
test edi, edi
je 0x10130ff8
push edi
push eax
add esi, 0xc8
push esi
call fcn.101c6b90
add esp, 0xc
pop edi
pop esi
pop ebx
pop ebp
ret 0x10