Function at 0x1003d609
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x10207390]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0x24
mov eax, 0x1017ebe2
call fcn.1008546d
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 8], ebx
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x30]
jne 0x1003d69e
push str.ItemStartSetDefault
call fcn.100015f0
mov ecx, dword [esi]
mov eax, dword [ecx]
lea edx, [ebp - 0x30]
push edx
mov dword [ebp - 4], ebx
call dword [eax + 0x1c]
or dword [ebp - 4], 0xffffffff
push ebx
inc ebx
push ebx
lea ecx, [ebp - 0x30]
mov edi, eax
call fcn.100017c0
test edi, edi
je 0x1003d696
cmp dword [edi + 0x18], 8
jb 0x1003d674
mov edi, dword [edi + 4]
jmp 0x1003d677
add edi, 4
push 0x10186818
push edi
call fcn.100862d7
test eax, eax
pop ecx
pop ecx
jne 0x1003d68b
mov dword [ebp - 0x10], ebx
push str.ImeControl_File_Normal_
call fcn.100295c9
pop ecx
mov dword [esi + 8], ebx
jmp 0x1003d7d0
push str.ItemRunSetDefault
call fcn.100015f0
mov ecx, dword [esi]
mov eax, dword [ecx]
xor ebx, ebx
lea edx, [ebp - 0x30]
inc ebx
push edx
mov dword [ebp - 4], ebx
call dword [eax + 0x1c]
or dword [ebp - 4], 0xffffffff
push 0
push ebx
lea ecx, [ebp - 0x30]
mov edi, eax
call fcn.100017c0
test edi, edi
je 0x1003d870
cmp dword [edi + 0x18], 8
jb 0x1003d6dd
mov edi, dword [edi + 4]
jmp 0x1003d6e0
add edi, 4
push 0x10186818
push edi
call fcn.100862d7
test eax, eax
pop ecx
pop ecx
jne 0x1003d870
and dword [ebp - 0x10], eax
push str.ItemRunSetRate
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x14], 0x2710
call fcn.100015f0
mov ecx, dword [esi]
mov eax, dword [ecx]
lea edx, [ebp - 0x30]
push edx
mov dword [ebp - 4], 2
call dword [eax + 0x1c]
or dword [ebp - 4], 0xffffffff
push 0
push ebx
lea ecx, [ebp - 0x30]
mov edi, eax
call fcn.100017c0
test edi, edi
je 0x1003d74b
cmp dword [edi + 0x18], 8
jb 0x1003d73e
mov edi, dword [edi + 4]
jmp 0x1003d741
add edi, 4
push edi
call fcn.100865c9
pop ecx
mov dword [ebp - 0x14], eax
push str.ItemRunIntervalTime
lea ecx, [ebp - 0x30]
call fcn.100015f0
mov ecx, dword [esi]
mov eax, dword [ecx]
lea edx, [ebp - 0x30]
push edx
mov dword [ebp - 4], 3
call dword [eax + 0x1c]
or dword [ebp - 4], 0xffffffff
push 0
push ebx
lea ecx, [ebp - 0x30]
mov edi, eax
call fcn.100017c0
test edi, edi
je 0x1003d797
cmp dword [edi + 0x18], 8
jb 0x1003d78a
mov edi, dword [edi + 4]
jmp 0x1003d78d
add edi, 4
push edi
call fcn.100865c9
pop ecx
mov dword [ebp - 0x10], eax
cmp dword [esi + 0x14], 0
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x1003d7a8
call edi
mov dword [esi + 0x14], eax
call edi
sub eax, dword [esi + 0x14]
cmp eax, dword [ebp - 0x10]
jl 0x1003d870
push 0x2710
push 0
call fcn.1001c3c2
cmp eax, dword [ebp - 0x14]
pop ecx
pop ecx
jg 0x1003d870
mov dword [ebp - 0x10], ebx
xor eax, eax
cmp dword [ebp - 0x10], eax
je 0x1003d870
mov edi, 0x206
push edi
push eax
mov word [ebp + 0x208], ax
lea eax, [ebp + 0x20a]
push eax
call fcn.10085bc0
and word [ebp], 0
push edi
lea eax, [ebp + 2]
push 0
push eax
call fcn.10085bc0
add esp, 0x18
call fcn.100052f9
mov ecx, eax
call fcn.10019925
push eax
lea eax, [ebp]
push eax
call fcn.100860cd
lea eax, [ebp]
push str.SCWBImeManager.exe
push eax
call fcn.100860a3
lea eax, [ebp + 0x208]
push 0x10189190
push eax
call fcn.100860cd
lea eax, [ebp]
push eax
lea eax, [ebp + 0x208]
push eax
call fcn.100860a3
lea eax, [ebp + 0x208]
push str.__SetDefaultImeByCurrentType
push eax
call fcn.100860a3
add esp, 0x28
lea eax, [ebp + 0x208]
push eax
mov ecx, esi
call fcn.1003d563
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.1008545e
add ebp, 0x414
leave
ret