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

Disassembly:
push 0xffffffffffffffff
push 0x5c1df2
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [str.W__a]
xor eax, esp
mov dword [esp + 0x9c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [str.W__a]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xc4]
lea esi, [ebp + 0x50]
mov ecx, 0x10
mov dword [esp + 0x20], esi
cmp dword [esi + 0x14], ecx
jb 0x5151f7
mov eax, dword [esi]
jmp 0x5151f9
mov eax, esi
cmp dword [ebp + 0x48], ecx
jb 0x515203
mov ecx, dword [ebp + 0x34]
jmp 0x515206
lea ecx, [ebp + 0x34]
push eax
call fcn.0052c6d0
xor edi, edi
add esp, 4
cmp eax, edi
je 0x5156e6
mov edx, dword [ebp + 0x74]
mov edx, dword [edx + 4]
push 0x5d8b48
mov ecx, eax
call fcn.00525840
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], edi
mov byte [esp + 0x78], 0
lea eax, [ebp + 0x24]
mov dword [esp + 0xbc], edi
mov ecx, dword [ebp + 0x74]
lea edx, [ebp + 0x14]
push eax
call fcn.0052c830
add esp, 4
test al, al
jne 0x515318
cmp dword [esi + 0x14], 0x10
jb 0x51526b
mov esi, dword [esi]
push str.IME_SKIN_LOAD_FAILURE
push ecx
call fcn.0049e590
mov ecx, eax
add esp, 4
mov eax, esi
lea edx, [esp + 0x98]
call fcn.0049e570
mov esi, 0x10
mov byte [esp + 0xbc], 1
cmp dword [ebp + 0x48], esi
jb 0x5152a0
mov ecx, dword [ebp + 0x34]
jmp 0x5152a3
lea ecx, [ebp + 0x34]
cmp dword [eax + 0x14], esi
jb 0x5152aa
mov eax, dword [eax]
push ecx
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00494220
add esp, 0xc
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0xc0], 2
call fcn.00407740
mov byte [esp + 0xbc], 1
cmp dword [esp + 0x38], esi
jb 0x5152e6
mov edx, dword [esp + 0x24]
push edx
call fcn.00548a36
add esp, 4
mov byte [esp + 0xbc], 0
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], edi
mov byte [esp + 0x24], 0
cmp dword [esp + 0xa8], esi
jb 0x515318
mov eax, dword [esp + 0x94]
push eax
call fcn.00548a36
add esp, 4
push 8
call fcn.00548a50
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
mov byte [esp + 0xbc], 3
cmp esi, edi
je 0x51535e
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
mov edx, dword [ebp + 0x70]
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [eax]
push ecx
push 0
push ecx
mov ecx, eax
mov eax, dword [edx + 4]
call eax
push esi
mov edi, eax
call fcn.00514590
mov edi, eax
jmp 0x515360
xor edi, edi
mov dword [esp + 0x1c], edi
mov byte [esp + 0xbc], 4
cmp dword [esp + 0x88], 0
je 0x5153a1
mov eax, dword [esp + 0x78]
mov esi, 0x10
cmp dword [esp + 0x8c], esi
jae 0x51538c
lea eax, [esp + 0x78]
mov ecx, dword [edi]
push eax
call fcn.0047bd20
mov byte [esp + 0xbc], 0
jmp 0x5156bc
push ebp
mov ecx, str.about_name
lea esi, [esp + 0x60]
call fcn.00515720
mov byte [esp + 0xbc], 5
mov ecx, dword [edi]
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
mov eax, esi
push eax
call edx
push ebp
mov ecx, str._minimumGoogleImeSkinVersion
lea esi, [esp + 0x44]
call fcn.00515720
mov byte [esp + 0xbc], 6
cmp dword [esp + 0x54], 0x10
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], 0
jae 0x5153f0
mov eax, esi
push eax
lea esi, [esp + 0x1c]
call fcn.004949e0
add esp, 4
test al, al
je 0x515598
cmp dword [esp + 0x18], 0
jg 0x515598
mov eax, dword [ebp + 0x6c]
or dword [eax], 8
mov eax, dword [ebp + 0x18]
mov esi, dword [eax]
mov dword [esp + 0x18], esi
cmp esi, eax
je 0x5154dc
cmp dword [esi + 0x20], 0x10
lea eax, [esi + 0xc]
jb 0x515432
mov eax, dword [eax]
call fcn.004948e0
test al, al
je 0x5154c4
cmp dword [esi + 0x3c], 0x10
lea eax, [esi + 0x28]
jb 0x51544a
mov eax, dword [eax]
mov esi, 0xf
mov dword [esp + 0x38], esi
mov byte [esp + 0xbc], 9
mov ecx, dword [ebp + 0x74]
xor edi, edi
lea ebx, [esp + 0x24]
mov dword [esp + 0x34], edi
mov byte [esp + 0x24], 0
mov edx, dword [ecx]
push ebx
push eax
mov eax, dword [edx + 0x18]
call eax
test al, al
je 0x51549b
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
cmp dword [esp + 0x38], 0x10
mov ecx, dword [esp + 0x24]
jae 0x515491
mov ecx, ebx
mov edx, dword [eax]
push ecx
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
mov byte [esp + 0xbc], 6
cmp dword [esp + 0x38], 0x10
jb 0x5154b7
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00548a36
add esp, 4
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], edi
mov byte [esp + 0x24], 0
lea ecx, [esp + 0x18]
call fcn.0040bc50
mov eax, dword [ebp + 0x18]
mov esi, dword [esp + 0x18]
cmp esi, eax
jne 0x515427
mov esi, ebp
call fcn.00515150
mov byte [esp + 0xbc], 5
mov esi, 0x10
test al, al
jne 0x515513
cmp dword [esp + 0x54], esi
jb 0x515507
mov edx, dword [esp + 0x40]
push edx
call fcn.00548a36
add esp, 4
mov edi, 0xf
xor ebx, ebx
jmp 0x515682
cmp dword [esp + 0x54], esi
jb 0x515526
mov edx, dword [esp + 0x40]
push edx
call fcn.00548a36
add esp, 4
xor ebx, ebx
mov edi, 0xf
mov byte [esp + 0xbc], 4
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
cmp dword [esp + 0x70], esi
jb 0x515554
mov eax, dword [esp + 0x5c]
push eax
call fcn.00548a36
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
mov byte [esp + 0xbc], bl
call fcn.00516480
mov dword [esp + 0xbc], 0xffffffff
cmp dword [esp + 0x8c], esi
jb 0x515591
mov ecx, dword [esp + 0x78]
push ecx
call fcn.00548a36
add esp, 4
mov al, 1
jmp 0x5156e8
mov esi, dword [esp + 0x20]
cmp dword [esi + 0x14], 0x10
jb 0x5155a4
mov esi, dword [esi]
push str.IME_SKIN_REQUIRE_API_VERSION
push ecx
call fcn.0049e590
mov ecx, eax
add esp, 4
mov eax, esi
lea edx, [esp + 0x98]
call fcn.0049e570
mov esi, 0x10
mov byte [esp + 0xbc], 7
cmp dword [ebp + 0x48], esi
jb 0x5155d9
mov ecx, dword [ebp + 0x34]
jmp 0x5155dc
lea ecx, [ebp + 0x34]
mov edx, dword [esp + 0x40]
cmp dword [esp + 0x54], esi
jae 0x5155ea
lea edx, [esp + 0x40]
cmp dword [eax + 0x14], esi
jb 0x5155f1
mov eax, dword [eax]
push ecx
push edx
push eax
lea edx, [esp + 0x30]
push edx
call fcn.00494220
add esp, 0x10
mov byte [esp + 0xbc], 8
cmp dword [eax + 0x14], esi
jb 0x515610
mov eax, dword [eax]
mov ecx, dword [edi]
push eax
call fcn.0047bd20
mov byte [esp + 0xbc], 7
cmp dword [esp + 0x38], esi
jb 0x515633
mov eax, dword [esp + 0x24]
push eax
call fcn.00548a36
add esp, 4
xor ebx, ebx
mov edi, 0xf
mov byte [esp + 0xbc], 6
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
cmp dword [esp + 0xa8], esi
jb 0x515667
mov ecx, dword [esp + 0x94]
push ecx
call fcn.00548a36
add esp, 4
mov byte [esp + 0xbc], 5
cmp dword [esp + 0x54], esi
jb 0x515682
mov edx, dword [esp + 0x40]
push edx
call fcn.00548a36
add esp, 4
mov byte [esp + 0xbc], 4
mov byte [esp + 0x40], bl
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], edi
cmp dword [esp + 0x70], esi
jb 0x5156a9
mov eax, dword [esp + 0x5c]
push eax
call fcn.00548a36
add esp, 4
mov byte [esp + 0xbc], bl
mov byte [esp + 0x5c], bl
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], edi
lea ecx, [esp + 0x1c]
call fcn.00516480
mov dword [esp + 0xbc], 0xffffffff
cmp dword [esp + 0x8c], esi
jb 0x5156e6
mov ecx, dword [esp + 0x78]
push ecx
call fcn.00548a36
add esp, 4
xor al, al
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.00548a41
add esp, 0xac
ret 4