Function at 0x411220
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430e88
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4514c8]
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, edx
mov ebx, ecx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x58], 0
mov byte [ebp - 4], 1
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov byte [ebp - 4], 2
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 4], 3
mov edx, dword [esi + 0x14]
cmp edx, 8
jb 0x411298
mov eax, dword [esi]
jmp 0x41129a
mov eax, esi
mov edi, dword [esi + 0x10]
cmp edx, 8
jb 0x4112a4
mov esi, dword [esi]
inc edi
mov dword [ebp - 0x40], 0
lea edi, [eax + edi*2]
cmp esi, edi
je 0x4112d3
sub edi, esi
je 0x4112c3
push edi
lea ecx, [ebp - 0x44]
call fcn.00414f20
mov ecx, dword [ebp - 0x44]
push edi
push esi
push ecx
call fcn.0041a9c0
add esp, 0xc
add eax, edi
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x44]
mov edx, ebx
push eax
lea ecx, [ebp - 0x58]
call fcn.00411450
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
add esp, 4
mov dword [ebp - 0x5c], 0
push str.vfprint.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41132e
sub esp, 8
mov byte [ebp - 0x6c], 0
lea edx, [ebp - 0x6c]
mov dword [ebp - 0x68], 0
mov ecx, eax
mov dword [ebp - 0x64], str.kernel32.dll
mov dword [ebp - 0x60], 0x44b204
call fcn.00416100
mov eax, dword [ebp - 0x68]
test eax, eax
cmovne esi, eax
mov ebx, dword [ebp - 0x50]
lea eax, [ebp - 0x5c]
push eax
push 0
push ebx
push esi
push 0
push 0
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
mov dword [ebp - 0x4c], esi
test esi, esi
jne 0x4113aa
mov dword [ebp - 0x48], str.Could_not_create_thread
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea ecx, [ebp - 0x38]
lea eax, [ebp - 0x48]
push eax
call fcn.0041a88d
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x38], vtable.windows_exception.0
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x38]
push 0x44fcd0
push eax
call fcn.0041d07b
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x4113dc
push eax
call fcn.0041a537
add esp, 4
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov byte [ebp - 4], 6
mov edi, dword [ebp - 0x58]
test edi, edi
je 0x411400
test ebx, ebx
je 0x411400
cmp dword [ebp - 0x54], 0
je 0x411400
push 0x8000
push 0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov byte [ebp - 4], 0
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x411418
push edi
call ebx
mov dword [ebp - 0x58], 0
mov dword [ebp - 4], 0xffffffff
push esi
call ebx
mov dword [ebp - 0x4c], 0
mov eax, 1
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.0041a53c
mov esp, ebp
pop ebp
ret