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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x70]
mov edi, dword [eax + 0x5c]
mov ecx, dword [eax + 4]
mov ebx, dword [eax + 0x1c]
mov ebp, dword [eax + 0xc8]
mov dword [esp + 0x18], edi
mov edi, dword [eax + 0xc0]
add ebx, ecx
mov dword [esp + 0x20], edi
mov edi, dword [eax + 0x64]
mov dword [esp + 0x44], edi
mov edi, dword [eax + 0xbc]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x1c], edi
sub eax, 8
cmp dword [esp + 0x7c], 1
mov dword [esp + 0x34], eax
lea eax, [ebx + 2]
je 0x102998a0
cmp dword [esp + 0x34], eax
jb 0x10299612
mov eax, 0x40
mov esi, dword [esp + 0x20]
mov dword [esp + 0x48], ecx
mov edi, eax
sub edi, esi
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x1c]
sub eax, edi
mov dword [esp + 0x2c], eax
lea esi, [esi]
mov edi, dword [esp + 0x48]
mov eax, ebx
mov dword [esp + 0x30], ebx
mov esi, ebx
sub eax, edi
xor edi, edi
mov dword [esp + 0x24], eax
cmp dword [esp + 0x1c], 0x20
ja 0x102996c8
cmp ebp, 7
je 0x10299790
ja 0x10299620
cmp ebp, 5
je 0x102997d0
cmp ebp, 6
jne 0x102997b0
mov eax, dword [esi]
mov ecx, dword [esi + 4]
imul edx, eax, 0xcf1bbcdc
imul ecx, ecx, 0xbf9b0000
add ecx, edx
mov edx, 0xbf9b0000
mul edx
add edx, ecx
movzx ecx, byte [esp + 0x2c]
shrd eax, edx, cl
shr edx, cl
and ecx, 0x20
cmovne eax, edx
mov ebx, eax
cmp dword [esp + 0x20], 0x20
ja 0x10299660
mov eax, dword [esi]
mov ecx, dword [esi + 4]
imul edx, eax, 0xcf1bbcdc
imul ecx, ecx, 0xb7a56463
add ecx, edx
mov edx, 0xb7a56463
mul edx
add edx, ecx
movzx ecx, byte [esp + 0x28]
shrd eax, edx, cl
shr edx, cl
test cl, 0x20
je 0x102995c6
mov eax, edx
test edi, edi
je 0x10299650
mov ebx, dword [esp + 0x18]
mov edx, dword [ebx + eax*4]
test edx, edx
jne 0x102995e7
mov ebx, dword [esp + 0x24]
lea edx, [ebx + edi]
mov ebx, dword [esp + 0x18]
mov dword [ebx + eax*4], edx
mov eax, dword [esp + 0x78]
test eax, eax
je 0x102995fe
add edi, 1
add esi, 1
cmp edi, 3
jne 0x10299534
mov ebx, dword [esp + 0x30]
add ebx, 3
lea eax, [ebx + 2]
cmp dword [esp + 0x34], eax
jae 0x10299520
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp ebp, 8
jne 0x102997b0
mov eax, dword [esi]
mov ecx, dword [esi + 4]
imul edx, eax, 0xcf1bbcdc
imul ecx, ecx, 0xb7a56463
add ecx, edx
mov edx, 0xb7a56463
jmp 0x10299578
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x24]
mov dword [edx + ebx*4], ecx
jmp 0x102995d9
mov edx, dword [sym.imp.msvcrt.dll__assert]
mov dword [esp + 8], 0x342
mov dword [esp + 4], 0x1044c8d4
mov dword [esp], 0x1044c970
mov dword [esp + 0x40], edx
call edx
cmp dword [esp + 0x20], 0x40
mov eax, dword [esi]
mov ecx, dword [esi + 4]
jbe 0x1029959e
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x38], eax
mov dword [esp + 8], 0x338
mov dword [esp + 4], 0x1044c8d4
mov dword [esp], 0x1044c97c
call edx
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
jmp 0x1029959e
mov dword [esp + 8], 0x342
mov ebx, dword [sym.imp.msvcrt.dll__assert]
mov dword [esp + 4], 0x1044c8d4
mov dword [esp], 0x1044c970
call ebx
cmp ebp, 7
je 0x102997f0
ja 0x10299748
cmp ebp, 5
je 0x10299860
cmp ebp, 6
jne 0x10299830
cmp dword [esp + 0x1c], 0x40
mov eax, dword [esi]
mov ecx, dword [esi + 4]
jbe 0x10299565
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 8], 0x32e
mov dword [esp + 4], 0x1044c8d4
mov dword [esp], 0x1044c97c
call ebx
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
jmp 0x10299565
cmp ebp, 8
jne 0x10299830
cmp dword [esp + 0x1c], 0x40
mov eax, dword [esi]
mov ecx, dword [esi + 4]
jbe 0x1029962e
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 8], 0x338
mov dword [esp + 4], 0x1044c8d4
mov dword [esp], 0x1044c97c
call ebx
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
jmp 0x1029962e
mov eax, dword [esi]
mov ecx, dword [esi + 4]
imul edx, eax, 0xcf1bbcdc
imul ecx, ecx, 0xbfa56300
add ecx, edx
mov edx, 0xbfa56300
jmp 0x10299578
mov eax, dword [esi]
imul ebx, eax, 0x9e3779b1
mov eax, dword [esp + 0x1c]
mov ecx, 0x20
sub ecx, eax
shr ebx, cl
jmp 0x1029958e
mov eax, dword [esi]
mov ecx, dword [esi + 4]
imul edx, eax, 0xcf1bbcdc
imul ecx, ecx, 0xbb000000
add ecx, edx
mov edx, 0xbb000000
jmp 0x10299578
cmp dword [esp + 0x1c], 0x40
mov eax, dword [esi]
mov ecx, dword [esi + 4]
jbe 0x10299795
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 8], 0x333
mov dword [esp + 4], 0x1044c8d4
mov dword [esp], 0x1044c97c
call ebx
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
jmp 0x10299795
mov eax, dword [esi]
mov dword [esp + 8], 0x324
mov dword [esp + 4], 0x1044c8d4
mov dword [esp + 0x38], eax
mov dword [esp], 0x1044cb93
call ebx
mov eax, dword [esp + 0x38]
jmp 0x102997b2
cmp dword [esp + 0x1c], 0x40
mov eax, dword [esi]
mov ecx, dword [esi + 4]
jbe 0x102997d5
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 8], 0x329
mov dword [esp + 4], 0x1044c8d4
mov dword [esp], 0x1044c97c
call ebx
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
jmp 0x102997d5
mov esi, dword [esp + 0x20]
add edi, 8
mov edx, 0x40
mov dword [esp + 0x24], edi
mov edi, edx
add esi, 8
sub edi, esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x24]
sub edx, edi
mov dword [esp + 0x30], edx
cmp dword [esp + 0x34], eax
jb 0x10299612
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x4c], ecx
lea esi, [esi]
nop
mov edi, dword [esp + 0x4c]
mov eax, ebx
mov dword [esp + 0x3c], ebx
xor ebp, ebp
sub eax, edi
mov edi, ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], eax
cmp dword [esp + 0x24], 0x20
ja 0x10299a30
cmp dword [esp + 0x1c], 7
je 0x10299c00
ja 0x10299a00
mov eax, dword [esp + 0x1c]
cmp eax, 5
je 0x10299be0
cmp eax, 6
jne 0x10299bc0
mov esi, dword [edi]
mov ecx, dword [edi + 4]
imul eax, esi, 0xcf1bbcdc
imul ecx, ecx, 0xbf9b0000
add ecx, eax
mov eax, 0xbf9b0000
mul esi
add edx, ecx
movzx ecx, byte [esp + 0x30]
shrd eax, edx, cl
shr edx, cl
and ecx, 0x20
cmovne eax, edx
mov esi, eax
cmp dword [esp + 0x28], 0x20
ja 0x10299ab0
mov ebx, dword [edi]
mov ecx, dword [edi + 4]
imul eax, ebx, 0xcf1bbcdc
imul ecx, ecx, 0xb7a56463
add ecx, eax
mov eax, 0xb7a56463
mul ebx
add edx, ecx
movzx ecx, byte [esp + 0x2c]
shrd eax, edx, cl
shr edx, cl
test cl, 0x20
cmovne eax, edx
mov ebx, eax
shr eax, 8
test ebp, ebp
je 0x10299b58
mov esi, dword [esp + 0x18]
mov edx, dword [esi + eax*4]
test edx, edx
jne 0x102999c7
movzx esi, bl
mov ebx, dword [esp + 0x20]
shr ebx, 0x18
jne 0x10299b8f
mov ebx, dword [esp + 0x20]
shl ebx, 8
or ebx, esi
mov esi, dword [esp + 0x18]
mov dword [esi + eax*4], ebx
mov esi, dword [esp + 0x78]
test esi, esi
je 0x102999e3
add ebp, 1
add dword [esp + 0x20], 1
add edi, 1
cmp ebp, 3
jne 0x102998f8
mov ebx, dword [esp + 0x3c]
add ebx, 3
lea eax, [ebx + 2]
cmp dword [esp + 0x34], eax
jae 0x102998e0
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp dword [esp + 0x1c], 8
jne 0x10299bc0
mov esi, dword [edi]
mov ecx, dword [edi + 4]
imul eax, esi, 0xcf1bbcdc
imul ecx, ecx, 0xb7a56463
add ecx, eax
mov eax, 0xb7a56463
jmp 0x10299942
mov dword [esp + 8], 0x342
mov ebx, dword [sym.imp.msvcrt.dll__assert]
mov dword [esp + 4], 0x1044c8d4
mov dword [esp], 0x1044c970
call ebx
mov eax, dword [esp + 0x1c]
cmp eax, 7
je 0x10299c58
ja 0x10299b10
cmp eax, 5
je 0x10299cb0
cmp eax, 6
jne 0x10299c90
cmp dword [esp + 0x24], 0x40
mov esi, dword [edi]
mov ecx, dword [edi + 4]
jbe 0x1029992f
mov dword [esp + 0x40], ecx
mov dword [esp + 8], 0x32e
mov dword [esp + 4], 0x1044c8d4
mov dword [esp], 0x1044c97c
call ebx
mov ecx, dword [esp + 0x40]
jmp 0x1029992f
mov eax, dword [sym.imp.msvcrt.dll__assert]
mov dword [esp + 8], 0x342
mov dword [esp + 4], 0x1044c8d4
mov dword [esp], 0x1044c970
mov dword [esp + 0x48], eax
call eax
cmp dword [esp + 0x28], 0x40
mov ebx, dword [edi]
mov ecx, dword [edi + 4]
jbe 0x10299968
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x48]
mov dword [esp + 8], 0x338
mov dword [esp + 4], 0x1044c8d4
mov dword [esp], 0x1044c97c
call eax
mov ecx, dword [esp + 0x40]
jmp 0x10299968
cmp dword [esp + 0x1c], 8
jne 0x10299c90
cmp dword [esp + 0x24], 0x40
mov esi, dword [edi]
mov ecx, dword [edi + 4]
jbe 0x10299a10
mov dword [esp + 0x40], ecx
mov dword [esp + 8], 0x338
mov dword [esp + 4], 0x1044c8d4
mov dword [esp], 0x1044c97c
call ebx
mov ecx, dword [esp + 0x40]
jmp 0x10299a10
mov edx, esi
mov ecx, esi
movzx esi, dl
mov edx, dword [esp + 0x38]
shr ecx, 8
shr edx, 0x18
jne 0x10299c20
mov edx, dword [esp + 0x38]
shl edx, 8
or edx, esi
mov esi, dword [esp + 0x44]
mov dword [esi + ecx*4], edx
movzx esi, bl
mov ebx, dword [esp + 0x20]
shr ebx, 0x18
je 0x102999b7
mov dword [esp + 0x40], eax
mov dword [esp + 8], 0x561
mov dword [esp + 4], 0x1044c8d4
mov dword [esp], 0x1044cb9c
call dword [sym.imp.msvcrt.dll__assert]
mov eax, dword [esp + 0x40]
jmp 0x102999b7
mov esi, dword [edi]
imul esi, esi, 0x9e3779b1
mov eax, dword [esp + 0x24]
mov ecx, 0x20
sub ecx, eax
shr esi, cl
jmp 0x10299958
mov esi, dword [edi]
mov ecx, dword [edi + 4]
imul eax, esi, 0xcf1bbcdc
imul ecx, ecx, 0xbb000000
add ecx, eax
mov eax, 0xbb000000
jmp 0x10299942
mov esi, dword [edi]
mov ecx, dword [edi + 4]
imul eax, esi, 0xcf1bbcdc
imul ecx, ecx, 0xbfa56300
add ecx, eax
mov eax, 0xbfa56300
jmp 0x10299942
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 8], 0x561
mov dword [esp + 4], 0x1044c8d4
mov dword [esp], 0x1044cb9c
call dword [sym.imp.msvcrt.dll__assert]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
jmp 0x10299b6f
cmp dword [esp + 0x24], 0x40
mov esi, dword [edi]
mov ecx, dword [edi + 4]
jbe 0x10299c05
mov dword [esp + 0x40], ecx
mov dword [esp + 8], 0x333
mov dword [esp + 4], 0x1044c8d4
mov dword [esp], 0x1044c97c
call ebx
mov ecx, dword [esp + 0x40]
jmp 0x10299c05
mov esi, dword [edi]
mov dword [esp + 8], 0x324
mov dword [esp + 4], 0x1044c8d4
mov dword [esp], 0x1044cb93
call ebx
jmp 0x10299bc2
cmp dword [esp + 0x24], 0x40
mov esi, dword [edi]
mov ecx, dword [edi + 4]
jbe 0x10299be5
mov dword [esp + 0x40], ecx
mov dword [esp + 8], 0x329
mov dword [esp + 4], 0x1044c8d4
mov dword [esp], 0x1044c97c
call ebx
mov ecx, dword [esp + 0x40]
jmp 0x10299be5