Function at 0x417b1e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 0xc], 0x401
jne 0x41820c
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push 0x49d718
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1a0]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jne 0x417b86
push 1
push 0
push 0x49d718
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1a0]
cmp dword [ebp + 0x14], 1
jne 0x417bf9
push 1
mov eax, 0x49a782
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0x49d754
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x190]
mov ebx, eax
test ebx, ebx
je 0x417bbf
push ebx
call fcn.004430f9
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x417bcf
push ebx
call fcn.004430f9
add esp, 4
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push 1
push 0xff0090
push 0x49d754
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x194]
jmp 0x418202
cmp dword [ebp + 0x14], 2
jne 0x417caf
mov eax, 0x49a7a0
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x417c19
push ebx
call fcn.004430f9
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 1
lea eax, [ebp - 4]
push eax
push 0x49d754
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x190]
mov ebx, eax
test ebx, ebx
je 0x417c44
push ebx
call fcn.004430f9
add esp, 4
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push 1
push 0xff
push 0x49d754
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x194]
push 1
push 0
push 0x10
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 1
push dword [ebp + 8]
push 0x49d738
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x417caa
push ebx
call fcn.004430f9
add esp, 4
jmp 0x418202
cmp dword [ebp + 0x14], 3
jne 0x418001
push 1
mov eax, 0x49a7bb
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0x49d754
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x190]
mov ebx, eax
test ebx, ebx
je 0x417ce8
push ebx
call fcn.004430f9
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x417cf8
push ebx
call fcn.004430f9
add esp, 4
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push 1
push 0xff00
push 0x49d754
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x194]
push 0x80000301
push 0
push 0x7d0
push 1
mov ebx, 0x67c
call fcn.00448480
add esp, 0x10
mov ebx, dword [0x49d70c]
add ebx, 8
mov dword [ebp - 0xc], ebx
push dword [ebp - 0xc]
call fcn.00418245
test eax, eax
je 0x417f55
mov ebx, dword [0x49d70c]
add ebx, 0x18
mov dword [ebp - 0xc], ebx
mov ebx, dword [0x49d768]
add ebx, 0x38
mov dword [ebp - 0x10], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push OleUIBusyA
push 0
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx]
test eax, eax
jne 0x417d90
mov eax, 0x4722d5
push eax
push OleUIBusyA
push 0
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x417da6
mov eax, 0x4722d5
push eax
push 3
mov ebx, 0x18c
call fcn.00445d90
add esp, 0x28
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x417de5
mov ebx, dword [0x49d768]
add ebx, 0x30
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
cmp dword [ebx], 0
jle 0x417de5
mov eax, 1
jmp 0x417de7
xor eax, eax
test eax, eax
je 0x417f2b
mov ebx, dword [0x49d768]
add ebx, 0x38
mov dword [ebp - 0xc], ebx
push 0x49a7d7
mov ebx, dword [ebp - 0xc]
push dword [ebx]
push 0x49a80e
mov ecx, 3
call fcn.0040106b
add esp, 0xc
mov dword [ebp - 0x10], eax
push 1
push 0
push 1
push 1
mov eax, 0x49a81f
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 1
push dword [ebp + 8]
push 0x49d738
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x417e5f
push ebx
call fcn.004430f9
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x417e6f
push ebx
call fcn.004430f9
add esp, 4
cmp dword [ebp - 0x18], 1
jne 0x417f2b
push 0
push 0
push 0
push 0x41aca0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
nop
nop
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x417f0d
push 1
push 0
push 0x10
push 1
mov eax, 0x499e78
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
mov eax, 0x49a82c
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 1
push dword [ebp + 8]
push 0x49d738
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x417ef8
push ebx
call fcn.004430f9
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x417f08
push ebx
call fcn.004430f9
add esp, 4
jmp 0x417f21
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
mov dword [ebp - 8], 0
mov eax, 0
jmp 0x41822d
call fcn.004040b4
mov ebx, dword [0x49d768]
add ebx, 0x50
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call fcn.0041a35c
mov dword [0x49d758], 1
jmp 0x417ffc
mov eax, 0x49a857
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x417f6b
push ebx
call fcn.004430f9
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 1
lea eax, [ebp - 4]
push eax
push 0x49d754
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x190]
mov ebx, eax
test ebx, ebx
je 0x417f96
push ebx
call fcn.004430f9
add esp, 4
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push 1
push 0xff00
push 0x49d754
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x194]
push 1
push 0
push 0x10
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 1
push dword [ebp + 8]
push 0x49d738
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x417ffc
push ebx
call fcn.004430f9
add esp, 4
jmp 0x418202
cmp dword [ebp + 0x14], 4
jne 0x4180b8
mov eax, 0x49a876
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x418021
push ebx
call fcn.004430f9
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 1
lea eax, [ebp - 4]
push eax
push 0x49d754
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x190]
mov ebx, eax
test ebx, ebx
je 0x41804c
push ebx
call fcn.004430f9
add esp, 4
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push 1
push 0xff
push 0x49d754
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x194]
push 1
push 0
push 0x10
push 1
mov eax, 0x49a89f
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 1
push dword [ebp + 8]
push 0x49d738
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4180b3
push ebx
call fcn.004430f9
add esp, 4
jmp 0x418202
cmp dword [ebp + 0x14], 5
jne 0x4181d7
mov ebx, dword [0x49d70c]
add ebx, 0x14
mov dword [ebp - 0xc], ebx
push dword [ebp - 0xc]
call fcn.00402a7d
test eax, eax
je 0x418112
mov ebx, dword [0x49d70c]
add ebx, 0x14
mov dword [ebp - 0xc], ebx
push OleUIBusyA
push 0
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x4180ff
mov eax, 0x4722d5
push eax
push 1
mov ebx, 0x244
call fcn.00445bc0
add esp, 0x10
mov eax, 0x49a8aa
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x418128
push ebx
call fcn.004430f9
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 1
lea eax, [ebp - 4]
push eax
push 0x49d754
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x190]
mov ebx, eax
test ebx, ebx
je 0x418153
push ebx
call fcn.004430f9
add esp, 4
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push 1
push 0xff
push 0x49d754
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x194]
push 1
push 0
push 0x10
push 1
mov eax, 0x49a8c7
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
mov eax, 0x49a8d8
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 1
push dword [ebp + 8]
push 0x49d738
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4181c2
push ebx
call fcn.004430f9
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4181d2
push ebx
call fcn.004430f9
add esp, 4
jmp 0x418202
cmp dword [ebp + 0x14], 6
jne 0x4181f8
push 0x49d718
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x90]
jmp 0x418202
cmp dword [ebp + 0x14], 7
jne 0x418202
mov eax, 0
jmp 0x41822d
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [0x49d744]
call dword [sym.imp.USER32.dll_CallWindowProcA]
nop
nop
nop
nop
jmp 0x41822d
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41823e
push ebx
call fcn.004430f9
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10