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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x8c
mov eax, dword [esp + 0xa4]
and eax, 3
je 0xdebec9
mov edx, dword [esp + 0xa0]
xor ebx, ebx
mov eax, dword [eax*4 + 0x1314794]
mov esi, dword [esp + 0xa0]
mov dword [esp + 0x28], 0
mov edx, dword [edx + 0x10]
mov ecx, eax
sar ecx, 0x1f
add esi, 0x14
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], 0
mov eax, dword [esi]
mov ecx, dword [esp + 0x14]
imul ecx, eax
mul dword [esp + 0x10]
add eax, dword [esp + 0x28]
lea edx, [ecx + edx]
mov dword [esi], eax
adc edx, dword [esp + 0x2c]
xor ebp, ebp
add esi, 4
add ebx, 1
cmp dword [esp + 0x24], ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ebp
jg 0xdebe68
or ebp, edx
je 0xdebec9
mov eax, dword [esp + 0xa0]
mov ebp, dword [esp + 0x24]
cmp ebp, dword [eax + 8]
jge 0xdec2b9
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0xa0]
mov ecx, dword [esp + 0x28]
mov dword [edx + eax*4 + 0x14], ecx
add eax, 1
mov dword [edx + 0x10], eax
mov edi, dword [esp + 0xa4]
sar edi, 2
test edi, edi
mov dword [esp + 0x80], edi
je 0xdec0aa
mov ebp, dword [0x17a1070]
test ebp, ebp
mov dword [esp + 0x20], ebp
jne 0xdebf14
jmp 0xdec281
sar dword [esp + 0x80], 1
je 0xdec0aa
mov eax, dword [esp + 0x20]
mov ebp, dword [eax]
test ebp, ebp
je 0xdec0bc
mov dword [esp + 0x20], ebp
test byte [esp + 0x80], 1
je 0xdebef5
mov edx, dword [esp + 0xa0]
mov ecx, dword [esp + 0x20]
mov ebx, dword [edx + 0x10]
mov esi, edx
mov edi, dword [ecx + 0x10]
mov dword [esp + 0x84], ecx
cmp ebx, edi
jge 0xdebf4b
mov eax, edi
mov esi, ecx
mov edi, ebx
mov ebx, eax
mov dword [esp + 0x84], edx
lea ebp, [edi + ebx]
xor eax, eax
cmp ebp, dword [esi + 8]
mov dword [esp + 0x34], ebp
setg al
add eax, dword [esi + 4]
mov dword [esp], eax
call fcn.00deb660
test eax, eax
mov dword [esp + 0x1c], eax
je 0xdec271
mov edx, dword [esp + 0x34]
mov ecx, eax
add eax, 0x14
mov dword [esp + 0x70], eax
lea edx, [ecx + edx*4 + 0x14]
cmp eax, edx
mov dword [esp + 0x74], edx
jae 0xdebf9f
lea esi, [esi]
mov dword [eax], 0
add eax, 4
cmp dword [esp + 0x74], eax
ja 0xdebf90
mov ebp, dword [esp + 0x84]
lea ebx, [esi + ebx*4 + 0x14]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x38], ebx
add ebp, 0x14
lea edi, [ecx + edi*4 + 0x14]
cmp ebp, edi
mov dword [esp + 0x3c], edi
jae 0xdec047
add esi, 0x14
mov dword [esp + 0x18], esi
nop
mov eax, dword [ebp]
add ebp, 4
test eax, eax
je 0xdec03a
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x70]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
nop
mov eax, dword [edi]
xor ebx, ebx
mov ecx, dword [esp + 0x64]
imul ecx, eax
mul dword [esp + 0x60]
lea edx, [ecx + edx]
mov ecx, dword [esi]
add ecx, eax
adc ebx, edx
add ecx, dword [esp + 0x40]
adc ebx, dword [esp + 0x44]
xor edx, edx
add edi, 4
mov dword [esi], ecx
add esi, 4
cmp dword [esp + 0x38], edi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], edx
ja 0xdec000
mov dword [esi], ebx
cmp dword [esp + 0x3c], ebp
jbe 0xdec047
add dword [esp + 0x70], 4
jmp 0xdebfd0
mov edi, dword [esp + 0x34]
test edi, edi
jle 0xdec072
mov edx, dword [esp + 0x74]
mov esi, dword [edx - 4]
test esi, esi
je 0xdec06a
jmp 0xdec072
mov eax, dword [edx - 8]
sub edx, 4
test eax, eax
jne 0xdec072
sub dword [esp + 0x34], 1
nop
jne 0xdec060
mov ebp, dword [esp + 0xa0]
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x1c]
cmp dword [ebp + 4], 9
mov dword [edi + 0x10], ecx
jle 0xdec0f1
mov dword [esp], ebp
call fcn.00ded778
mov edi, dword [esp + 0x1c]
sar dword [esp + 0x80], 1
mov dword [esp + 0xa0], edi
jne 0xdebf02
mov eax, dword [esp + 0xa0]
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 1
call fcn.00deb3a0
mov edx, dword [esp + 0x20]
mov ebp, dword [edx]
test ebp, ebp
je 0xdec13a
cmp dword [0x17a0700], 2
jne 0xdebf10
mov dword [esp], 0x17a0728
call sub.KERNEL32.dll_LeaveCriticalSection
sub esp, 4
jmp 0xdebf10
xor eax, eax
call fcn.00deb3a0
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa0]
cmp dword [0x17a0700], 2
mov edx, dword [eax + 4]
mov eax, dword [edx*4 + 0x17a0740]
mov dword [ecx], eax
mov dword [edx*4 + 0x17a0740], ecx
jne 0xdec092
mov dword [esp], 0x17a0710
call sub.KERNEL32.dll_LeaveCriticalSection
sub esp, 4
jmp 0xdec092
mov ebx, dword [edx + 0x10]
xor eax, eax
lea ecx, [ebx + ebx]
cmp ecx, dword [edx + 8]
mov dword [esp + 0x48], ecx
setg al
add eax, dword [edx + 4]
mov dword [esp], eax
call fcn.00deb660
test eax, eax
mov ebp, eax
je 0xdec267
lea edi, [eax + 0x14]
lea eax, [eax + ebx*8 + 0x14]
cmp edi, eax
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], eax
jae 0xdec185
mov eax, edi
mov dword [eax], 0
add eax, 4
cmp dword [esp + 0x6c], eax
ja 0xdec176
mov edx, dword [esp + 0x20]
lea ebx, [edx + ebx*4 + 0x14]
add edx, 0x14
cmp ebx, edx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x78], edx
jbe 0xdec226
mov dword [esp + 0x7c], edx
mov ecx, edx
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x7c], ecx
test eax, eax
je 0xdec211
mov edi, dword [esp + 0x78]
mov esi, dword [esp + 0x68]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov eax, dword [edi]
xor ebx, ebx
mov ecx, dword [esp + 0x5c]
imul ecx, eax
mul dword [esp + 0x58]
lea edx, [ecx + edx]
mov ecx, dword [esi]
add ecx, eax
adc ebx, edx
add ecx, dword [esp + 0x50]
adc ebx, dword [esp + 0x54]
xor edx, edx
add edi, 4
mov dword [esi], ecx
add esi, 4
cmp dword [esp + 0x4c], edi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], edx
ja 0xdec1d7
mov dword [esi], ebx
mov edx, dword [esp + 0x7c]
cmp dword [esp + 0x4c], edx
jbe 0xdec226
add dword [esp + 0x68], 4
mov ecx, dword [esp + 0x7c]
jmp 0xdec1a6
mov esi, dword [esp + 0x48]
test esi, esi
jle 0xdec24e
mov ecx, dword [esp + 0x6c]
mov ebx, dword [ecx - 4]
test ebx, ebx
jne 0xdec24e
mov edx, ecx
jmp 0xdec247
mov eax, dword [edx - 8]
sub edx, 4
test eax, eax
jne 0xdec24e
sub dword [esp + 0x48], 1
jne 0xdec23d
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x20]
mov dword [ebp + 0x10], edi
mov dword [eax], ebp
mov dword [ebp], 0
jmp 0xdec0d0
mov edx, dword [esp + 0x20]
mov dword [edx], 0
mov dword [esp + 0xa0], 0
jmp 0xdec0aa
mov eax, 1
call fcn.00deb3a0
mov eax, dword [0x17a1070]
test eax, eax
mov dword [esp + 0x20], eax
je 0xdec315
cmp dword [0x17a0700], 2
jne 0xdebf14
mov dword [esp], 0x17a0728
call sub.KERNEL32.dll_LeaveCriticalSection
sub esp, 4
jmp 0xdebf14
mov eax, dword [eax + 4]
add eax, 1
mov dword [esp], eax
call fcn.00deb660
test eax, eax
mov ebx, eax
je 0xdec271
mov ecx, dword [esp + 0xa0]
lea eax, [eax + 0xc]
mov edx, dword [ecx + 0x10]
add ecx, 0xc
mov dword [esp + 4], ecx
mov dword [esp], eax
lea edx, [edx*4 + 8]
mov dword [esp + 8], edx
call sub.msvcrt.dll_memcpy
mov edi, dword [esp + 0xa0]
cmp dword [edi + 4], 9
jle 0xdec347
mov dword [esp], edi
call fcn.00ded778
mov dword [esp + 0xa0], ebx
jmp 0xdebeb0
mov dword [esp], 1
call fcn.00deb660
test eax, eax
mov dword [esp + 0x20], eax
je 0xdec383
mov dword [0x17a1070], eax
mov dword [eax + 0x14], 0x271
mov dword [eax + 0x10], 1
mov dword [eax], 0
jmp 0xdec298
xor eax, eax
call fcn.00deb3a0
mov ebp, dword [esp + 0xa0]
cmp dword [0x17a0700], 2
mov edx, dword [ebp + 4]
mov eax, dword [edx*4 + 0x17a0740]
mov dword [ebp], eax
mov dword [edx*4 + 0x17a0740], ebp
jne 0xdec309
mov dword [esp], 0x17a0710
call sub.KERNEL32.dll_LeaveCriticalSection
sub esp, 4
jmp 0xdec309
mov dword [0x17a1070], 0
mov dword [esp + 0xa0], 0
jmp 0xdec0aa