Function at 0x76312ea7
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
xor edi, edi
push 0x763028e0
push edi
mov esi, 0xf001f
push esi
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
cmp eax, edi
mov dword [ebp - 0x14], eax
jne 0x76312e35
xor eax, eax
jmp 0x76313074
push ebx
push edi
push edi
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
cmp ebx, edi
je 0x76313067
cmp dword [ebx], 1
jne 0x76313060
mov eax, dword [ebx + 0x10]
cmp eax, edi
je 0x76312e5f
add eax, ebx
jmp 0x76312e61
xor eax, eax
cmp eax, edi
mov dword [ebx + 0x10], eax
je 0x76312e7d
cmp eax, ebx
jb 0x76313060
mov ecx, dword [ebx + 4]
add ecx, ebx
cmp eax, ecx
ja 0x76313060
mov eax, dword [ebx + 0x14]
cmp eax, edi
je 0x76312e88
add eax, ebx
jmp 0x76312e8a
xor eax, eax
cmp eax, edi
mov dword [ebx + 0x14], eax
mov dword [ebp - 4], eax
je 0x76312ea9
cmp eax, ebx
jb 0x76313060
mov ecx, dword [ebx + 4]
add ecx, ebx
cmp eax, ecx
ja 0x76313060
mov eax, dword [ebx + 0x18]
cmp eax, edi
je 0x76312ec9
lea eax, [eax + eax*2]
shl eax, 6
push eax
push 8
call fcn.76309949
cmp eax, edi
mov dword [ebp - 8], eax
je 0x76313060
mov eax, dword [ebx + 0x18]
mov esi, dword [ebp - 8]
lea eax, [eax + eax*2]
shl eax, 6
push eax
push esi
push dword [ebx + 0x10]
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [ebp + 8]
call sym.IMM32.dll_ImmGetImeMenuItemsW
cmp eax, edi
mov dword [ebx + 0x18], eax
je 0x7631304b
cmp esi, edi
je 0x76313040
lea ecx, [eax + eax*2 + 3]
shl ecx, 6
add ecx, ebx
cmp eax, edi
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x20], ecx
mov dword [ebp - 0xc], edi
jbe 0x76312fa6
lea eax, [esi + 0x14]
mov dword [ebp + 8], eax
mov edi, dword [ebp - 4]
push 0x30
lea esi, [eax - 0x14]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax - 4]
test ecx, ecx
je 0x76312fb3
push ecx
push ebx
call fcn.7631267b
test eax, eax
mov esi, dword [ebp - 4]
mov dword [esi + 0x10], eax
je 0x76313049
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
test ecx, ecx
je 0x76312f64
push ecx
push ebx
call fcn.7631267b
test eax, eax
mov dword [esi + 0x14], eax
je 0x76313049
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa8]
test ecx, ecx
je 0x76312f86
push ecx
push ebx
call fcn.7631267b
test eax, eax
mov dword [esi + 0xbc], eax
je 0x76313049
mov eax, dword [ebp + 8]
inc dword [ebp - 0xc]
mov ecx, 0xc0
add esi, ecx
add eax, ecx
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebx + 0x18]
mov dword [ebp - 4], esi
mov dword [ebp + 8], eax
jb 0x76312f1b
xor edi, edi
mov ecx, dword [ebx + 0x14]
cmp ecx, edi
je 0x76312fb8
mov eax, ecx
sub eax, ebx
jmp 0x76312fba
mov esi, dword [ebp - 4]
jmp 0x76312f49
xor eax, eax
xor esi, esi
cmp dword [ebx + 0x18], edi
mov dword [ebx + 0x14], eax
jbe 0x76313004
lea eax, [ecx + 0x14]
mov ecx, dword [eax - 4]
cmp ecx, edi
je 0x76312fd2
sub ecx, ebx
jmp 0x76312fd4
xor ecx, ecx
mov dword [eax - 4], ecx
mov ecx, dword [eax]
cmp ecx, edi
je 0x76312fe1
sub ecx, ebx
jmp 0x76312fe3
xor ecx, ecx
mov dword [eax], ecx
lea ecx, [eax + 0xa8]
mov edx, dword [ecx]
cmp edx, edi
je 0x76312ff5
sub edx, ebx
jmp 0x76312ff7
xor edx, edx
inc esi
mov dword [ecx], edx
add eax, 0xc0
cmp esi, dword [ebx + 0x18]
jb 0x76312fc7
mov eax, dword [ebx + 0x1c]
cmp eax, edi
je 0x76313011
mov ecx, eax
sub ecx, ebx
jmp 0x76313013
xor ecx, ecx
cmp eax, edi
mov dword [ebx + 0x1c], ecx
je 0x76313040
mov ecx, dword [eax + 8]
cmp ecx, edi
mov edx, dword [eax]
je 0x76313027
sub ecx, ebx
jmp 0x76313029
xor ecx, ecx
cmp edx, edi
mov dword [eax + 8], ecx
je 0x76313036
mov ecx, edx
sub ecx, ebx
jmp 0x76313038
xor ecx, ecx
cmp edx, edi
mov dword [eax], ecx
mov eax, edx
jne 0x7631301a
mov dword [ebp - 0x10], 1
jmp 0x7631304b
xor edi, edi
cmp dword [ebp - 8], edi
je 0x76313060
push dword [ebp - 8]
push edi
push dword [0x76316888]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
pop ebx
pop edi
pop esi
leave
ret 4