Function at 0x103a021
Capabilities:
Create thread
Resume thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 0x274], eax
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [esi + 0x278]
push eax
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call sub.gdiplus.dll_GdiplusStartup
test eax, eax
je 0x103a06f
mov dword [ebp - 4], 0x80004005
jmp 0x103a2f4
push 0x2713
lea ecx, [ebp - 8]
mov dword [ebp - 8], ebx
call fcn.010125ae
cmp dword [ebp - 8], ebx
jne 0x103a08b
mov dword [ebp - 4], 0x80004005
push dword [ebp - 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp - 4], ebx
jl 0x103a2f4
mov ecx, esi
call fcn.01037b04
cmp eax, ebx
mov dword [ebp - 4], eax
jl 0x103a2f4
push edi
mov edi, dword [sym.imp.USER32.dll_LoadCursorW]
push 0x7f86
push ebx
call edi
mov dword [esi + 0x21c], eax
cmp eax, ebx
jne 0x103a0cf
mov dword [ebp - 4], 0x80004005
cmp dword [ebp - 4], ebx
jl 0x103a2f3
push 0x7f00
push ebx
call edi
mov dword [esi + 0x214], eax
cmp eax, ebx
jne 0x103a0f1
mov dword [ebp - 4], 0x80004005
cmp dword [ebp - 4], ebx
jl 0x103a2f3
push 0x7f02
push ebx
call edi
mov dword [esi + 0x218], eax
cmp eax, ebx
jne 0x103a113
mov dword [ebp - 4], 0x80004005
cmp dword [ebp - 4], ebx
jl 0x103a2f3
movzx eax, word [esi + 0x23c]
push eax
call fcn.0102c84d
push eax
call fcn.0102f0ae
mov dword [esi + 0x210], eax
cmp eax, ebx
jne 0x103a140
mov dword [ebp - 4], 0x80004005
cmp dword [ebp - 4], ebx
jl 0x103a2f3
push 0x2774
push dword [0x10c5690]
call edi
mov dword [esi + 0x20c], eax
cmp eax, ebx
jne 0x103a167
mov dword [ebp - 4], 0x80004005
cmp dword [ebp - 4], ebx
jl 0x103a2f3
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push ebx
push ebx
call edi
mov dword [esi + 0x1cc], eax
cmp eax, ebx
jne 0x103a18d
mov dword [ebp - 4], 0x80004005
cmp dword [ebp - 4], ebx
jl 0x103a2f3
push ebx
push ebx
push ebx
push ebx
call edi
mov dword [esi + 0x1d4], eax
cmp eax, ebx
jne 0x103a1ad
mov dword [ebp - 4], 0x80004005
cmp dword [ebp - 4], ebx
jl 0x103a2f3
push ebx
push ebx
push ebx
push ebx
call edi
mov dword [esi + 0x1d0], eax
cmp eax, ebx
jne 0x103a1cd
mov dword [ebp - 4], 0x80004005
cmp dword [ebp - 4], ebx
jl 0x103a2f3
push 6
lea edx, [esi + 0x1b0]
pop ecx
xor eax, eax
mov edi, edx
push edx
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 0x1c8]
push eax
push 4
push esi
push 0x1038e2a
push ebx
push ebx
mov dword [esi + 0xb8], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea edi, [esi + 0x1ac]
mov dword [edi], eax
cmp eax, ebx
je 0x103a22c
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x103a233
mov dword [ebp - 4], 0x80004005
cmp dword [ebp - 4], ebx
jl 0x103a2f3
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea eax, [ebp - 0x40]
push eax
push 0x1004bc8
push ebx
call edi
push eax
call dword [sym.imp.USER32.dll_GetClassInfoW]
test eax, eax
jne 0x103a2a0
push ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], 0x1039d43
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
call edi
push 0x7f00
push ebx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.USER32.dll_LoadCursorW]
push 5
mov dword [ebp - 0x28], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 0x1004bc8
call dword [sym.imp.USER32.dll_RegisterClassW]
push ebx
push ebx
call edi
push eax
push ebx
push 0xfffffffffffffffd
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x1004bc8
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi + 0x220], eax
cmp eax, ebx
je 0x103a2d3
push esi
push 0x1004c0c
push eax
call dword [sym.imp.USER32.dll_SetPropW]
jmp 0x103a2da
mov dword [ebp - 4], 0x80004005
cmp dword [ebp - 4], ebx
jl 0x103a2f3
push dword [esi + 0x220]
lea ecx, [esi + 0x130]
call fcn.0103347e
mov dword [ebp - 4], eax
pop edi
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret