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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [0x1024306c], 1
call fcn.1002ef28
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jne 0x10140f4f
mov ebx, dword [0x10243094]
call fcn.1000112f
mov eax, 0
cmp eax, ecx
jl 0x10140ed0
push 1
call fcn.101b9dc8
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x24], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push OleUIBusyA
push 0
push 0x10236a9e
push OleUIBusyA
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x10140f10
mov eax, 0x101e52e0
push eax
push 4
mov ebx, 0x148
call fcn.101bb7c0
add esp, 0x34
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x10140f4f
mov eax, 0x10236ab1
push eax
mov ebx, dword [0x10242e20]
test ebx, ebx
je 0x10140f49
push ebx
call fcn.101b9db6
add esp, 4
pop eax
mov dword [0x10242e20], eax
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
call fcn.1002db5d
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10140f71
push ebx
call fcn.101b9db6
add esp, 4
cmp dword [0x10243d40], 1
jne 0x10140fe1
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 0x24], eax
push dword [0x10243168]
push dword [ebp - 0x24]
call fcn.1000609b
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x157c
jge 0x10140fb6
jmp 0x10141e0f
call fcn.1003a545
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [0x10243168], eax
mov dword [0x10243d40], 0
jmp 0x10141e0f
cmp dword [0x10242e30], 0
je 0x10140ff9
dec dword [0x10242e30]
jmp 0x10141e0f
push 0x101e52e0
push dword [0x10242e20]
call fcn.100017fe
add esp, 8
cmp eax, 0
jne 0x10141197
push dword [ebp + 8]
call fcn.10141e25
mov dword [0x10243d44], eax
cmp dword [0x10243d44], 0
jne 0x10141081
mov dword [0x10243d44], 0
mov eax, 0x101e52e0
push eax
mov ebx, dword [0x10242e20]
test ebx, ebx
je 0x10141052
push ebx
call fcn.101b9db6
add esp, 4
pop eax
mov dword [0x10242e20], eax
mov eax, 0x101e52e0
push eax
mov ebx, dword [0x10242e58]
test ebx, ebx
je 0x10141071
push ebx
call fcn.101b9db6
add esp, 4
pop eax
mov dword [0x10242e58], eax
call fcn.10114e99
jmp 0x10141e0f
push 0xa1
push dword [0x10243d44]
call fcn.10005f5e
mov dword [ebp - 0x24], eax
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 0x24]
push 2
mov ebx, 0x910
call fcn.101bb410
add esp, 0x1c
mov dword [ebp - 0x28], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push htons
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x101410e4
mov eax, 0x101e52e1
push eax
push 3
mov ebx, 0x19c
call fcn.101bb560
add esp, 0x28
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ecx
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x10141110
push ebx
call fcn.101b9db6
add esp, 4
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
cmp ecx, 0x80000101
jne 0x10141128
and eax, 0xff
jmp 0x10141173
cmp ecx, 0x80000201
jne 0x10141133
cwde
jmp 0x10141173
cmp ecx, 0x80000301
je 0x10141173
cmp ecx, 0x80000401
je 0x10141173
mov dword [ebp - 0x3c], eax
cmp ecx, 0x80000501
je 0x10141163
cmp ecx, 0x80000601
je 0x10141168
push 2
call fcn.101b9dc8
add esp, 4
fld dword [ebp - 0x3c]
jmp 0x1014116e
mov dword [ebp - 0x38], edx
fld qword [ebp - 0x3c]
call fcn.100020d7
mov dword [0x10243d48], eax
mov eax, 0x10236aba
push eax
mov ebx, dword [0x10242e20]
test ebx, ebx
je 0x10141191
push ebx
call fcn.101b9db6
add esp, 4
pop eax
mov dword [0x10242e20], eax
push 0x10236aba
push dword [0x10242e20]
call fcn.100017fe
add esp, 8
cmp eax, 0
jne 0x1014171a
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0x10236ac3
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
call fcn.10036418
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x101411fb
push ebx
call fcn.101b9db6
add esp, 4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x101416fb
push dword [ebp - 8]
call fcn.10036710
mov dword [ebp - 0xc], eax
push 0x2c
push dword [ebp - 8]
call fcn.10005f5e
mov dword [ebp - 0x24], eax
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 0x24]
push 2
mov ebx, 0x910
call fcn.101bb410
add esp, 0x1c
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
call fcn.1004cb4b
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1014126a
push ebx
call fcn.101b9db6
add esp, 4
push 0x30
push dword [ebp - 8]
call fcn.10005f5e
mov dword [ebp - 0x24], eax
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 0x24]
push 2
mov ebx, 0x910
call fcn.101bb410
add esp, 0x1c
mov dword [ebp - 0x28], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push htons
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x101412ca
mov eax, 0x101e52e1
push eax
push 3
mov ebx, 0x19c
call fcn.101bb560
add esp, 0x28
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ecx
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x101412f6
push ebx
call fcn.101b9db6
add esp, 4
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
cmp ecx, 0x80000004
jne 0x10141312
test eax, eax
jne 0x10141323
mov eax, 0x101e52e0
jmp 0x10141323
cmp ecx, 0x80000005
jne 0x10141323
test eax, eax
jne 0x10141323
mov eax, 0x101e52e1
push ecx
push edx
push eax
push 1
mov ebx, 0x168
call fcn.101ba6e0
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x80000004
je 0x10141352
cmp ecx, 0x80000005
jne 0x10141362
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x10141362
push ebx
call fcn.101b9db6
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10141376
push ebx
call fcn.101b9db6
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], 0x3e8
jl 0x1014145f
mov eax, str.17_0D_00_00_00_00_D0_87_01_00_75
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.10005936
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x101413ab
push ebx
call fcn.101b9db6
add esp, 4
push OleUIBusyA
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x101413be
mov eax, 0x101e52e0
push eax
push 1
mov ebx, 0x198
call fcn.101bafd0
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, str.00_00_00_00_00_00_00_00_7F_00_04
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
call fcn.10005936
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x101413f8
push ebx
call fcn.101b9db6
add esp, 4
push dword [ebp - 0x34]
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
mov ecx, 3
call fcn.100020fe
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x10141421
push ebx
call fcn.101b9db6
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10141431
push ebx
call fcn.101b9db6
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x10141441
push ebx
call fcn.101b9db6
add esp, 4
lea eax, [ebp - 0x38]
push eax
call fcn.10005da2
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x1014145a
push ebx
call fcn.101b9db6
add esp, 4
jmp 0x10141e0f
cmp dword [ebp - 0xc], 0x64
jl 0x10141541
mov eax, str.17_0D_00_00_00_00_D0_87_01_00_75
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.10005936
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1014148d
push ebx
call fcn.101b9db6
add esp, 4
push OleUIBusyA
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x101414a0
mov eax, 0x101e52e0
push eax
push 1
mov ebx, 0x198
call fcn.101bafd0
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, str.00_00_00_00_00_00_00_00_7F_00_03
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
call fcn.10005936
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x101414da
push ebx
call fcn.101b9db6
add esp, 4
push dword [ebp - 0x34]
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
mov ecx, 3
call fcn.100020fe
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x10141503
push ebx
call fcn.101b9db6
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10141513
push ebx
call fcn.101b9db6
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x10141523
push ebx
call fcn.101b9db6
add esp, 4
lea eax, [ebp - 0x38]
push eax
call fcn.10005da2
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x1014153c
push ebx
call fcn.101b9db6
add esp, 4
jmp 0x10141e0f
cmp dword [ebp - 0xc], 0xa
jl 0x10141623
mov eax, str.17_0D_00_00_00_00_D0_87_01_00_75
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.10005936
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1014156f
push ebx
call fcn.101b9db6
add esp, 4
push OleUIBusyA
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x10141582
mov eax, 0x101e52e0
push eax
push 1
mov ebx, 0x198
call fcn.101bafd0
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, str.00_00_00_00_00_00_00_00_7F_00_02
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
call fcn.10005936
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x101415bc
push ebx
call fcn.101b9db6
add esp, 4
push dword [ebp - 0x34]
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
mov ecx, 3
call fcn.100020fe
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x101415e5
push ebx
call fcn.101b9db6
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x101415f5
push ebx
call fcn.101b9db6
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x10141605
push ebx
call fcn.101b9db6
add esp, 4
lea eax, [ebp - 0x38]
push eax
call fcn.10005da2
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x1014161e
push ebx
call fcn.101b9db6
add esp, 4
jmp 0x10141e0f
mov eax, str.17_0D_00_00_00_00_D0_87_01_00_75
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.10005936
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10141647
push ebx
call fcn.101b9db6
add esp, 4
push OleUIBusyA
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x1014165a
mov eax, 0x101e52e0
push eax
push 1
mov ebx, 0x198
call fcn.101bafd0
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, str.00_00_00_00_00_00_00_00_7F_00_01
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
call fcn.10005936
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x10141694
push ebx
call fcn.101b9db6
add esp, 4
push dword [ebp - 0x34]
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
mov ecx, 3
call fcn.100020fe
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x101416bd
push ebx
call fcn.101b9db6
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x101416cd
push ebx
call fcn.101b9db6
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x101416dd
push ebx
call fcn.101b9db6
add esp, 4
lea eax, [ebp - 0x38]
push eax
call fcn.10005da2
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x101416f6
push ebx
call fcn.101b9db6
add esp, 4
jmp 0x10141e0f
mov eax, 0x10236b75
push eax
mov ebx, dword [0x10242e20]
test ebx, ebx
je 0x10141714
push ebx
call fcn.101b9db6
add esp, 4
pop eax
mov dword [0x10242e20], eax
push 0x10236b75
push dword [0x10242e20]
call fcn.100017fe
add esp, 8
cmp eax, 0
jne 0x101417a1
cmp dword [0x10243d4c], 0
jne 0x1014179c
push OleUIBusyA
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x10141758
mov eax, 0x101e52e0
push eax
push 1
mov ebx, 0x9dc
call fcn.101bac60
add esp, 0x10
push 0
push 0
push 0
push 0x80000301
push 0
push eax
push htons
push 0
push 0x101427e6
push 3
mov ebx, 0
mov eax, 0x101c7390
call fcn.101ba2b0
add esp, 0x28
jmp 0x10141e0f
push 0x10236b7e
push dword [0x10242e20]
call fcn.100017fe
add esp, 8
cmp eax, 0
jne 0x10141a67
push 4
push 0x1431338
call fcn.10005f5e
push eax
call fcn.10005f87
mov dword [ebp - 0x14], eax
push 8
push 0x1431338
call fcn.10005f5e
push eax
call fcn.10005f87
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], eax
jge 0x10141a1a
push dword [ebp - 0x14]
call fcn.10005f87
mov dword [ebp - 0x1c], eax
push 4
push dword [ebp - 0x14]
call fcn.10005f5e
mov dword [ebp - 0x14], eax
push 0x54
push dword [ebp - 0x1c]
call fcn.10005f5e
push eax
call fcn.10005f87
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
je 0x10141845
cmp dword [ebp - 0x20], 0xa
je 0x10141845
mov eax, 1
jmp 0x10141847
xor eax, eax
test eax, eax
je 0x10141854
jmp 0x101417ed
push 0x11c
push dword [ebp - 0x1c]
call fcn.10005f5e
mov dword [ebp - 0x24], eax
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 0x24]
push 2
mov ebx, 0x910
call fcn.101bb410
add esp, 0x1c
mov dword [ebp - 0x28], eax
mov eax, 0x101e5496
xor ecx, ecx
test eax, eax
je 0x1014189d
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x28]
xor ebx, ebx
test eax, eax
je 0x101418ae
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x101418c5
dec eax
test ecx, ecx
je 0x101418c5
call fcn.10005cf6
add esp, 0xc
test eax, eax
mov eax, 0
setne al
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x101418e5
push ebx
call fcn.101b9db6
add esp, 4
cmp dword [ebp - 0x2c], 0
je 0x101418f4
jmp 0x101417ed
push dword [ebp - 0x1c]
call fcn.10141f42
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
push eax
push dword [ebp - 0x24]
call fcn.100017fe
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1014192e
push ebx
call fcn.101b9db6
add esp, 4
cmp dword [ebp - 0x28], 0
je 0x10141965
push 0x2c
push dword [ebp - 0x1c]
call fcn.10005f5e
push eax
call fcn.10005f87
mov dword [ebp - 0x28], eax
push 1
push dword [ebp - 0x28]
push 0
push dword [ebp + 0x10]
call fcn.100d0a66
jmp 0x10141e0f
push 4
push dword [ebp - 0x1c]
call fcn.10005f5e
mov dword [ebp - 0x24], eax
push 1
push 0x28
push dword [ebp - 0x24]
call fcn.10024d79
mov dword [ebp - 0x28], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push OleUIBusyA
push 0
push 0x10236b87
push OleUIBusyA
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x101419b8
mov eax, 0x101e52e0
push eax
push 4
mov ebx, 0x148
call fcn.101bb7c0
add esp, 0x34
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x101419de
push ebx
call fcn.101b9db6
add esp, 4
cmp dword [ebp - 0x2c], 0xffffffff
je 0x10141a15
push 0x2c
push dword [ebp - 0x1c]
call fcn.10005f5e
push eax
call fcn.10005f87
mov dword [ebp - 0x28], eax
push 1
push dword [ebp - 0x28]
push 0
push dword [ebp + 0x10]
call fcn.100d0a66
jmp 0x10141e0f
jmp 0x101417ed
mov dword [0x10243d44], 0
mov eax, 0x10236b94
push eax
mov ebx, dword [0x10242e20]
test ebx, ebx
je 0x10141a3d
push ebx
call fcn.101b9db6
add esp, 4
pop eax
mov dword [0x10242e20], eax
mov eax, 0x101e52e0
push eax
mov ebx, dword [0x10242e58]
test ebx, ebx
je 0x10141a5c
push ebx
call fcn.101b9db6
add esp, 4
pop eax
mov dword [0x10242e58], eax
jmp 0x10141e0f
push 0x10236b94
push dword [0x10242e20]
call fcn.100017fe
add esp, 8
cmp eax, 0
jne 0x10141a92
mov dword [0x1024306c], 0
jmp 0x10141e0f
push 0x10236ab1
push dword [0x10242e20]
call fcn.100017fe
add esp, 8
cmp eax, 0
jne 0x10141b36
push 0x101e52e0
push dword [0x10242e58]
call fcn.100017fe
add esp, 8
cmp eax, 0
jne 0x10141b17
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov eax, 0x10236b9d
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
call fcn.10007f90
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x10141af8
push ebx
call fcn.101b9db6
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10141b08
push ebx
call fcn.101b9db6
add esp, 4
mov dword [0x10242e30], 2
jmp 0x10141e0f
mov eax, 0x10236baf
push eax
mov ebx, dword [0x10242e20]
test ebx, ebx
je 0x10141b30
push ebx
call fcn.101b9db6
add esp, 4
pop eax
mov dword [0x10242e20], eax
push 0x10236baf
push dword [0x10242e20]
call fcn.100017fe
add esp, 8
cmp eax, 0
jne 0x10141e0f
push 4
push 0x1431338
call fcn.10005f5e
push eax
call fcn.10005f87
mov dword [ebp - 0x14], eax
push 8
push 0x1431338
call fcn.10005f5e
push eax
call fcn.10005f87
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], eax
jge 0x10141db3
push dword [ebp - 0x14]
call fcn.10005f87
mov dword [ebp - 0x1c], eax
push 4
push dword [ebp - 0x14]
call fcn.10005f5e
mov dword [ebp - 0x14], eax
push 0x54
push dword [ebp - 0x1c]
call fcn.10005f5e
push eax
call fcn.10005f87
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
je 0x10141bda
cmp dword [ebp - 0x20], 0xa
je 0x10141bda
mov eax, 1
jmp 0x10141bdc
xor eax, eax
test eax, eax
je 0x10141be9
jmp 0x10141b82
push 0x11c
push dword [ebp - 0x1c]
call fcn.10005f5e
mov dword [ebp - 0x24], eax
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 0x24]
push 2
mov ebx, 0x910
call fcn.101bb410
add esp, 0x1c
mov dword [ebp - 0x28], eax
mov eax, 0x101e5496
xor ecx, ecx
test eax, eax
je 0x10141c32
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x28]
xor ebx, ebx
test eax, eax
je 0x10141c43
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x10141c5a
dec eax
test ecx, ecx
je 0x10141c5a
call fcn.10005cf6
add esp, 0xc
test eax, eax
mov eax, 0
setne al
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x10141c7a
push ebx
call fcn.101b9db6
add esp, 4
cmp dword [ebp - 0x2c], 0
je 0x10141c89
jmp 0x10141b82
push dword [ebp - 0x1c]
call fcn.10141f42
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
push eax
push dword [ebp - 0x24]
call fcn.100017fe
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10141cc3
push ebx
call fcn.101b9db6
add esp, 4
cmp dword [ebp - 0x28], 0
je 0x10141cfc
push 0x2c
push dword [ebp - 0x1c]
call fcn.10005f5e
push eax
call fcn.10005f87
mov dword [ebp - 0x28], eax
push 1
push dword [ebp - 0x28]
push 0
push 0x10242e58
call fcn.100d0a66
jmp 0x10141e0f
push 4
push dword [ebp - 0x1c]
call fcn.10005f5e
mov dword [ebp - 0x24], eax
push 1
push 0x28
push dword [ebp - 0x24]
call fcn.10024d79
mov dword [ebp - 0x28], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push OleUIBusyA
push 0
push 0x10236b87
push OleUIBusyA
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x10141d4f
mov eax, 0x101e52e0
push eax
push 4
mov ebx, 0x148
call fcn.101bb7c0
add esp, 0x34
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x10141d75
push ebx
call fcn.101b9db6
add esp, 4
cmp dword [ebp - 0x2c], 0xffffffff
je 0x10141dae
push 0x2c
push dword [ebp - 0x1c]
call fcn.10005f5e
push eax
call fcn.10005f87
mov dword [ebp - 0x28], eax
push 1
push dword [ebp - 0x28]
push 0
push 0x10242e58
call fcn.100d0a66
jmp 0x10141e0f
jmp 0x10141b82
mov dword [0x10243d44], 0
mov eax, 0x101e52e0
push eax
mov ebx, dword [0x10242e20]
test ebx, ebx
je 0x10141dd6
push ebx
call fcn.101b9db6
add esp, 4
pop eax
mov dword [0x10242e20], eax
mov eax, 0x101e52e0
push eax
mov ebx, dword [0x10242e58]
test ebx, ebx
je 0x10141df5
push ebx
call fcn.101b9db6
add esp, 4
pop eax
mov dword [0x10242e58], eax
mov dword [0x1024306c], 0
call fcn.10114e99
jmp 0x10141e0f
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10141e1f
push ebx
call fcn.101b9db6
add esp, 4
mov esp, ebp
pop ebp
ret 0xc