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

Disassembly:
push 0xffffffffffffffff
push 0x4b1df2
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x5116ec]
xor eax, esp
mov dword [esp + 0x9c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5116ec]
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 0x4051f7
mov eax, dword [esi]
jmp 0x4051f9
mov eax, esi
cmp dword [ebp + 0x48], ecx
jb 0x405203
mov ecx, dword [ebp + 0x34]
jmp 0x405206
lea ecx, [ebp + 0x34]
push eax
call fcn.0041c6d0
xor edi, edi
add esp, 4
cmp eax, edi
je 0x4056e6
mov edx, dword [ebp + 0x74]
mov edx, dword [edx + 4]
push 0x4c8b48
mov ecx, eax
call fcn.00415840
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.0041c830
add esp, 4
test al, al
jne 0x405318
cmp dword [esi + 0x14], 0x10
jb 0x40526b
mov esi, dword [esi]
push str.IME_SKIN_LOAD_FAILURE
push ecx
call fcn.0038e590
mov ecx, eax
add esp, 4
mov eax, esi
lea edx, [esp + 0x98]
call fcn.0038e570
mov esi, 0x10
mov byte [esp + 0xbc], 1
cmp dword [ebp + 0x48], esi
jb 0x4052a0
mov ecx, dword [ebp + 0x34]
jmp 0x4052a3
lea ecx, [ebp + 0x34]
cmp dword [eax + 0x14], esi
jb 0x4052aa
mov eax, dword [eax]
push ecx
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00384220
add esp, 0xc
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0xc0], 2
call fcn.002f7740
mov byte [esp + 0xbc], 1
cmp dword [esp + 0x38], esi
jb 0x4052e6
mov edx, dword [esp + 0x24]
push edx
call fcn.00438a36
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 0x405318
mov eax, dword [esp + 0x94]
push eax
call fcn.00438a36
add esp, 4
push 8
call fcn.00438a50
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
mov byte [esp + 0xbc], 3
cmp esi, edi
je 0x40535e
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.00404590
mov edi, eax
jmp 0x405360
xor edi, edi
mov dword [esp + 0x1c], edi
mov byte [esp + 0xbc], 4
cmp dword [esp + 0x88], 0
je 0x4053a1
mov eax, dword [esp + 0x78]
mov esi, 0x10
cmp dword [esp + 0x8c], esi
jae 0x40538c
lea eax, [esp + 0x78]
mov ecx, dword [edi]
push eax
call fcn.0036bd20
mov byte [esp + 0xbc], 0
jmp 0x4056bc
push ebp
mov ecx, str.about_name
lea esi, [esp + 0x60]
call fcn.00405720
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.00405720
mov byte [esp + 0xbc], 6
cmp dword [esp + 0x54], 0x10
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], 0
jae 0x4053f0
mov eax, esi
push eax
lea esi, [esp + 0x1c]
call fcn.003849e0
add esp, 4
test al, al
je 0x405598
cmp dword [esp + 0x18], 0
jg 0x405598
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 0x4054dc
cmp dword [esi + 0x20], 0x10
lea eax, [esi + 0xc]
jb 0x405432
mov eax, dword [eax]
call fcn.003848e0
test al, al
je 0x4054c4
cmp dword [esi + 0x3c], 0x10
lea eax, [esi + 0x28]
jb 0x40544a
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 0x40549b
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 0x405491
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 0x4054b7
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00438a36
add esp, 4
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], edi
mov byte [esp + 0x24], 0
lea ecx, [esp + 0x18]
call fcn.002fbc50
mov eax, dword [ebp + 0x18]
mov esi, dword [esp + 0x18]
cmp esi, eax
jne 0x405427
mov esi, ebp
call fcn.00405150
mov byte [esp + 0xbc], 5
mov esi, 0x10
test al, al
jne 0x405513
cmp dword [esp + 0x54], esi
jb 0x405507
mov edx, dword [esp + 0x40]
push edx
call fcn.00438a36
add esp, 4
mov edi, 0xf
xor ebx, ebx
jmp 0x405682
cmp dword [esp + 0x54], esi
jb 0x405526
mov edx, dword [esp + 0x40]
push edx
call fcn.00438a36
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 0x405554
mov eax, dword [esp + 0x5c]
push eax
call fcn.00438a36
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.00406480
mov dword [esp + 0xbc], 0xffffffff
cmp dword [esp + 0x8c], esi
jb 0x405591
mov ecx, dword [esp + 0x78]
push ecx
call fcn.00438a36
add esp, 4
mov al, 1
jmp 0x4056e8
mov esi, dword [esp + 0x20]
cmp dword [esi + 0x14], 0x10
jb 0x4055a4
mov esi, dword [esi]
push str.IME_SKIN_REQUIRE_API_VERSION
push ecx
call fcn.0038e590
mov ecx, eax
add esp, 4
mov eax, esi
lea edx, [esp + 0x98]
call fcn.0038e570
mov esi, 0x10
mov byte [esp + 0xbc], 7
cmp dword [ebp + 0x48], esi
jb 0x4055d9
mov ecx, dword [ebp + 0x34]
jmp 0x4055dc
lea ecx, [ebp + 0x34]
mov edx, dword [esp + 0x40]
cmp dword [esp + 0x54], esi
jae 0x4055ea
lea edx, [esp + 0x40]
cmp dword [eax + 0x14], esi
jb 0x4055f1
mov eax, dword [eax]
push ecx
push edx
push eax
lea edx, [esp + 0x30]
push edx
call fcn.00384220
add esp, 0x10
mov byte [esp + 0xbc], 8
cmp dword [eax + 0x14], esi
jb 0x405610
mov eax, dword [eax]
mov ecx, dword [edi]
push eax
call fcn.0036bd20
mov byte [esp + 0xbc], 7
cmp dword [esp + 0x38], esi
jb 0x405633
mov eax, dword [esp + 0x24]
push eax
call fcn.00438a36
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 0x405667
mov ecx, dword [esp + 0x94]
push ecx
call fcn.00438a36
add esp, 4
mov byte [esp + 0xbc], 5
cmp dword [esp + 0x54], esi
jb 0x405682
mov edx, dword [esp + 0x40]
push edx
call fcn.00438a36
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 0x4056a9
mov eax, dword [esp + 0x5c]
push eax
call fcn.00438a36
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.00406480
mov dword [esp + 0xbc], 0xffffffff
cmp dword [esp + 0x8c], esi
jb 0x4056e6
mov ecx, dword [esp + 0x78]
push ecx
call fcn.00438a36
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.00438a41
add esp, 0xac
ret 4