Function at 0x1013cec9
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 [0x1023c1af], 1
call fcn.1002b5d8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jne 0x1013cfc6
mov ebx, dword [0x1023c1d7]
call fcn.1000128f
mov eax, 0
cmp eax, ecx
jl 0x1013cf47
push 1
call fcn.101b4b03
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 0x1022fce8
push OleUIBusyA
push 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x1013cf87
mov eax, 0x101e0319
push eax
push 4
mov ebx, 0x148
call fcn.101b6110
add esp, 0x34
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x1013cfc6
mov eax, 0x1022fcfb
push eax
mov ebx, dword [0x1023bfb3]
test ebx, ebx
je 0x1013cfc0
push ebx
call fcn.101b4af1
add esp, 4
pop eax
mov dword [0x1023bfb3], eax
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
call fcn.1002a20d
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1013cfe8
push ebx
call fcn.101b4af1
add esp, 4
cmp dword [0x1023ce77], 1
jne 0x1013d058
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 0x24], eax
push dword [0x1023c2a3]
push dword [ebp - 0x24]
call fcn.100066be
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x157c
jge 0x1013d02d
jmp 0x1013de86
call fcn.10036a3a
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [0x1023c2a3], eax
mov dword [0x1023ce77], 0
jmp 0x1013de86
cmp dword [0x1023c09f], 0
je 0x1013d070
dec dword [0x1023c09f]
jmp 0x1013de86
push 0x101e0319
push dword [0x1023bfb3]
call fcn.10001112
add esp, 8
cmp eax, 0
jne 0x1013d20e
push dword [ebp + 8]
call fcn.1013de9c
mov dword [0x1023ce7b], eax
cmp dword [0x1023ce7b], 0
jne 0x1013d0f8
mov dword [0x1023ce7b], 0
mov eax, 0x101e0319
push eax
mov ebx, dword [0x1023bfb3]
test ebx, ebx
je 0x1013d0c9
push ebx
call fcn.101b4af1
add esp, 4
pop eax
mov dword [0x1023bfb3], eax
mov eax, 0x101e0319
push eax
mov ebx, dword [0x1023c0c7]
test ebx, ebx
je 0x1013d0e8
push ebx
call fcn.101b4af1
add esp, 4
pop eax
mov dword [0x1023c0c7], eax
call fcn.10111423
jmp 0x1013de86
push 0xa1
push dword [0x1023ce7b]
call fcn.100066e3
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.101b60c0
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 0x1013d15b
mov eax, 0x101e030f
push eax
push 3
mov ebx, 0x19c
call fcn.101b5ee0
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 0x1013d187
push ebx
call fcn.101b4af1
add esp, 4
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
cmp ecx, 0x80000101
jne 0x1013d19f
and eax, 0xff
jmp 0x1013d1ea
cmp ecx, 0x80000201
jne 0x1013d1aa
cwde
jmp 0x1013d1ea
cmp ecx, 0x80000301
je 0x1013d1ea
cmp ecx, 0x80000401
je 0x1013d1ea
mov dword [ebp - 0x3c], eax
cmp ecx, 0x80000501
je 0x1013d1da
cmp ecx, 0x80000601
je 0x1013d1df
push 2
call fcn.101b4b03
add esp, 4
fld dword [ebp - 0x3c]
jmp 0x1013d1e5
mov dword [ebp - 0x38], edx
fld qword [ebp - 0x3c]
call fcn.100012af
mov dword [0x1023ce7f], eax
mov eax, 0x1022fd04
push eax
mov ebx, dword [0x1023bfb3]
test ebx, ebx
je 0x1013d208
push ebx
call fcn.101b4af1
add esp, 4
pop eax
mov dword [0x1023bfb3], eax
push 0x1022fd04
push dword [0x1023bfb3]
call fcn.10001112
add esp, 8
cmp eax, 0
jne 0x1013d791
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, 0x1022fd0d
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
call fcn.1003290d
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x1013d272
push ebx
call fcn.101b4af1
add esp, 4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1013d772
push dword [ebp - 8]
call fcn.10032c05
mov dword [ebp - 0xc], eax
push 0x2c
push dword [ebp - 8]
call fcn.100066e3
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.101b60c0
add esp, 0x1c
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
call fcn.1004905e
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1013d2e1
push ebx
call fcn.101b4af1
add esp, 4
push 0x30
push dword [ebp - 8]
call fcn.100066e3
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.101b60c0
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 0x1013d341
mov eax, 0x101e030f
push eax
push 3
mov ebx, 0x19c
call fcn.101b5ee0
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 0x1013d36d
push ebx
call fcn.101b4af1
add esp, 4
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
cmp ecx, 0x80000004
jne 0x1013d389
test eax, eax
jne 0x1013d39a
mov eax, 0x101e0319
jmp 0x1013d39a
cmp ecx, 0x80000005
jne 0x1013d39a
test eax, eax
jne 0x1013d39a
mov eax, 0x101e030f
push ecx
push edx
push eax
push 1
mov ebx, 0x168
call fcn.101b5220
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x80000004
je 0x1013d3c9
cmp ecx, 0x80000005
jne 0x1013d3d9
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x1013d3d9
push ebx
call fcn.101b4af1
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1013d3ed
push ebx
call fcn.101b4af1
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], 0x3e8
jl 0x1013d4d6
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.1000279e
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1013d422
push ebx
call fcn.101b4af1
add esp, 4
push OleUIBusyA
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x1013d435
mov eax, 0x101e0319
push eax
push 1
mov ebx, 0x198
call fcn.101b5a70
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.1000279e
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x1013d46f
push ebx
call fcn.101b4af1
add esp, 4
push dword [ebp - 0x34]
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
mov ecx, 3
call fcn.100012d6
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1013d498
push ebx
call fcn.101b4af1
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x1013d4a8
push ebx
call fcn.101b4af1
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x1013d4b8
push ebx
call fcn.101b4af1
add esp, 4
lea eax, [ebp - 0x38]
push eax
call fcn.1001db98
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x1013d4d1
push ebx
call fcn.101b4af1
add esp, 4
jmp 0x1013de86
cmp dword [ebp - 0xc], 0x64
jl 0x1013d5b8
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.1000279e
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1013d504
push ebx
call fcn.101b4af1
add esp, 4
push OleUIBusyA
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x1013d517
mov eax, 0x101e0319
push eax
push 1
mov ebx, 0x198
call fcn.101b5a70
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.1000279e
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x1013d551
push ebx
call fcn.101b4af1
add esp, 4
push dword [ebp - 0x34]
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
mov ecx, 3
call fcn.100012d6
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1013d57a
push ebx
call fcn.101b4af1
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x1013d58a
push ebx
call fcn.101b4af1
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x1013d59a
push ebx
call fcn.101b4af1
add esp, 4
lea eax, [ebp - 0x38]
push eax
call fcn.1001db98
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x1013d5b3
push ebx
call fcn.101b4af1
add esp, 4
jmp 0x1013de86
cmp dword [ebp - 0xc], 0xa
jl 0x1013d69a
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.1000279e
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1013d5e6
push ebx
call fcn.101b4af1
add esp, 4
push OleUIBusyA
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x1013d5f9
mov eax, 0x101e0319
push eax
push 1
mov ebx, 0x198
call fcn.101b5a70
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.1000279e
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x1013d633
push ebx
call fcn.101b4af1
add esp, 4
push dword [ebp - 0x34]
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
mov ecx, 3
call fcn.100012d6
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1013d65c
push ebx
call fcn.101b4af1
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x1013d66c
push ebx
call fcn.101b4af1
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x1013d67c
push ebx
call fcn.101b4af1
add esp, 4
lea eax, [ebp - 0x38]
push eax
call fcn.1001db98
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x1013d695
push ebx
call fcn.101b4af1
add esp, 4
jmp 0x1013de86
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.1000279e
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1013d6be
push ebx
call fcn.101b4af1
add esp, 4
push OleUIBusyA
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x1013d6d1
mov eax, 0x101e0319
push eax
push 1
mov ebx, 0x198
call fcn.101b5a70
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.1000279e
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x1013d70b
push ebx
call fcn.101b4af1
add esp, 4
push dword [ebp - 0x34]
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
mov ecx, 3
call fcn.100012d6
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1013d734
push ebx
call fcn.101b4af1
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x1013d744
push ebx
call fcn.101b4af1
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x1013d754
push ebx
call fcn.101b4af1
add esp, 4
lea eax, [ebp - 0x38]
push eax
call fcn.1001db98
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x1013d76d
push ebx
call fcn.101b4af1
add esp, 4
jmp 0x1013de86
mov eax, 0x1022fdbf
push eax
mov ebx, dword [0x1023bfb3]
test ebx, ebx
je 0x1013d78b
push ebx
call fcn.101b4af1
add esp, 4
pop eax
mov dword [0x1023bfb3], eax
push 0x1022fdbf
push dword [0x1023bfb3]
call fcn.10001112
add esp, 8
cmp eax, 0
jne 0x1013d818
cmp dword [0x1023ce83], 0
jne 0x1013d813
push OleUIBusyA
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x1013d7cf
mov eax, 0x101e0319
push eax
push 1
mov ebx, 0x9dc
call fcn.101b5700
add esp, 0x10
push 0
push 0
push 0
push 0x80000301
push 0
push eax
push htons
push 0
push 0x1013e85d
push 3
mov ebx, 0
mov eax, 0x101c20c0
call fcn.101b4fe0
add esp, 0x28
jmp 0x1013de86
push 0x1022fdc8
push dword [0x1023bfb3]
call fcn.10001112
add esp, 8
cmp eax, 0
jne 0x1013dade
push 4
push 0x1431338
call fcn.100066e3
push eax
call fcn.1001dd54
mov dword [ebp - 0x14], eax
push 8
push 0x1431338
call fcn.100066e3
push eax
call fcn.1001dd54
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], eax
jge 0x1013da91
push dword [ebp - 0x14]
call fcn.1001dd54
mov dword [ebp - 0x1c], eax
push 4
push dword [ebp - 0x14]
call fcn.100066e3
mov dword [ebp - 0x14], eax
push 0x54
push dword [ebp - 0x1c]
call fcn.100066e3
push eax
call fcn.1001dd54
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
je 0x1013d8bc
cmp dword [ebp - 0x20], 0xa
je 0x1013d8bc
mov eax, 1
jmp 0x1013d8be
xor eax, eax
test eax, eax
je 0x1013d8cb
jmp 0x1013d864
push 0x11c
push dword [ebp - 0x1c]
call fcn.100066e3
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.101b60c0
add esp, 0x1c
mov dword [ebp - 0x28], eax
mov eax, 0x101e3200
xor ecx, ecx
test eax, eax
je 0x1013d914
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x28]
xor ebx, ebx
test eax, eax
je 0x1013d925
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x1013d93c
dec eax
test ecx, ecx
je 0x1013d93c
call fcn.10002532
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 0x1013d95c
push ebx
call fcn.101b4af1
add esp, 4
cmp dword [ebp - 0x2c], 0
je 0x1013d96b
jmp 0x1013d864
push dword [ebp - 0x1c]
call fcn.1013dfb9
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
push eax
push dword [ebp - 0x24]
call fcn.10001112
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 0x1013d9a5
push ebx
call fcn.101b4af1
add esp, 4
cmp dword [ebp - 0x28], 0
je 0x1013d9dc
push 0x2c
push dword [ebp - 0x1c]
call fcn.100066e3
push eax
call fcn.1001dd54
mov dword [ebp - 0x28], eax
push 1
push dword [ebp - 0x28]
push 0
push dword [ebp + 0x10]
call fcn.100cd395
jmp 0x1013de86
push 4
push dword [ebp - 0x1c]
call fcn.100066e3
mov dword [ebp - 0x24], eax
push 1
push 0x28
push dword [ebp - 0x24]
call fcn.1001deda
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 0x1022fdd1
push OleUIBusyA
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x1013da2f
mov eax, 0x101e0319
push eax
push 4
mov ebx, 0x148
call fcn.101b6110
add esp, 0x34
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1013da55
push ebx
call fcn.101b4af1
add esp, 4
cmp dword [ebp - 0x2c], 0xffffffff
je 0x1013da8c
push 0x2c
push dword [ebp - 0x1c]
call fcn.100066e3
push eax
call fcn.1001dd54
mov dword [ebp - 0x28], eax
push 1
push dword [ebp - 0x28]
push 0
push dword [ebp + 0x10]
call fcn.100cd395
jmp 0x1013de86
jmp 0x1013d864
mov dword [0x1023ce7b], 0
mov eax, 0x1022fdde
push eax
mov ebx, dword [0x1023bfb3]
test ebx, ebx
je 0x1013dab4
push ebx
call fcn.101b4af1
add esp, 4
pop eax
mov dword [0x1023bfb3], eax
mov eax, 0x101e0319
push eax
mov ebx, dword [0x1023c0c7]
test ebx, ebx
je 0x1013dad3
push ebx
call fcn.101b4af1
add esp, 4
pop eax
mov dword [0x1023c0c7], eax
jmp 0x1013de86
push 0x1022fdde
push dword [0x1023bfb3]
call fcn.10001112
add esp, 8
cmp eax, 0
jne 0x1013db09
mov dword [0x1023c1af], 0
jmp 0x1013de86
push 0x1022fcfb
push dword [0x1023bfb3]
call fcn.10001112
add esp, 8
cmp eax, 0
jne 0x1013dbad
push 0x101e0319
push dword [0x1023c0c7]
call fcn.10001112
add esp, 8
cmp eax, 0
jne 0x1013db8e
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov eax, 0x1022fde7
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
call fcn.100025de
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1013db6f
push ebx
call fcn.101b4af1
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1013db7f
push ebx
call fcn.101b4af1
add esp, 4
mov dword [0x1023c09f], 2
jmp 0x1013de86
mov eax, 0x1022fdf9
push eax
mov ebx, dword [0x1023bfb3]
test ebx, ebx
je 0x1013dba7
push ebx
call fcn.101b4af1
add esp, 4
pop eax
mov dword [0x1023bfb3], eax
push 0x1022fdf9
push dword [0x1023bfb3]
call fcn.10001112
add esp, 8
cmp eax, 0
jne 0x1013de86
push 4
push 0x1431338
call fcn.100066e3
push eax
call fcn.1001dd54
mov dword [ebp - 0x14], eax
push 8
push 0x1431338
call fcn.100066e3
push eax
call fcn.1001dd54
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], eax
jge 0x1013de2a
push dword [ebp - 0x14]
call fcn.1001dd54
mov dword [ebp - 0x1c], eax
push 4
push dword [ebp - 0x14]
call fcn.100066e3
mov dword [ebp - 0x14], eax
push 0x54
push dword [ebp - 0x1c]
call fcn.100066e3
push eax
call fcn.1001dd54
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
je 0x1013dc51
cmp dword [ebp - 0x20], 0xa
je 0x1013dc51
mov eax, 1
jmp 0x1013dc53
xor eax, eax
test eax, eax
je 0x1013dc60
jmp 0x1013dbf9
push 0x11c
push dword [ebp - 0x1c]
call fcn.100066e3
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.101b60c0
add esp, 0x1c
mov dword [ebp - 0x28], eax
mov eax, 0x101e3200
xor ecx, ecx
test eax, eax
je 0x1013dca9
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x28]
xor ebx, ebx
test eax, eax
je 0x1013dcba
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x1013dcd1
dec eax
test ecx, ecx
je 0x1013dcd1
call fcn.10002532
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 0x1013dcf1
push ebx
call fcn.101b4af1
add esp, 4
cmp dword [ebp - 0x2c], 0
je 0x1013dd00
jmp 0x1013dbf9
push dword [ebp - 0x1c]
call fcn.1013dfb9
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
push eax
push dword [ebp - 0x24]
call fcn.10001112
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 0x1013dd3a
push ebx
call fcn.101b4af1
add esp, 4
cmp dword [ebp - 0x28], 0
je 0x1013dd73
push 0x2c
push dword [ebp - 0x1c]
call fcn.100066e3
push eax
call fcn.1001dd54
mov dword [ebp - 0x28], eax
push 1
push dword [ebp - 0x28]
push 0
push 0x1023c0c7
call fcn.100cd395
jmp 0x1013de86
push 4
push dword [ebp - 0x1c]
call fcn.100066e3
mov dword [ebp - 0x24], eax
push 1
push 0x28
push dword [ebp - 0x24]
call fcn.1001deda
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 0x1022fdd1
push OleUIBusyA
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x1013ddc6
mov eax, 0x101e0319
push eax
push 4
mov ebx, 0x148
call fcn.101b6110
add esp, 0x34
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1013ddec
push ebx
call fcn.101b4af1
add esp, 4
cmp dword [ebp - 0x2c], 0xffffffff
je 0x1013de25
push 0x2c
push dword [ebp - 0x1c]
call fcn.100066e3
push eax
call fcn.1001dd54
mov dword [ebp - 0x28], eax
push 1
push dword [ebp - 0x28]
push 0
push 0x1023c0c7
call fcn.100cd395
jmp 0x1013de86
jmp 0x1013dbf9
mov dword [0x1023ce7b], 0
mov eax, 0x101e0319
push eax
mov ebx, dword [0x1023bfb3]
test ebx, ebx
je 0x1013de4d
push ebx
call fcn.101b4af1
add esp, 4
pop eax
mov dword [0x1023bfb3], eax
mov eax, 0x101e0319
push eax
mov ebx, dword [0x1023c0c7]
test ebx, ebx
je 0x1013de6c
push ebx
call fcn.101b4af1
add esp, 4
pop eax
mov dword [0x1023c0c7], eax
mov dword [0x1023c1af], 0
call fcn.10111423
jmp 0x1013de86
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1013de96
push ebx
call fcn.101b4af1
add esp, 4
mov esp, ebp
pop ebp
ret 0xc