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

Disassembly:
sub esp, 0x54
mov ecx, dword [esp + 0x64]
push ebx
xor ebx, ebx
cmp dword [esp + 0x60], ebx
push ebp
setne bl
push esi
push edi
inc ebx
mov dword [esp + 0x5c], ebx
test ecx, ecx
je 0x7e8aeb
xor eax, eax
cmp dword [esp + 0x70], eax
setne al
inc eax
mov esi, eax
jmp 0x7e8aed
xor esi, esi
sar ecx, 1
mov eax, 8
shl eax, cl
mov edi, ebx
shl edi, 6
mov ebp, esi
mov dword [esp + 0x34], eax
lea eax, [esi + ebx]
shl eax, 6
add eax, 0x3f
cdq
and edx, 0x3f
add eax, edx
mov edx, dword [esp + 0x78]
sar eax, 6
shl eax, 6
lea ecx, [ebx + eax*8]
lea edx, [ecx + edx + 0xf]
mov ecx, dword [esp + 0x68]
shr edx, 4
shl edx, 4
lea edi, [edi + edx + 0xf]
shr edi, 4
shl edi, 4
shl ebp, 5
lea ebp, [edi + ebp + 0xf]
mov dword [ecx + 0x123a50], edx
shr ebp, 4
shl ebp, 4
mov dword [esp + 0x6c], ebp
mov dword [ecx + 0x123b70], ebp
mov ebp, eax
shl ebp, 4
add ebp, edx
mov edx, eax
imul edx, dword [esp + 0x34]
mov dword [ecx + 0x123ae0], edi
add edi, edx
mov dword [ecx + 0x124860], edi
mov edi, dword [esp + 0x6c]
add edi, edx
mov edx, eax
shl edx, 4
sub edx, eax
mov dword [esp + 0x44], edx
mov edx, eax
shl edx, 4
sub edx, eax
add edx, edx
mov dword [esp + 0x48], edx
mov edx, ebx
shl edx, 4
mov dword [esp + 0x54], edx
mov edx, ebx
shl edx, 4
sub edx, ebx
mov dword [esp + 0x58], edx
lea edx, [ecx + 0x123a50]
mov dword [ecx + 0x1247d0], ebp
mov dword [ecx + 0x1248f0], edi
xor ebp, ebp
mov dword [esp + 0x28], edx
lea edi, [ecx + 0x124110]
lea edx, [ecx + 0x123a64]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], edx
jmp 0x7e8bd8
xor ebp, ebp
mov edx, dword [esp + 0x28]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x24], edx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x40], 4
jmp 0x7e8c00
mov edx, dword [esp + 0x1c]
mov edx, dword [edx - 0x6c0]
add edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x10]
mov dword [edi - 0x6c0], edx
mov edx, dword [esp + 0x18]
add ecx, 0x123a50
add edx, ebp
add edx, dword [ecx]
mov ecx, dword [edi - 0x6c0]
sub ecx, ebx
mov dword [edi], edx
sub edx, ebx
mov dword [edi - 0x6bc], ecx
mov dword [edi + 4], edx
mov edx, 0x1036a818
lea ecx, [edi + 0xc]
mov ebp, dword [edx + 4]
mov edi, dword [edx]
imul ebp, eax
imul edi, ebx
add ebp, edi
mov edi, dword [esp + 0x6c]
add ebp, dword [edi - 0x6c0]
add edi, 0xfffff940
mov dword [ecx - 0x6c4], ebp
mov edi, dword [edx + 4]
mov ebp, dword [edx]
imul edi, eax
imul ebp, ebx
lea edi, [ebp + edi*2]
mov ebp, dword [esp + 0x6c]
add edi, dword [ebp]
mov dword [ecx - 4], edi
mov edi, dword [ecx - 0x6c4]
sub edi, ebx
mov dword [ecx - 0x6c0], edi
mov edi, dword [ecx - 4]
sub edi, ebx
mov dword [ecx], edi
mov ebp, dword [edx + 0xc]
mov edi, dword [edx + 8]
imul ebp, eax
imul edi, ebx
add ebp, edi
mov edi, dword [esp + 0x6c]
add ebp, dword [edi - 0x6c0]
add edi, 0xfffff940
mov dword [ecx - 0x6bc], ebp
mov edi, dword [edx + 0xc]
mov ebp, dword [edx + 8]
imul edi, eax
imul ebp, ebx
lea edi, [ebp + edi*2]
mov ebp, dword [esp + 0x6c]
add edi, dword [ebp]
mov dword [ecx + 4], edi
mov edi, dword [ecx - 0x6bc]
sub edi, ebx
mov dword [ecx - 0x6b8], edi
mov edi, dword [ecx + 4]
sub edi, ebx
mov dword [ecx + 8], edi
mov ebp, dword [edx + 0x14]
mov edi, dword [edx + 0x10]
imul ebp, eax
imul edi, ebx
add ebp, edi
mov edi, dword [esp + 0x6c]
add ebp, dword [edi - 0x6c0]
add edi, 0xfffff940
mov dword [ecx - 0x6b4], ebp
mov edi, dword [edx + 0x14]
mov ebp, dword [edx + 0x10]
imul edi, eax
imul ebp, ebx
lea edi, [ebp + edi*2]
mov ebp, dword [esp + 0x6c]
add edi, dword [ebp]
mov dword [ecx + 0xc], edi
mov edi, dword [ecx - 0x6b4]
sub edi, ebx
mov dword [ecx - 0x6b0], edi
mov edi, dword [ecx + 0xc]
sub edi, ebx
mov dword [ecx + 0x10], edi
mov ebp, dword [edx + 0x1c]
mov edi, dword [edx + 0x18]
imul ebp, eax
imul edi, ebx
add ebp, edi
mov edi, dword [esp + 0x6c]
add ebp, dword [edi - 0x6c0]
add edi, 0xfffff940
mov dword [ecx - 0x6ac], ebp
mov edi, dword [edx + 0x1c]
mov ebp, dword [edx + 0x18]
imul edi, eax
imul ebp, ebx
lea edi, [ebp + edi*2]
mov ebp, dword [esp + 0x6c]
add edi, dword [ebp]
add edx, 0x28
mov dword [ecx + 0x14], edi
mov edi, dword [ecx - 0x6ac]
sub edi, ebx
mov dword [ecx - 0x6a8], edi
mov edi, dword [ecx + 0x14]
sub edi, ebx
mov dword [ecx + 0x18], edi
mov ebp, dword [edx - 4]
mov edi, dword [edx - 8]
imul ebp, eax
imul edi, ebx
add ebp, edi
mov edi, dword [esp + 0x6c]
add ebp, dword [edi - 0x6c0]
add edi, 0xfffff940
mov dword [ecx - 0x6a4], ebp
mov edi, dword [edx - 4]
mov ebp, dword [edx - 8]
imul edi, eax
imul ebp, ebx
lea ebp, [ebp + edi*2]
mov edi, dword [esp + 0x6c]
add ebp, dword [edi]
add ecx, 0x28
mov dword [ecx - 0xc], ebp
mov ebp, dword [ecx - 0x6cc]
sub ebp, ebx
mov dword [ecx - 0x6c8], ebp
mov ebp, dword [ecx - 0xc]
sub ebp, ebx
cmp edx, 0x1036a890
mov dword [ecx - 8], ebp
jl 0x7e8c43
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x78], ecx
lea ecx, [edi - 0x6c0]
mov dword [esp + 0x20], 2
jmp 0x7e8e10
mov edx, dword [ecx]
mov ebp, edx
sub ebp, eax
mov dword [ecx + 0x80], ebp
mov ebp, dword [esp + 0x78]
mov ebp, dword [ebp]
sub ebp, eax
mov dword [ecx + 0x740], ebp
mov ebp, dword [esp + 0x44]
add edx, ebp
mov dword [ecx + 0x88], edx
mov edx, dword [esp + 0x78]
mov edx, dword [edx]
add edx, dword [esp + 0x48]
add dword [esp + 0x78], 4
mov dword [ecx + 0x748], edx
add ecx, 4
sub dword [esp + 0x20], 1
jne 0x7e8e10
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x7e90c0
mov edx, dword [esp + 0x1c]
shl ecx, 7
lea ecx, [ecx + 0x1036a818]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x34]
dec ecx
imul ecx, eax
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x68]
add ecx, 0x123ae0
add edi, 0x90
add edx, 0xfffff9d0
mov dword [esp + 0x20], ecx
mov dword [esp + 0x78], edx
mov dword [esp + 0x3c], 2
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x78]
mov edx, dword [edx]
add edx, ecx
mov dword [edi - 0x6c0], edx
mov edx, dword [esp + 0x20]
mov edx, dword [edx]
add edx, dword [esp + 0x18]
mov dword [esp + 0x38], 3
add edx, ecx
mov ecx, dword [edi - 0x6c0]
sub ecx, esi
mov dword [edi], edx
sub edx, esi
mov dword [edi - 0x6bc], ecx
mov dword [edi + 4], edx
mov edx, dword [esp + 0x4c]
lea ecx, [edi + 0xc]
mov ebx, dword [edx + 4]
mov ebp, dword [edx]
imul ebx, eax
imul ebp, esi
add ebx, ebp
add ebx, dword [edi - 0x6c0]
mov dword [ecx - 0x6c4], ebx
mov ebx, dword [edx + 4]
mov ebp, dword [edx]
imul ebx, eax
imul ebp, esi
lea ebx, [ebp + ebx*2]
add ebx, dword [edi]
mov dword [ecx - 4], ebx
mov ebx, dword [ecx - 0x6c4]
sub ebx, esi
mov dword [ecx - 0x6c0], ebx
mov ebx, dword [ecx - 4]
sub ebx, esi
mov dword [ecx], ebx
mov ebx, dword [edx + 0xc]
mov ebp, dword [edx + 8]
imul ebx, eax
imul ebp, esi
add ebx, ebp
add ebx, dword [edi - 0x6c0]
mov dword [ecx - 0x6bc], ebx
mov ebx, dword [edx + 0xc]
mov ebp, dword [edx + 8]
imul ebx, eax
imul ebp, esi
lea ebx, [ebp + ebx*2]
add ebx, dword [edi]
mov dword [ecx + 4], ebx
mov ebx, dword [ecx - 0x6bc]
sub ebx, esi
mov dword [ecx - 0x6b8], ebx
mov ebx, dword [ecx + 4]
sub ebx, esi
mov dword [ecx + 8], ebx
mov ebx, dword [edx + 0x14]
mov ebp, dword [edx + 0x10]
imul ebx, eax
imul ebp, esi
add ebx, ebp
add ebx, dword [edi - 0x6c0]
mov dword [ecx - 0x6b4], ebx
mov ebx, dword [edx + 0x14]
mov ebp, dword [edx + 0x10]
imul ebx, eax
imul ebp, esi
lea ebx, [ebp + ebx*2]
add ebx, dword [edi]
mov dword [ecx + 0xc], ebx
mov ebx, dword [ecx - 0x6b4]
sub ebx, esi
mov dword [ecx - 0x6b0], ebx
mov ebx, dword [ecx + 0xc]
sub ebx, esi
mov dword [ecx + 0x10], ebx
mov ebx, dword [edx + 0x1c]
mov ebp, dword [edx + 0x18]
imul ebx, eax
imul ebp, esi
add ebx, ebp
add ebx, dword [edi - 0x6c0]
mov dword [ecx - 0x6ac], ebx
mov ebx, dword [edx + 0x1c]
mov ebp, dword [edx + 0x18]
imul ebx, eax
imul ebp, esi
lea ebx, [ebp + ebx*2]
add ebx, dword [edi]
mov dword [ecx + 0x14], ebx
mov ebx, dword [ecx - 0x6ac]
sub ebx, esi
mov dword [ecx - 0x6a8], ebx
mov ebx, dword [ecx + 0x14]
sub ebx, esi
mov dword [ecx + 0x18], ebx
mov ebx, dword [edx + 0x24]
mov ebp, dword [edx + 0x20]
imul ebx, eax
imul ebp, esi
add ebx, ebp
add ebx, dword [edi - 0x6c0]
add edx, 0x28
mov dword [ecx - 0x6a4], ebx
mov ebx, dword [edx - 4]
mov ebp, dword [edx - 8]
imul ebx, eax
imul ebp, esi
lea ebx, [ebp + ebx*2]
add ebx, dword [edi]
add ecx, 0x28
mov dword [ecx - 0xc], ebx
mov ebx, dword [ecx - 0x6cc]
sub ebx, esi
mov dword [ecx - 0x6c8], ebx
mov ebx, dword [ecx - 0xc]
sub ebx, esi
sub dword [esp + 0x38], 1
mov dword [ecx - 8], ebx
jne 0x7e8ee7
lea ecx, [edi - 0x6c0]
mov dword [esp + 0x38], 2
lea esp, [esp]
mov edx, dword [ecx]
mov ebx, edx
sub ebx, eax
mov dword [ecx + 0x80], ebx
mov ebx, dword [ecx + 0x6c0]
mov ebp, ebx
sub ebp, eax
mov dword [ecx + 0x740], ebp
mov ebp, dword [esp + 0x50]
add edx, ebp
mov dword [ecx + 0x88], edx
lea edx, [ebx + ebp*2]
mov dword [ecx + 0x748], edx
mov edx, 1
add ecx, 4
sub dword [esp + 0x38], edx
jne 0x7e9060
mov ecx, 0x90
add dword [esp + 0x78], ecx
add dword [esp + 0x20], ecx
add edi, ecx
sub dword [esp + 0x3c], edx
jne 0x7e8ea5
mov edi, dword [esp + 0x6c]
mov ebx, dword [esp + 0x5c]
mov edx, dword [esp + 0x54]
add dword [esp + 0x10], edx
add dword [esp + 0x24], 0x1b0
mov ecx, dword [esp + 0x68]
lea edx, [esi*8]
add dword [esp + 0x14], edx
add edi, 0x1b0
sub dword [esp + 0x40], 1
mov dword [esp + 0x6c], edi
jne 0x7e8c00
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x58]
mov ebp, dword [edx + 0x4fc]
add ebp, edi
mov dword [edx - 0x10], ebp
mov ebp, dword [edx + 0xbbc]
add ebp, edi
mov dword [edx + 0x6b0], ebp
mov ebp, dword [edx + 0x50c]
add ebp, edi
mov dword [edx], ebp
mov ebp, dword [edx + 0xbcc]
add ebp, edi
mov dword [edx + 0x6c0], ebp
mov ebp, dword [edx + 0x53c]
add ebp, edi
mov dword [edx + 0x30], ebp
mov ebp, dword [edx + 0xbfc]
add ebp, edi
mov dword [edx + 0x6f0], ebp
mov ebp, dword [edx + 0x54c]
add ebp, edi
mov dword [edx + 0x40], ebp
mov ebp, dword [edx + 0xc0c]
add ebp, edi
mov dword [edx + 0x700], ebp
mov ebp, dword [edx + 0x57c]
add ebp, edi
mov dword [edx + 0x70], ebp
mov ebp, dword [edx + 0xc3c]
add ebp, edi
mov dword [edx + 0x730], ebp
mov ebp, dword [edx + 0x584]
add ebp, edi
mov dword [edx + 0x78], ebp
mov ebp, dword [edx + 0xc44]
add ebp, edi
cmp dword [esp + 0x74], 0
mov dword [edx + 0x738], ebp
je 0x7e9244
mov ebp, 1
mov dword [esp + 0x40], ebp
jmp 0x7e91b0
mov edi, dword [esp + 0x74]
lea edi, [edi + edi + 2]
mov dword [esp + 0x78], edi
test edi, edi
jle 0x7e9236
mov edx, dword [esp + 0x30]
add edx, ebp
mov ebp, dword [esp + 0x74]
lea ebp, [ebp + ebp*2]
lea ebp, [ebp*8 + 0x1036bd60]
lea edi, [esi*8]
lea edx, [edx + edx*8]
sub edi, esi
mov dword [esp + 0x6c], ebp
mov ebp, dword [esp + 0x78]
add edx, edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x78], ebp
jmp 0x7e91f9
mov edx, dword [esp + 0x50]
mov ebp, dword [esp + 0x6c]
mov ebp, dword [ebp]
add dword [esp + 0x6c], 4
add edx, ebp
mov ebp, dword [ecx + edx*8 + 0x123f60]
add ebp, edi
mov dword [ecx + edx*8 + 0x123a54], ebp
mov ebp, dword [ecx + edx*8 + 0x124620]
add ebp, edi
sub dword [esp + 0x78], 1
mov dword [ecx + edx*8 + 0x124114], ebp
jne 0x7e91f5
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x40]
inc ebp
cmp ebp, 3
mov dword [esp + 0x40], ebp
jl 0x7e91b0
mov edi, dword [esp + 0x1c]
add dword [esp + 0x18], eax
add dword [esp + 0x28], 0x1440
add edx, 0xd80
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x30]
add edx, 0x18
add edi, 0xd80
cmp edx, 0x30
mov dword [esp + 0x1c], edi
mov dword [esp + 0x30], edx
jl 0x7e8bd6
pop edi
mov dword [ecx + 0x1455bc], esi
pop esi
pop ebp
mov dword [ecx + 0x1455b8], ebx
mov dword [ecx + 0x125550], eax
pop ebx
add esp, 0x54
ret