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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x70]
push edi
xor edi, edi
cmp eax, edi
je 0x100d701d
push eax
call fcn.1008e660
add esp, 4
mov edx, dword [esi + 0x18]
mov dword [esi + 0x70], edi
cmp edx, edi
je 0x100d720f
mov ebx, dword [esi + 0x1c]
cmp ebx, edi
je 0x100d720f
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi + 0x7c]
sar edi, 3
and edi, 7
sub eax, edi
mov dword [esi + 0x84], eax
mov eax, dword [esi + 0x80]
sar ecx, 3
and ecx, 7
sub eax, ecx
mov dword [esi + 0x88], eax
mov eax, dword [esi + 0x5c]
add eax, 7
and eax, 0xfffffff8
add ebx, ecx
add edx, edi
add eax, 0x20
cmp dword [esi + 0x3c], 0
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], ecx
mov dword [ebp - 0x10], ebx
je 0x100d709f
sub dword [esi + 0x84], eax
add edi, eax
add ecx, eax
sub dword [esi + 0x88], eax
lea edx, [edx + eax*2]
mov dword [ebp - 0xc], edx
lea ebx, [ebx + eax*2]
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], ecx
lea ecx, [edx + 7]
lea eax, [ebx + 7]
sar eax, 3
inc eax
sar ecx, 3
inc ecx
mov dword [esi + 0x78], eax
imul eax, ecx
add eax, eax
add eax, eax
push eax
mov dword [esi + 0x74], ecx
call fcn.1008e66b
mov ecx, dword [esi + 0x78]
imul ecx, dword [esi + 0x74]
add ecx, ecx
add ecx, ecx
push ecx
push 0
push eax
mov dword [esi + 0x70], eax
call fcn.100a7150
lea edx, [esi + 0x20]
add esp, 0x10
mov dword [ebp - 0x1c], edx
lea eax, [esi + 0x34]
xor edx, edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 8], edx
jmp 0x100d70f0
mov ecx, dword [ebp + edx*4 - 0x1c]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x100d71a5
add eax, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], ecx
jmp 0x100d7110
mov ecx, dword [eax - 4]
mov edx, dword [eax + 4]
lea edx, [edx + edi - 0x40000000]
lea ebx, [ecx + edi - 0x40000000]
mov dword [ebp - 0xc], edx
cmp edx, ebx
jle 0x100d7193
mov eax, dword [eax]
mov edi, dword [ebp + 0xc]
lea eax, [eax + edi - 0x40000000]
mov edi, dword [ebp - 8]
sar eax, 3
imul eax, dword [esi + 0x74]
mov ecx, ebx
sar ecx, 3
add eax, ecx
dec edx
sar edx, 3
lea eax, [edi + eax*4]
add eax, dword [esi + 0x70]
mov dword [ebp - 0x14], edx
cmp ecx, edx
je 0x100d7186
mov dl, cl
add dl, dl
add dl, dl
add dl, dl
sub dl, bl
mov ebx, dword [ebp - 0x14]
add dl, 8
add byte [eax], dl
inc ecx
add eax, 4
cmp ecx, ebx
jge 0x100d7180
mov edx, ebx
sub edx, ecx
add byte [eax], 8
add eax, 4
dec edx
jne 0x100d7177
add bl, bl
add bl, bl
add bl, bl
mov cl, byte [ebp - 0xc]
mov edi, dword [ebp + 8]
sub cl, bl
add byte [eax], cl
mov eax, dword [ebp - 4]
add eax, 0x10
dec dword [ebp - 0x10]
mov dword [ebp - 4], eax
jne 0x100d7110
mov edx, dword [ebp - 8]
inc edx
mov dword [ebp - 8], edx
cmp edx, 2
jb 0x100d70f0
cmp dword [esi + 0x3c], 0
je 0x100d7215
cmp dword [esi + 0x78], 0
mov ebx, dword [esi + 0x70]
mov dword [ebp + 8], 0
jle 0x100d7215
xor edi, edi
cmp dword [esi + 0x74], edi
jle 0x100d71f2
lea eax, [ebx + 1]
movzx edx, byte [eax - 1]
mov ecx, 0x40
sub ecx, edx
movzx edx, byte [eax]
cmp edx, ecx
jge 0x100d71e6
mov ecx, edx
mov byte [eax + 1], cl
inc edi
add eax, 4
cmp edi, dword [esi + 0x74]
jl 0x100d71d2
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x74]
inc eax
mov dword [ebp + 8], eax
lea ebx, [ebx + ecx*4]
cmp eax, dword [esi + 0x78]
jl 0x100d71c8
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [esi + 0x78], edi
mov dword [esi + 0x74], edi
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8