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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, eax
mov ecx, dword [esi + 0x188]
push edi
mov edi, dword [esi + 0x18c]
test ecx, ecx
js 0x1000ddf6
mov ebx, dword [ebp + 0xc]
xor edx, edx
lea eax, [ecx + ebx]
div edi
mov dword [esi + 0x188], edx
test ecx, ecx
je 0x1000dc9d
mov eax, dword [ebp + 0xc]
mov ebx, edi
sub ebx, ecx
cmp eax, ebx
jb 0x1000dc5e
mov eax, ebx
push eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ecx + esi + 0xc8]
push ecx
call int.10014988
add esp, 0xc
cmp dword [ebp + 0xc], ebx
jb 0x1000ddf6
lea eax, [esi + 0xc8]
push esi
mov ecx, edi
call fcn.1000db00
mov eax, dword [ebp + 8]
add eax, ebx
add esp, 4
sub dword [ebp + 0xc], ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp + 8], eax
jmp 0x1000dca0
mov eax, dword [ebp + 8]
cmp ebx, edi
jb 0x1000dde1
test al, 7
je 0x1000dcbf
push edi
push eax
lea ebx, [esi + 0xc8]
push ebx
call int.10014988
add esp, 0xc
mov eax, ebx
mov edx, dword [eax]
xor dword [esi], edx
mov ecx, dword [eax + 4]
xor dword [esi + 4], ecx
mov edx, dword [eax + 8]
xor dword [esi + 8], edx
mov ecx, dword [eax + 0xc]
xor dword [esi + 0xc], ecx
mov edx, dword [eax + 0x10]
xor dword [esi + 0x10], edx
mov ecx, dword [eax + 0x14]
xor dword [esi + 0x14], ecx
mov edx, dword [eax + 0x18]
xor dword [esi + 0x18], edx
mov ecx, dword [eax + 0x1c]
xor dword [esi + 0x1c], ecx
mov edx, dword [eax + 0x20]
xor dword [esi + 0x20], edx
mov ecx, dword [eax + 0x24]
xor dword [esi + 0x24], ecx
mov edx, dword [eax + 0x28]
xor dword [esi + 0x28], edx
mov ecx, dword [eax + 0x2c]
xor dword [esi + 0x2c], ecx
mov edx, dword [eax + 0x30]
xor dword [esi + 0x30], edx
mov ecx, dword [eax + 0x34]
xor dword [esi + 0x34], ecx
mov edx, dword [eax + 0x38]
xor dword [esi + 0x38], edx
mov ecx, dword [eax + 0x3c]
xor dword [esi + 0x3c], ecx
mov edx, dword [eax + 0x40]
xor dword [esi + 0x40], edx
mov ecx, dword [eax + 0x44]
xor dword [esi + 0x44], ecx
cmp edi, 0x48
jbe 0x1000ddc3
mov edx, dword [eax + 0x48]
xor dword [esi + 0x48], edx
mov ecx, dword [eax + 0x4c]
xor dword [esi + 0x4c], ecx
mov edx, dword [eax + 0x50]
xor dword [esi + 0x50], edx
mov ecx, dword [eax + 0x54]
xor dword [esi + 0x54], ecx
mov edx, dword [eax + 0x58]
xor dword [esi + 0x58], edx
mov ecx, dword [eax + 0x5c]
xor dword [esi + 0x5c], ecx
mov edx, dword [eax + 0x60]
xor dword [esi + 0x60], edx
mov ecx, dword [eax + 0x64]
xor dword [esi + 0x64], ecx
cmp edi, 0x68
jbe 0x1000ddc3
mov edx, dword [eax + 0x68]
xor dword [esi + 0x68], edx
mov ecx, dword [eax + 0x6c]
xor dword [esi + 0x6c], ecx
mov edx, dword [eax + 0x70]
xor dword [esi + 0x70], edx
mov ecx, dword [eax + 0x74]
xor dword [esi + 0x74], ecx
mov edx, dword [eax + 0x78]
xor dword [esi + 0x78], edx
mov ecx, dword [eax + 0x7c]
xor dword [esi + 0x7c], ecx
mov edx, dword [eax + 0x80]
xor dword [esi + 0x80], edx
mov ecx, dword [eax + 0x84]
xor dword [esi + 0x84], ecx
cmp edi, 0x88
jbe 0x1000ddc3
mov edx, dword [eax + 0x88]
xor dword [esi + 0x88], edx
mov eax, dword [eax + 0x8c]
xor dword [esi + 0x8c], eax
call fcn.1000d780
mov eax, dword [ebp + 0xc]
add dword [ebp + 8], edi
sub eax, edi
mov dword [ebp + 0xc], eax
cmp eax, edi
mov eax, dword [ebp + 8]
jae 0x1000dca8
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x1000ddf6
push ebx
push eax
add esi, 0xc8
push esi
call int.10014988
add esp, 0xc
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret