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

Disassembly:
sub esp, 0x44
mov eax, dword [esp + 0x48]
push ebx
push ebp
push esi
mov ebp, dword [eax + 0x18]
mov esi, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
imul edx, eax, 0x160c
push edi
mov ecx, dword [esi + 0x4c]
mov dword [esp + 0x10], ebp
mov ebx, dword [edx + ecx + 0x15d0]
xor edx, edx
div dword [esi + 0x18]
mov ecx, dword [esi + 0xc]
imul ecx, edx
mov edi, eax
mov eax, dword [esp + 0x58]
add ecx, dword [esi + 4]
mov edx, dword [eax]
cmp ecx, edx
jbe 0x10152f56
mov edx, ecx
mov eax, dword [esp + 0x64]
mov dword [eax], edx
xor eax, eax
add ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x58]
adc eax, eax
neg eax
or eax, ecx
mov edx, dword [edx + 8]
cmp eax, edx
jb 0x10152f74
mov eax, edx
mov ecx, dword [esp + 0x68]
mov dword [ecx], eax
mov eax, dword [esi + 0x10]
imul eax, edi
mov edi, dword [esp + 0x58]
add eax, dword [esi + 8]
mov ecx, dword [edi + 4]
cmp eax, ecx
jbe 0x10152f90
mov ecx, eax
mov edx, dword [esp + 0x6c]
mov dword [edx], ecx
xor ecx, ecx
add eax, dword [esi + 0x10]
mov edx, dword [edi + 0xc]
adc ecx, ecx
neg ecx
or ecx, eax
cmp ecx, edx
jb 0x10152faa
mov ecx, edx
mov eax, dword [esp + 0x70]
mov dword [esp + 0x24], 0
mov dword [eax], ecx
mov eax, dword [esp + 0x7c]
mov dword [eax], 0
mov eax, dword [esp + 0x80]
mov dword [eax], 0
mov eax, dword [esp + 0x74]
mov dword [eax], Ordinal_3
mov eax, dword [esp + 0x78]
mov dword [eax], Ordinal_3
cmp dword [edi + 0x10], 0
jbe 0x101532c0
add ebx, 4
mov dword [esp + 0x60], ebx
mov eax, dword [ebp]
cdq
mov esi, eax
mov ecx, edx
mov eax, dword [esp + 0x64]
push ecx
push esi
mov eax, dword [eax]
cdq
add eax, esi
adc edx, ecx
sub eax, 1
sbb edx, 0
push edx
push eax
call fcn.1009f6d0
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 4]
cdq
mov esi, eax
mov ecx, edx
mov eax, dword [esp + 0x6c]
push ecx
push esi
mov eax, dword [eax]
cdq
add eax, esi
adc edx, ecx
sub eax, 1
sbb edx, 0
push edx
push eax
call fcn.1009f6d0
mov dword [esp + 0x20], eax
mov eax, dword [ebp]
cdq
mov esi, eax
mov ecx, edx
mov eax, dword [esp + 0x68]
push ecx
push esi
mov eax, dword [eax]
cdq
add eax, esi
adc edx, ecx
sub eax, 1
sbb edx, 0
push edx
push eax
call fcn.1009f6d0
mov ebx, eax
mov eax, dword [ebp + 4]
cdq
mov esi, eax
mov ecx, edx
mov eax, dword [esp + 0x70]
push ecx
push esi
mov eax, dword [eax]
cdq
add eax, esi
adc edx, ecx
sub eax, 1
sbb edx, 0
push edx
push eax
call fcn.1009f6d0
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x80]
mov edx, dword [ecx]
cmp edx, dword [eax]
jbe 0x1015309d
mov dword [eax], edx
mov esi, dword [ecx]
xor edi, edi
mov dword [esp + 0x1c], edi
test esi, esi
je 0x10153299
mov eax, dword [esp + 0x5c]
cdq
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], edx
cdq
mov dword [esp + 0x30], eax
mov eax, ebx
mov dword [esp + 0x34], edx
cdq
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x3c], edx
cdq
mov dword [esp + 0x40], eax
lea eax, [ecx + 0x3ac]
mov dword [esp + 0x44], edx
mov dword [esp + 0x20], eax
lea esp, [esp]
mov ebp, dword [eax - 0x84]
sub esi, edi
mov eax, dword [eax]
mov edx, 1
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
lea ecx, [ebp - 1]
add ecx, esi
shl edx, cl
lea ecx, [eax - 1]
imul edx, dword [ebx]
add ecx, esi
mov eax, 1
shl eax, cl
imul eax, dword [ebx + 4]
mov ebx, dword [esp + 0x74]
mov ecx, dword [ebx]
cmp ecx, edx
jb 0x1015312d
mov ecx, edx
mov edx, dword [esp + 0x78]
mov dword [ebx], ecx
mov ecx, dword [edx]
cmp ecx, eax
jb 0x1015313b
mov ecx, eax
mov ebx, dword [esp + 0x60]
mov eax, 1
mov dword [edx], ecx
xor edx, edx
mov ebx, dword [ebx]
sub ebx, edi
dec ebx
mov ecx, ebx
call fcn.1009f5d0
mov esi, eax
mov edi, edx
mov eax, dword [esp + 0x28]
mov ecx, ebx
mov edx, dword [esp + 0x2c]
add eax, esi
adc edx, edi
sub eax, 1
sbb edx, 0
call fcn.1009f780
mov edx, dword [esp + 0x34]
mov ecx, ebx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x30]
add eax, esi
adc edx, edi
sub eax, 1
sbb edx, 0
call fcn.1009f780
mov edx, dword [esp + 0x3c]
mov ecx, ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
add eax, esi
adc edx, edi
sub eax, 1
sbb edx, 0
call fcn.1009f780
mov edx, dword [esp + 0x44]
mov ecx, ebx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x40]
add eax, esi
adc edx, edi
sub eax, 1
sbb edx, 0
call fcn.1009f780
mov edi, dword [esp + 0x14]
mov ebx, eax
mov eax, dword [esp + 0x18]
mov ecx, edi
sar eax, cl
xor edx, edx
shl eax, cl
mov dword [esp + 0x50], eax
mov eax, 1
mov dword [esp + 0x4c], ebx
call fcn.1009f5d0
mov ecx, eax
mov esi, edx
mov eax, ebx
cdq
add eax, ecx
mov ecx, edi
adc edx, esi
sub eax, 1
sbb edx, 0
call fcn.1009f780
mov ebx, dword [esp + 0x48]
mov esi, eax
mov ecx, edi
shl esi, cl
cmp ebx, dword [esp + 0x5c]
jne 0x10153218
xor eax, eax
jmp 0x10153250
mov eax, 1
xor edx, edx
mov ecx, ebp
call fcn.1009f5d0
mov ecx, eax
mov edi, edx
mov eax, dword [esp + 0x5c]
cdq
add eax, ecx
mov ecx, ebp
adc edx, edi
sub eax, 1
sbb edx, 0
call fcn.1009f780
mov edi, dword [esp + 0x14]
mov ecx, ebp
sar ebx, cl
shl eax, cl
shl ebx, cl
sub eax, ebx
sar eax, cl
mov ecx, dword [esp + 0x4c]
cmp dword [esp + 0x18], ecx
jne 0x1015325e
xor esi, esi
jmp 0x10153266
sub esi, dword [esp + 0x50]
mov ecx, edi
sar esi, cl
imul esi, eax
mov eax, dword [esp + 0x7c]
cmp esi, dword [eax]
jbe 0x10153273
mov dword [eax], esi
mov ecx, dword [esp + 0x60]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
inc edi
add eax, 4
mov dword [esp + 0x1c], edi
mov esi, dword [ecx]
mov dword [esp + 0x20], eax
cmp edi, esi
jb 0x101530f0
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
add ecx, 0x438
mov dword [esp + 0x60], ecx
inc eax
mov ecx, dword [esp + 0x58]
add ebp, 0x34
mov dword [esp + 0x10], ebp
mov dword [esp + 0x24], eax
cmp eax, dword [ecx + 0x10]
jb 0x10152ff4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret