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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x9c
mov edx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x10], ecx
mov ebp, dword [esp + 0xb0]
mov eax, dword [eax]
mov ecx, dword [edx]
mov dword [esp + 0x14], eax
cmp ecx, eax
je 0x9131e9
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [esp + 0x40], esi
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], esi
mov esi, dword [ebp + 0x14]
mov dword [esp + 0x24], esi
mov esi, dword [ebp + 0x18]
mov dword [esp + 0x1c], esi
cmp ecx, eax
je 0x913181
mov eax, dword [esp + 0xb8]
mov ebx, dword [esp + 0xb8]
mov esi, dword [edx + 0xc]
mov eax, dword [eax + 0xc]
mov ebx, dword [ebx + 4]
mov edi, esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], eax
sub eax, esi
mov dword [esp + 0x38], ebx
sar eax, 2
mov ebx, dword [edx + 8]
sub eax, 1
mov dword [esp + 0x3c], ebx
lea ebx, [eax + eax*4]
lea esi, [eax + ebx*4]
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x38]
mov ebx, eax
sar ebx, 3
imul eax, ebx, 0xaaaaaaab
lea ebx, [esi + eax]
mov eax, dword [esp + 0x3c]
sub eax, ecx
sar eax, 3
imul eax, eax, 0xaaaaaaab
add ebx, eax
mov eax, dword [edx + 4]
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x20]
mov esi, eax
mov dword [esp + 0x44], eax
mov eax, edi
mov edi, dword [esp + 0x24]
sub ebx, dword [esp + 0x18]
sub eax, edi
sar ebx, 3
sar eax, 2
imul ebx, ebx, 0xaaaaaaab
sub eax, 1
lea edx, [eax + eax*4]
lea edx, [eax + edx*4]
mov eax, ecx
sub eax, esi
mov esi, dword [ebp + 0x1c]
sar eax, 3
imul eax, eax, 0xaaaaaaab
add eax, edx
mov edx, dword [ebp + 0x24]
add eax, ebx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], edx
sub edx, edi
sub eax, esi
sar edx, 2
sar eax, 3
sub edx, 1
imul eax, eax, 0xaaaaaaab
lea edi, [edx + edx*4]
lea edx, [edx + edi*4]
add edx, eax
add ebx, edx
sub ebx, dword [esp + 0x30]
shr ebx, 1
cmp ebx, dword [esp + 0x2c]
jb 0x913031
cmp ecx, dword [esp + 0x18]
je 0x913219
mov eax, dword [esp + 0x14]
mov dword [esp + 0x60], ecx
lea ecx, [esp + 0x80]
lea ebx, [esp + 0x70]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0xb8]
mov eax, dword [eax + 8]
mov dword [esp], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
lea eax, [esp + 0x50]
mov dword [esp + 4], eax
call fcn.00956561
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
mov dword [esp], ebx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call fcn.008855a1
mov ebx, dword [ebp + 8]
sub esp, 8
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x8c]
mov edi, dword [esp + 0x84]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x20], eax
add eax, 4
cmp ecx, eax
jbe 0x912f7a
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], edi
mov edi, eax
lea esi, [esi]
mov ebx, dword [edi]
lea esi, [ebx + 0x1f8]
lea esi, [esi]
nop
mov eax, dword [ebx]
lea edx, [ebx + 8]
cmp eax, edx
je 0x912f62
mov dword [esp], eax
call fcn.009676c1
add ebx, 0x18
cmp esi, ebx
jne 0x912f51
add edi, 4
cmp dword [esp + 0x14], edi
ja 0x912f41
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
cmp dword [esp + 0x14], ecx
je 0x913289
mov esi, dword [esp + 0x1c]
cmp ebx, dword [esp + 0x1c]
je 0x912fb1
lea esi, [esi]
mov eax, dword [ebx]
lea edx, [ebx + 8]
cmp eax, edx
je 0x912faa
mov dword [esp], eax
call fcn.009676c1
add ebx, 0x18
cmp esi, ebx
jne 0x912f99
mov ebx, dword [esp + 0x18]
cmp dword [esp + 0x18], edi
je 0x912fd9
lea esi, [esi]
mov eax, dword [edi]
lea edx, [edi + 8]
cmp eax, edx
je 0x912fd2
mov dword [esp], eax
call fcn.009676c1
add edi, 0x18
cmp ebx, edi
jne 0x912fc1
mov ebx, dword [esp + 0x8c]
mov esi, dword [ebp + 0x14]
cmp ebx, esi
jbe 0x913002
lea esi, [esi]
lea esi, [esi]
mov eax, dword [esi]
add esi, 4
mov dword [esp], eax
call fcn.009676c1
cmp ebx, esi
ja 0x912ff1
mov eax, dword [esp + 0x80]
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x84]
mov dword [ebp + 0xc], eax
mov eax, dword [esp + 0x88]
mov dword [ebp + 0x10], eax
mov eax, dword [esp + 0x8c]
mov dword [ebp + 0x14], eax
jmp 0x913131
lea edi, [esp + 0x80]
mov ebx, dword [ebp + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x34], edi
cmp dword [esp + 0x14], edx
je 0x9130e2
mov eax, dword [esp + 0x44]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x54], esi
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x50], edx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0xb8]
mov eax, dword [eax + 8]
mov dword [esp], edi
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x70]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x50]
mov dword [esp + 8], eax
lea eax, [esp + 0x60]
mov dword [esp + 4], eax
call fcn.0095dde1
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x24]
mov ebx, dword [ebp + 0x20]
mov dword [esp + 0x1c], eax
sub eax, esi
sar eax, 3
mov dword [esp + 0x28], ecx
imul eax, eax, 0xaaaaaaab
mov edi, dword [esp + 0x30]
sub eax, edi
mov ecx, eax
js 0x913231
cmp eax, 0x14
jg 0x913271
imul eax, edi, 0xffffffe8
add eax, dword [esp + 0x1c]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x28]
mov ecx, ebp
mov dword [esp + 0x84], esi
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x88], ebx
mov dword [esp], eax
call fcn.00911641
sub esp, 4
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x80], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x84], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.008855a1
sub esp, 8
jmp 0x913201
cmp dword [esp + 0x14], esi
jne 0x912d2f
mov eax, dword [esp + 0x40]
mov dword [esp + 0x80], ecx
mov ecx, ebp
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x80]
mov dword [esp], eax
call fcn.00911641
mov eax, dword [ebp + 0x18]
sub esp, 4
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp + 0x1c]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0x20]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x24]
mov dword [ecx + 0xc], eax
jmp 0x913201
mov edi, dword [esp + 0x10]
mov eax, dword [edx + 4]
mov dword [edi + 4], eax
mov eax, dword [edx + 8]
mov dword [edi], ecx
mov dword [edi + 8], eax
mov eax, dword [edx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x10]
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
lea eax, [esp + 0x80]
lea ebx, [esp + 0x70]
mov dword [esp + 0x34], eax
jmp 0x912ec5
mov ebx, eax
mov edx, 0x30c30c31
not ebx
mov eax, ebx
sar ebx, 0x1f
imul edx
sar edx, 2
sub edx, ebx
not edx
lea eax, [edx*4]
add dword [esp + 0x28], eax
mov edi, dword [esp + 0x28]
add eax, edx
lea eax, [edx + eax*4]
mov esi, dword [edi]
sub ecx, eax
lea eax, [ecx + ecx*2]
lea ebx, [esi + 0x1f8]
lea eax, [esi + eax*8]
jmp 0x913100
mov edx, 0x30c30c31
imul edx
mov eax, ecx
sar eax, 0x1f
sar edx, 2
sub edx, eax
jmp 0x913248
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x912fd9
mov esi, eax
lea esi, [esi]
lea esi, [esi]
mov eax, dword [ebx]
lea edx, [ebx + 8]
cmp eax, edx
je 0x9132b2
mov dword [esp], eax
call fcn.009676c1
add ebx, 0x18
cmp esi, ebx
jne 0x9132a1
jmp 0x912fd9