Function at 0x4031c0
Capabilities:
Link many functions at runtime
Resume thread

Disassembly:
sub esp, 0x28
mov eax, dword [esp + 0x30]
push ebx
push ebp
push esi
test eax, eax
push edi
mov dword [esp + 0x34], ecx
jne 0x4031e2
pop edi
pop esi
pop ebp
mov eax, 0xf0000001
pop ebx
add esp, 0x28
ret 0x18
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.kernel32.dll
call esi
push str.comctl32.dll
mov ebx, eax
call esi
test ebx, ebx
mov dword [esp + 0x24], eax
je 0x40346f
test eax, eax
je 0x40346f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.LoadLibraryA
push ebx
call esi
mov ebp, eax
push str.FreeLibrary
push ebx
mov dword [esp + 0x34], ebp
call esi
push str.GetProcAddress
push ebx
mov dword [esp + 0x18], eax
call esi
push str.GetModuleHandleA
push ebx
mov dword [esp + 0x20], eax
call esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0
call fcn.00403480
mov edi, eax
test edi, edi
je 0x403268
push edi
push ebx
call esi
push edi
mov dword [esp + 0x20], eax
call fcn.00403d7f
add esp, 4
mov edi, dword [esp + 0x24]
push 0x47
push edi
call esi
push 0x49
push edi
mov dword [esp + 0x30], eax
call esi
mov edi, eax
test ebp, ebp
mov dword [esp + 0x20], edi
je 0x40346f
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40346f
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40346f
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40346f
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x40346f
test edi, edi
je 0x40346f
push 0x2800
call ebp
mov esi, eax
test esi, esi
mov dword [esp + 0x28], esi
je 0x40346f
push 0
push 0x2800
push 0x403c50
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x40330a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov ebx, eax
call edi
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x28
ret 0x18
push 0x2b4
call ebp
mov ebp, eax
test ebp, ebp
je 0x40346f
mov ecx, 0xad
xor eax, eax
mov edi, ebp
mov edx, dword [esp + 0x10]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x40]
mov dword [ebp + 0x24], eax
mov eax, dword [esp + 0x14]
mov dword [ebp + 0x14], ecx
mov ecx, dword [esp + 0x18]
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x20], ecx
or ecx, 0xffffffff
xor eax, eax
mov dword [ebp + 0x1c], edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 0x28]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x44]
test edi, edi
je 0x40339a
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 0x12c]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x4033a1
mov byte [ebp + 0x12c], 0
mov esi, dword [esp + 0x48]
test esi, esi
je 0x4033e0
mov eax, dword [esp + 0x4c]
cmp eax, 0x80
jbe 0x4033c0
mov dword [ebp + 0x2b0], 0x80
jmp 0x4033c6
mov dword [ebp + 0x2b0], eax
mov ecx, dword [ebp + 0x2b0]
lea edi, [ebp + 0x230]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x28]
lea eax, [esp + 0x30]
push eax
push 4
push ebp
push edi
push 0
push 0
mov dword [esp + 0x48], 0
call dword [esp + 0x34]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
test esi, esi
jne 0x403428
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [esp + 0x20]
push ebp
mov esi, eax
call ebx
push edi
call ebx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x18
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x38]
push ebp
call fcn.00403960
push ebp
mov ebp, dword [esp + 0x24]
mov esi, eax
call ebp
push edi
call ebp
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ebx
call edi
mov edx, dword [esp + 0x24]
push edx
call edi
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x18
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x18