Function at 0x41fafb
Capabilities:
Create thread

Disassembly:
push 0x84
mov eax, 0x466b2e
call fcn.00450dc6
mov edi, ecx
mov dword [ebp - 0x40], edi
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x58], eax
xor esi, esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], esi
mov eax, dword [0x492290]
cmp eax, esi
je 0x420258
push eax
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
call ebx
test eax, eax
jne 0x420258
mov dword [ebp - 0x68], vtable.CPCCSAutoWait.0
add edi, 0xc8
mov dword [ebp - 0x64], edi
mov byte [ebp - 4], 1
push 0x249f0
lea edi, [ebp - 0x68]
call fcn.0040b2bc
test eax, eax
jge 0x41fb6a
mov eax, 0x80100022
call fcn.0040426a
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
mov byte [ebp - 4], 2
lea eax, [ebp - 0x48]
push eax
push dword [ebp + 8]
mov eax, dword [0x492290]
add eax, 0x40
push eax
call fcn.004031d8
mov esi, eax
test esi, esi
je 0x41fbbc
push esi
call ebx
test eax, eax
jne 0x41fbbc
mov edi, dword [esi + 0xc]
mov dword [ebp - 0x50], edi
mov eax, dword [esi + 4]
mov dword [ebp - 0x4c], eax
call fcn.00404465
cmp dword [ebp + 0x10], 0
jne 0x41fbbc
cmp edi, 2
jne 0x41fbd0
mov eax, 0x80100023
jmp 0x41fb65
cmp dword [ebp + 0x10], 3
je 0x41fbc8
cmp dword [ebp + 0x10], 4
jne 0x41fbd0
push dword [ebp - 0x40]
call fcn.004208b5
mov eax, dword [ebp - 0x40]
add eax, 0x88
lea esi, [ebp - 0x74]
call fcn.00404438
mov byte [ebp - 4], 3
mov byte [ebp - 0x2d], 0
xor esi, esi
mov dword [ebp - 0x6c], esi
mov ebx, dword [ebp - 0x40]
add ebx, 0x78
mov eax, ebx
call fcn.00403561
cmp esi, eax
jae 0x41fd37
mov edi, ebx
call fcn.004034f5
cmp dword [eax], 0
je 0x41fdb6
call fcn.004034f5
push dword [eax]
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
test eax, eax
jne 0x41fdb6
call fcn.004034f5
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
cmp dword [eax + 0x14], ecx
jne 0x41fdb6
call fcn.004034f5
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
cmp dword [eax + 0x18], ecx
je 0x41fc77
call fcn.004034f5
mov eax, dword [eax]
cmp dword [eax + 0x18], 3
je 0x41fc67
call fcn.004034f5
mov eax, dword [eax]
cmp dword [eax + 0x18], 4
jne 0x41fdb6
cmp dword [ebp + 0x10], 3
je 0x41fc77
cmp dword [ebp + 0x10], 4
jne 0x41fdb6
and dword [ebp - 0x90], 0
xor eax, eax
lea edi, [ebp - 0x8c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, ebx
call fcn.004034f5
mov eax, dword [eax]
cmp dword [eax + 8], 0
je 0x41fcca
call fcn.004034f5
mov eax, dword [eax]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
test eax, eax
jne 0x41fcca
call fcn.004034f5
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x90]
push edx
push eax
call dword [ecx + 0x18]
mov dword [ebp - 0x28], eax
jmp 0x41fcd1
mov dword [ebp - 0x28], 0x80100012
cmp dword [ebp + 0x10], 3
je 0x41fd75
cmp dword [ebp + 0x10], 4
je 0x41fd75
mov edi, ebx
call fcn.004034f5
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
cmp dword [eax + 0xc], ecx
jne 0x41fdb0
cmp dword [ebp - 0x90], 1
jne 0x41fdb0
call fcn.004034f5
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
push dword [ebp - 0x58]
push 0x46973c
push eax
call dword [ecx]
mov dword [ebp - 0x28], eax
call fcn.004034f5
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi]
mov dword [ecx + 0x1c], eax
mov byte [ebp - 0x2d], 1
lea esi, [ebp - 0x74]
call fcn.00404331
cmp byte [ebp - 0x2d], 0
jne 0x42021a
push dword [ebp - 0x40]
call fcn.004208b5
and dword [ebp - 0x2c], 0
push 0x24
call fcn.0044c86d
pop ecx
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x41fdbc
push eax
call fcn.004214d1
mov ebx, eax
mov dword [ebp - 0x38], ebx
jmp 0x41fdc3
cmp dword [ebp - 0x90], 1
jne 0x41fdb0
mov edi, ebx
call fcn.004034f5
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0xc]
je 0x41fda6
call fcn.004034f5
mov eax, dword [eax]
add eax, 0x20
push eax
lea eax, [ebp - 0x48]
call fcn.004043d9
test al, al
je 0x41fdb0
mov eax, 0x80200005
jmp 0x41fb65
cmp byte [ebp - 0x2d], 0
jne 0x41fd37
inc esi
jmp 0x41fbea
and dword [ebp - 0x38], 0
mov ebx, dword [ebp - 0x38]
mov byte [ebp - 4], 3
mov dword [ebp - 0x54], ebx
test ebx, ebx
je 0x42024e
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
test eax, eax
jne 0x42024e
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebx + 0x10], eax
lea edi, [ebx + 0x20]
lea eax, [ebp - 0x48]
call fcn.00404351
mov esi, 0x46971c
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
and dword [ebp - 0x44], 0
mov byte [ebp - 4], 5
cmp dword [ebp + 0xc], 0
jne 0x41fe2a
mov esi, 0x46d890
push 0x46d8c0
jmp 0x41fe4c
cmp dword [ebp + 0xc], 1
jne 0x41fe3c
mov esi, 0x46d8a0
push str.NOX.dll
jmp 0x41fe4c
cmp dword [ebp + 0xc], 2
jne 0x41fe5d
mov esi, 0x46d8b0
push str.NclLcif.dll
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x44]
call fcn.0040b455
jmp 0x41fe64
mov dword [ebp - 0x28], 0x80100024
cmp dword [ebp - 0x28], 0
jl 0x4201cf
lea eax, [ebx + 8]
push eax
push 0x46c070
push 1
push 0
lea eax, [ebp - 0x24]
push eax
mov esi, dword [sym.imp.ole32.dll_CoCreateInstance]
call esi
mov edi, eax
mov dword [ebp - 0x28], edi
test edi, edi
jge 0x41ff43
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41fec9
push str.DllRegisterServer
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41feba
call eax
xor edi, edi
mov dword [ebp - 0x28], edi
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 2
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, 0x46c070
test edi, edi
jl 0x41feed
mov eax, dword [ebp - 0x38]
add eax, 8
push eax
push ebx
push 1
push 0
lea eax, [ebp - 0x24]
push eax
call esi
mov edi, eax
mov dword [ebp - 0x28], edi
test edi, edi
jge 0x41ff48
push 0xc
call fcn.0044c86d
pop ecx
mov esi, eax
test esi, esi
je 0x41ff33
push esi
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
test eax, eax
jne 0x41ff33
push dword [ebp - 0x44]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi + 8], eax
mov dword [esi + 4], 3
mov dword [esi], edi
xor eax, eax
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0x5c]
push ecx
push eax
push esi
push 0x42ee51
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
test edi, edi
jge 0x41ff48
mov dword [ebp - 0x28], 0x80200008
jmp 0x4201cf
mov ebx, 0x46c070
xor esi, esi
inc esi
cmp dword [ebp + 0xc], esi
jne 0x420054
cmp dword [ebp - 0x50], esi
jne 0x420054
mov eax, dword [ebp - 0x4c]
cmp eax, 2
je 0x41ff80
cmp eax, 4
je 0x41ff80
test al, 8
jne 0x41ff80
cmp dword [ebp + 0x10], 3
jne 0x420054
test al, 0x10
je 0x420054
xor eax, eax
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x2c]
push ecx
push eax
push eax
push dword [ebp + 8]
mov ecx, dword [ebp - 0x40]
call fcn.0041fafb
mov dword [ebp - 0x28], eax
test eax, eax
jl 0x420027
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
lea edx, [ebp - 0x3c]
push edx
push ebx
push eax
call dword [ecx]
mov dword [ebp - 0x28], eax
test eax, eax
jge 0x420001
push 0x46d8c0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41ffeb
push str.DllRegisterServer
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41ffdc
call eax
and dword [ebp - 0x28], 0
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 2
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x28], 0
jl 0x420001
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
lea edx, [ebp - 0x3c]
push edx
push ebx
push eax
call dword [ecx]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 0x2c], 0
cmp dword [ebp - 0x28], 0
jl 0x420027
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
lea edx, [ebp - 0x2c]
push edx
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x20]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x3c], 0
je 0x42014c
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
test eax, eax
jne 0x42014c
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 0x3c], 0
jmp 0x42014c
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 0x10]
push dword [ebp + 8]
push dword [0x492294]
call fcn.004244e2
mov dword [ebp - 0x28], eax
xor edi, edi
cmp eax, edi
jge 0x420152
cmp dword [ebp + 0xc], esi
jne 0x42014c
cmp dword [ebp - 0x50], esi
jne 0x42014c
mov dword [ebp - 0x34], edi
lea eax, [ebp - 0x2c]
push eax
push edi
push edi
push dword [ebp + 8]
mov ecx, dword [ebp - 0x40]
call fcn.0041fafb
mov dword [ebp - 0x28], eax
cmp eax, edi
jl 0x42012c
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
lea edx, [ebp - 0x34]
push edx
push ebx
push eax
call dword [ecx]
mov dword [ebp - 0x28], eax
cmp eax, edi
jge 0x420106
push 0x46d8c0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4200f0
push str.DllRegisterServer
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4200e1
call eax
and dword [ebp - 0x28], edi
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 2
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x28], 0
jl 0x420106
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
lea edx, [ebp - 0x34]
push edx
push ebx
push eax
call dword [ecx]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 0x2c], 0
cmp dword [ebp - 0x28], 0
jl 0x42012c
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
lea edx, [ebp - 0x2c]
push edx
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x20]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x34], 0
je 0x42014c
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
test eax, eax
jne 0x42014c
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 0x34], 0
cmp dword [ebp - 0x28], 0
jl 0x4201cf
cmp dword [ebp + 0x10], 0x80
jne 0x42015f
and dword [ebp + 0x10], 0
mov ecx, dword [ebp - 0x38]
lea esi, [ecx + 8]
mov eax, dword [esi]
mov edx, dword [eax]
push 0x2710
push ecx
push dword [ebp - 0x2c]
push dword [ebp + 0x10]
push 0
push eax
call dword [edx + 0xc]
mov dword [ebp - 0x28], eax
test eax, eax
jl 0x4201cf
mov eax, dword [esi]
mov ecx, dword [eax]
push dword [ebp - 0x58]
push 0x46973c
push eax
call dword [ecx]
mov dword [ebp - 0x28], eax
test eax, eax
jl 0x4201cf
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 0x1c], eax
mov edi, dword [ebp - 0x40]
lea eax, [edi + 0x88]
lea esi, [ebp - 0x60]
call fcn.00404438
mov byte [ebp - 4], 6
lea eax, [edi + 0x78]
lea ebx, [ebp - 0x54]
call fcn.0042112c
mov byte [ebp - 4], 5
mov ecx, esi
call fcn.004043f6
cmp dword [ebp - 0x2c], 0
je 0x4201ef
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
test eax, eax
jne 0x4201ef
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 0x2c], 0
cmp dword [ebp - 0x28], 0
jge 0x42020d
push dword [ebp - 0x38]
call fcn.00421590
push dword [ebp - 0x38]
call fcn.0041fac8
mov eax, dword [ebp - 0x28]
jmp 0x41fb65
mov byte [ebp - 4], 3
push dword [ebp - 0x44]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x74]
call fcn.004043f6
mov byte [ebp - 4], 1
push dword [ebp - 0x48]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.0040b338
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
call fcn.00450e22
ret 0x10
mov eax, 0x80100015
jmp 0x41fb65
mov eax, 0x80100004
jmp 0x41fb65