Function at 0x4132f0
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45bb50
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x474390]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
xor eax, eax
mov dword [esi], 0
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.0040ffd0
test al, al
jne 0x41336c
mov dword [esi], 0x47
xor bl, bl
jmp 0x413889
lea ecx, [ebp - 0x40]
call fcn.00410050
test al, al
jne 0x413385
mov dword [esi], 0x48
xor bl, bl
jmp 0x413889
push ecx
lea edx, [ebp + 8]
lea ecx, [ebp - 0x70]
call fcn.00415320
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
push ecx
mov edx, eax
lea ecx, [ebp - 0x88]
call fcn.004114b0
push 0x469858
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.00411410
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
push ecx
mov edx, eax
lea ecx, [ebp - 0xa0]
call fcn.004114b0
add esp, 0x10
cmp dword [ebp - 0x14], 8
jb 0x4133e2
push dword [ebp - 0x28]
call fcn.00440147
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp dword [ebp - 0x74], 8
jb 0x41340a
push dword [ebp - 0x88]
call fcn.00440147
add esp, 4
xor eax, eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
mov byte [ebp - 4], 9
cmp dword [ebp - 0x5c], 8
jb 0x413436
push dword [ebp - 0x70]
call fcn.00440147
add esp, 4
xor eax, eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
lea eax, [ebp - 0xb8]
push eax
mov dword [ebp - 0x60], 0
call fcn.00436d1d
add esp, 4
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x17c]
call fcn.00438106
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x17c]
cmp dword [eax], 6
jl 0x4135ae
xor eax, eax
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x160], esi
mov dword [ebp - 0x148], 7
mov dword [ebp - 0x14c], 0
mov word [ebp - 0x15c], ax
mov dword [ebp - 0x110], 0xf
mov dword [ebp - 0x114], eax
mov byte [ebp - 0x124], al
mov dword [ebp - 0xf4], 7
mov dword [ebp - 0xf8], eax
mov word [ebp - 0x108], ax
push eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x124]
push 0x4696d6
mov dword [ebp - 0x10c], eax
call fcn.004109b0
push 0xffffffffffffffff
push 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x15c]
call fcn.00410ed0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x108]
call fcn.00410ed0
lea eax, [ebp - 0x170]
push eax
push 0
lea eax, [ebp - 0x160]
push eax
push 0x413920
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x41359c
push 0x2710
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x413583
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x168], 1
jne 0x41359c
lea ecx, [ebp - 0x160]
mov bl, 1
call fcn.00413270
jmp 0x413814
lea eax, [ebp - 0x168]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x413561
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x160]
xor bl, bl
call fcn.00413270
jmp 0x413814
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x41380c
lea eax, [ebp - 0x170]
push eax
push 0x4699f8
push 1
push 0
push 0x469a68
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x4135ee
mov dword [esi], 0x3e
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x413812
push ecx
lea edx, [ebp + 8]
lea ecx, [ebp - 0xd0]
call fcn.00415320
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xd
push ecx
mov edx, eax
lea ecx, [ebp - 0xe8]
call fcn.004114b0
push 0x469858
mov edx, eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x88]
call fcn.00411410
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xf
push ecx
mov edx, eax
lea ecx, [ebp - 0x70]
call fcn.004114b0
push 0x46985c
mov edx, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x28]
call fcn.00411410
add esp, 0x14
lea ecx, [ebp - 0x70]
call fcn.004102e0
lea ecx, [ebp - 0x88]
call fcn.004102e0
lea ecx, [ebp - 0xe8]
call fcn.004102e0
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x15
call fcn.004102e0
mov eax, dword [ebp - 0x170]
lea edx, [ebp - 0x168]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
jns 0x4136b3
mov eax, dword [ebp - 0x170]
mov dword [esi], 0x3d
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor bl, bl
jmp 0x4137f9
mov eax, dword [ebp - 0x168]
lea edx, [ebp - 0x164]
push edx
lea edx, [ebp - 0x16c]
mov dword [ebp - 0x164], 0
push edx
mov ecx, dword [eax]
push 5
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x41377e
mov esi, dword [ebp - 0x164]
test esi, esi
je 0x41377e
nop
mov ebx, dword [ebp - 0x16c]
lea eax, [ebp - 0x28]
dec esi
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x164], esi
cmovae eax, dword [ebp - 0x28]
mov edi, dword [ebx + esi*4]
mov ecx, edi
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x413736
test dx, dx
je 0x413732
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x413736
add eax, 4
add ecx, 4
test dx, dx
jne 0x413710
xor eax, eax
jmp 0x41373b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4137a6
mov ebx, dword [sym.imp.ole32.dll_CoTaskMemFree]
push edi
call ebx
mov esi, dword [ebp - 0x164]
test esi, esi
jne 0x4136f0
push dword [ebp - 0x16c]
call ebx
mov eax, dword [ebp - 0x168]
lea edx, [ebp - 0x164]
push edx
lea edx, [ebp - 0x16c]
push edx
mov ecx, dword [eax]
push 5
push eax
call dword [ecx + 0xc]
test eax, eax
jns 0x4136e1
mov eax, dword [ebp - 0x170]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x168]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x28]
call fcn.004102e0
jmp 0x413812
mov edi, dword [sym.imp.ole32.dll_CoTaskMemFree]
test esi, esi
je 0x4137cd
mov eax, dword [ebx + esi*4]
dec esi
push eax
mov dword [ebp - 0x164], esi
call edi
mov esi, dword [ebp - 0x164]
mov ebx, dword [ebp - 0x16c]
test esi, esi
jne 0x4137b0
push dword [ebx]
call edi
push dword [ebp - 0x16c]
call edi
mov eax, dword [ebp - 0x170]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x168]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov bl, 1
cmp dword [ebp - 0x14], 8
jb 0x413814
push dword [ebp - 0x28]
call fcn.00440147
add esp, 4
jmp 0x413814
mov dword [esi], 0x3e
xor bl, bl
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 0xa
call fcn.00438183
cmp dword [ebp - 0xa4], 0x10
jb 0x41383a
push dword [ebp - 0xb8]
call fcn.00440147
add esp, 4
cmp dword [ebp - 0x8c], 8
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], 0
mov byte [ebp - 0xb8], 0
jb 0x41386c
push dword [ebp - 0xa0]
call fcn.00440147
add esp, 4
xor eax, eax
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
cmp dword [ebp - 0x2c], 8
jb 0x41389a
push dword [ebp - 0x40]
call fcn.00440147
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x44], 8
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jb 0x4138bf
push dword [ebp - 0x58]
call fcn.00440147
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
jb 0x4138e4
push dword [ebp + 8]
call fcn.00440147
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043f991
mov esp, ebp
pop ebp
ret