Function at 0x1003e220
Capabilities:
Create directory
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011c9af
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x1019142c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x104], ecx
mov eax, dword [ebp - 0x104]
mov dword [0x10196f50], eax
push 0x1014a1c4
call fcn.1004fb20
add esp, 4
test eax, eax
je 0x1003e288
push str..main.ini
mov ecx, dword [ebp - 0x104]
add ecx, 0x32c
call fcn.10018870
jmp 0x1003e4a2
lea ecx, [ebp - 0xb8]
push ecx
call fcn.1003cff0
add esp, 4
mov dword [ebp - 0x11c], eax
mov edx, dword [ebp - 0x11c]
mov dword [ebp - 0x120], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x120]
push eax
lea ecx, [ebp - 0xd0]
push ecx
call fcn.1003c5e0
add esp, 8
mov dword [ebp - 0x150], eax
mov edx, dword [ebp - 0x150]
push edx
mov ecx, dword [ebp - 0x104]
add ecx, 0x314
call fcn.10018890
lea ecx, [ebp - 0xd0]
call fcn.10022960
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
call fcn.10022b70
mov ecx, dword [ebp - 0x104]
add ecx, 0x314
call fcn.10021de0
push eax
push 0x1014a1e8
lea eax, [ebp - 0xa0]
push eax
call fcn.1003d350
add esp, 0xc
mov dword [ebp - 0x14c], eax
mov ecx, dword [ebp - 0x14c]
push ecx
mov ecx, dword [ebp - 0x104]
add ecx, 0x32c
call fcn.10018890
lea ecx, [ebp - 0xa0]
call fcn.10022960
mov edx, dword [ebp - 0x104]
add edx, 0x32c
push edx
lea eax, [ebp - 0x88]
push eax
call fcn.1003c430
add esp, 8
mov dword [ebp - 0x148], eax
mov ecx, dword [ebp - 0x148]
mov dword [ebp - 0x144], ecx
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x144]
call fcn.100226d0
push eax
call fcn.1004fb20
add esp, 4
test eax, eax
jne 0x1003e3a9
mov dword [ebp - 0x10c], 1
jmp 0x1003e3b3
mov dword [ebp - 0x10c], 0
mov dl, byte [ebp - 0x10c]
mov byte [ebp - 0x106], dl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.10022b70
movzx eax, byte [ebp - 0x106]
test eax, eax
je 0x1003e4a2
lea ecx, [ebp - 0xe8]
push ecx
call fcn.1003cff0
add esp, 4
mov dword [ebp - 0x140], eax
mov edx, dword [ebp - 0x140]
mov dword [ebp - 0x13c], edx
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x100]
push ecx
call fcn.1003ca00
add esp, 8
mov dword [ebp - 0x138], eax
mov edx, dword [ebp - 0x138]
push edx
mov ecx, dword [ebp - 0x104]
add ecx, 0x314
call fcn.10018890
lea ecx, [ebp - 0x100]
call fcn.10022960
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe8]
call fcn.10022b70
mov ecx, dword [ebp - 0x104]
add ecx, 0x314
call fcn.10021de0
push eax
push str._smain.ini
lea eax, [ebp - 0x70]
push eax
call fcn.1003d350
add esp, 0xc
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
push ecx
mov ecx, dword [ebp - 0x104]
add ecx, 0x32c
call fcn.10018890
lea ecx, [ebp - 0x70]
call fcn.10022960
mov ecx, dword [ebp - 0x104]
add ecx, 0x32c
call fcn.10021de0
push eax
push 0x1014a200
call fcn.1001f8a0
add esp, 8
call fcn.1003dac0
mov ecx, dword [ebp - 0x104]
call sym.UserAndPayClient.dll_public:_char____thiscall_Talk2Svr::CTalk2Svr::GetMacCode_void_
mov ecx, dword [ebp - 0x104]
call sym.UserAndPayClient.dll_public:_char____thiscall_Talk2Svr::CTalk2Svr::GetPos_void_
mov edx, dword [0x10196edc]
push edx
call sym.UserAndPayClient.dll_public:_static_void___cdecl_xx_DuiLib::CPaintManagerUI::SetInstance_struct_HINSTANCE____
add esp, 4
push 0x1014a204
push 0x6c
mov eax, dword [0x10196edc]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x110]
push ecx
mov edx, dword [0x10196edc]
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x110]
push eax
mov ecx, dword [0x10196edc]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x154], eax
push 0
mov edx, dword [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x154]
push eax
call sym.UserAndPayClient.dll_public:_static_void___cdecl_xx_DuiLib::CPaintManagerUI::SetResourceZip_void___unsigned_int__wchar_t_const__
add esp, 0xc
push 0x1005fbc0
sub esp, 0x84
mov ecx, esp
mov dword [ebp - 0x158], esp
push 0xffffffffffffffff
push 0x1014a210
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CDuiString::constructor_wchar_t_const___int_
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 4], 3
call sym.UserAndPayClient.dll_public:_static_class_xx_DuiLib::CControlFactory____cdecl_xx_DuiLib::CControlFactory::GetInstance_void_
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CControlFactory::RegistControl_class_xx_DuiLib::CDuiString__class_xx_DuiLib::CControlUI_____cdecl___void__
call fcn.10060b90
push str.._netrequest.dll
push 0
mov ecx, 0x10197210
call fcn.10030dd0
mov byte [ebp - 0x105], al
movzx edx, byte [ebp - 0x105]
test edx, edx
jne 0x1003e5fa
push 1
push str.netrequest.dll
push str.load_dll_error
mov eax, dword [ebp - 0x104]
mov ecx, dword [eax + 0x2e4]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
push 0
push 0x10
mov edx, dword [ebp - 0x104]
mov eax, dword [edx + 0x2e4]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
push str.http_init
lea ecx, [ebp - 0x58]
call fcn.100213a0
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x58]
push ecx
mov ecx, 0x10197210
call fcn.10038d30
mov dword [ebp - 0x114], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.10022960
push str.http_init_log
lea ecx, [ebp - 0x40]
call fcn.100213a0
mov dword [ebp - 4], 5
lea edx, [ebp - 0x40]
push edx
mov ecx, 0x10197210
call fcn.10038d30
mov dword [ebp - 0x118], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10022960
cmp dword [ebp - 0x114], 0
je 0x1003e677
call dword [ebp - 0x114]
push str..log
lea ecx, [ebp - 0x28]
call fcn.100213a0
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.10021de0
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
cmp eax, 0x10
je 0x1003e6b0
push 0
lea ecx, [ebp - 0x28]
call fcn.10021de0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp dword [ebp - 0x118], 0
je 0x1003e6cb
lea ecx, [ebp - 0x28]
call fcn.10021de0
push eax
call dword [ebp - 0x118]
add esp, 4
mov eax, dword [ebp - 0x104]
push eax
lea ecx, [ebp - 0x160]
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::STRINGorID::constructor_wchar_t_const__
push eax
lea ecx, [ebp - 0x168]
call fcn.100500e0
mov dword [ebp - 0x128], eax
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0x12c], ecx
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x12c]
call fcn.1001ec70
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x168]
call fcn.1001ebe0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10022960
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ddfee
mov esp, ebp
pop ebp
ret