Function at 0x404ce0
Capabilities:
Allocate or change rwx memory
Check mutex and terminate process on windows
Check mutex on windows
Create thread
Execute shellcode via indirect call
Get common file path
Read .ini file
Spawn thread to rwx shellcode
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40fc2c
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x417014]
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 edi, ecx
call dword [sym.imp.mfc140u.dll_CDialog::OnInitDialog]
push str.GPXHMAIN.exe
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
cmp eax, 0xb7
jne 0x404d3a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call dword [sym.imp.mfc140u.dll_CMenu::FromHandle]
mov ebx, eax
test ebx, ebx
je 0x404db3
lea ecx, [ebp - 0x414]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0x65
lea ecx, [ebp - 0x414]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t_]
mov eax, dword [ebp - 0x414]
cmp dword [eax - 0xc], 0
je 0x404da0
mov esi, dword [sym.imp.USER32.dll_AppendMenuW]
push 0
push 0
push 0x800
push dword [ebx + 4]
call esi
push dword [ebp - 0x414]
push 0x10
push 0
push dword [ebx + 4]
call esi
lea ecx, [ebp - 0x414]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push dword [edi + 0xd0]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push 0x80
push dword [edi + 0x20]
call ebx
push dword [edi + 0xd0]
push 0
push 0x80
push dword [edi + 0x20]
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x418]
push eax
push 0x40
push 0x563
push dword [0x417068]
mov dword [ebp - 0x418], 0
call esi
mov ecx, edi
call fcn.00405170
push ecx
call fcn.0040e0d0
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x410]
push 0
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x410]
push eax
push 0x411d48
push 0x4184d8
call fcn.0040c450
add esp, 0xc
push 0x4184d8
push 0
push 0x411d58
push 0x411d64
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
lea eax, [ebp - 0x410]
push eax
je 0x404e7b
push 0x411d6c
jmp 0x404e80
push 0x411d7c
push 0x418e30
call fcn.0040c450
add esp, 0xc
mov dword [ebp - 0x414], 0
lea eax, [ebp - 0x414]
push eax
push 0x40
push 0x563
push dword [0x417068]
call esi
mov ecx, dword [edi + 0x20]
call fcn.00404600
push str.libcurltest.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.HttpWebGet11
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [0x419244], 0
mov dword [0x41924c], eax
je 0x404f56
push 0
push 1
push 0xf1
push dword [edi + 0x188]
call ebx
call fcn.00408450
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
push 0
push 0
push edi
push 0x406450
push 0
push 0
call esi
push 0
push 0
push edi
push 0x4077e0
push 0
push 0
mov dword [edi + 0xd4], eax
call esi
add esp, 0x30
mov dword [edi + 0xd8], eax
mov eax, dword [0x418ce0]
push 0
push 0
push 0xf0
push dword [eax + 0x20]
call ebx
test eax, eax
je 0x404f56
push 0
push 0
push 0
push 0x4036a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x418cf4], eax
push 0
push str.http:__api.m.taobao.com_rest_api3.do_apimtop.common.getTimestamp
lea ecx, [ebp - 0x428]
call fcn.004039a0
add esp, 8
mov ecx, edi
call fcn.0040a9b0
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.0040e8e5
mov esp, ebp
pop ebp
ret