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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10101b48
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x1017542c]
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 ebx, ecx
mov ecx, 0x1012c810
mov dword [0x1017af44], ebx
call fcn.1003e060
test eax, eax
je 0x1002ce1a
push 0xa
lea edi, [ebx + 0x32c]
push str..main.ini
mov ecx, edi
call fcn.10019180
jmp 0x1002d090
lea ecx, [ebp - 0x40]
call fcn.1002ba90
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.1002b0a0
mov edi, eax
lea esi, [ebx + 0x314]
cmp esi, edi
je 0x1002ce77
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x1002ce52
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.10019fa0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x1002ce6a
mov eax, dword [esi]
jmp 0x1002ce6c
mov eax, esi
push edi
mov ecx, esi
mov byte [eax], 0
call fcn.10017720
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1002ce8c
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10019fa0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp eax, 8
jb 0x1002ceba
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.1001a0c0
cmp dword [esi + 0x14], 0x10
jb 0x1002cec4
mov eax, dword [esi]
jmp 0x1002cec6
mov eax, esi
push eax
lea eax, [ebp - 0x28]
push str._smain.ini
push eax
call fcn.1002be60
mov ecx, eax
lea edi, [ebx + 0x32c]
add esp, 0xc
mov dword [ebp - 0x60], ecx
cmp edi, ecx
je 0x1002cf22
mov eax, dword [edi + 0x14]
cmp eax, 0x10
jb 0x1002cefd
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.10019fa0
mov ecx, dword [ebp - 0x60]
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x1002cf15
mov eax, dword [edi]
jmp 0x1002cf17
mov eax, edi
push ecx
mov ecx, edi
mov byte [eax], 0
call fcn.10017720
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1002cf3e
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10019fa0
mov edx, edi
lea ecx, [ebp - 0x28]
call fcn.1002af10
cmp dword [eax + 0x14], 8
jb 0x1002cf50
mov eax, dword [eax]
mov ecx, eax
call fcn.1003e060
test eax, eax
mov eax, dword [ebp - 0x14]
sete byte [ebp - 0x59]
cmp eax, 8
jb 0x1002cf72
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.1001a0c0
cmp byte [ebp - 0x59], 0
je 0x1002d090
lea ecx, [ebp - 0x40]
call fcn.1002ba90
mov edx, eax
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.1002b4d0
mov ecx, eax
mov dword [ebp - 0x60], ecx
cmp esi, ecx
je 0x1002cfd9
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x1002cfb4
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.10019fa0
mov ecx, dword [ebp - 0x60]
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x1002cfcc
mov eax, dword [esi]
jmp 0x1002cfce
mov eax, esi
push ecx
mov ecx, esi
mov byte [eax], 0
call fcn.10017720
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1002cfee
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10019fa0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp eax, 8
jb 0x1002d01c
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.1001a0c0
cmp dword [esi + 0x14], 0x10
jb 0x1002d024
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x28]
push str._smain.ini
push eax
call fcn.1002be60
add esp, 0xc
mov esi, eax
cmp edi, esi
je 0x1002d074
mov eax, dword [edi + 0x14]
cmp eax, 0x10
jb 0x1002d04f
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.10019fa0
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x1002d067
mov eax, dword [edi]
jmp 0x1002d069
mov eax, edi
push esi
mov ecx, edi
mov byte [eax], 0
call fcn.10017720
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1002d090
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10019fa0
cmp dword [edi + 0x14], 0x10
jb 0x1002d098
mov edi, dword [edi]
push edi
push 0x101273e0
call fcn.100184c0
add esp, 8
call fcn.1002c350
mov ecx, ebx
call sym.UserAndPayClient.dll_public:_char____thiscall_Talk2Svr::CTalk2Svr::GetMacCode_void_
mov ecx, ebx
call sym.UserAndPayClient.dll_public:_char____thiscall_Talk2Svr::CTalk2Svr::GetPos_void_
push dword [0x1017aed4]
call sym.UserAndPayClient.dll_public:_static_void___cdecl_xx_DuiLib::CPaintManagerUI::SetInstance_struct_HINSTANCE____
add esp, 4
push 0x1012c840
push 0x6c
push dword [0x1017aed4]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push dword [0x1017aed4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push dword [0x1017aed4]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push 0
push edi
push eax
call sym.UserAndPayClient.dll_public:_static_void___cdecl_xx_DuiLib::CPaintManagerUI::SetResourceZip_void___unsigned_int__wchar_t_const__
add esp, 0xc
push 0x10047e00
sub esp, 0x84
mov ecx, esp
mov dword [ebp - 0x60], esp
push 0xffffffffffffffff
push str.CWkeWebkitUI
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CDuiString::constructor_wchar_t_const___int_
mov dword [ebp - 4], 6
call sym.UserAndPayClient.dll_public:_static_class_xx_DuiLib::CControlFactory____cdecl_xx_DuiLib::CControlFactory::GetInstance_void_
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CControlFactory::RegistControl_class_xx_DuiLib::CDuiString__class_xx_DuiLib::CControlUI_____cdecl___void__
call fcn.10048860
sub esp, 8
call fcn.10024f70
test al, al
jne 0x1002d175
push 1
push str.netrequest.dll
push str.load_dll_error
push dword [ebx + 0x2e4]
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
push 0
push 0x10
push dword [ebx + 0x2e4]
call dword [sym.imp.USER32.dll_PostMessageA]
push 9
push str.http_init
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.10019180
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 7
push eax
call fcn.10029590
mov dword [ebp - 4], 0xffffffff
mov esi, eax
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x1002d1c4
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.10019fa0
push 0xd
push str.http_init_log
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10019180
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 8
push eax
call fcn.10029590
mov dword [ebp - 4], 0xffffffff
mov edi, eax
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x1002d225
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.10019fa0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
test esi, esi
je 0x1002d23d
call esi
push 5
push str..log
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
call fcn.10019180
mov dword [ebp - 4], 9
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 0x10
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
cmp eax, 0x10
je 0x1002d290
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
push 0
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test edi, edi
je 0x1002d2a5
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call edi
add esp, 4
lea edx, [ebp - 0x60]
mov dword [ebp - 0x60], ebx
lea ecx, [ebp - 0x64]
call fcn.10016720
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x6c]
call fcn.1003e620
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x1002d2d3
push 4
push eax
call fcn.100c1e2b
add esp, 8
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x68]
test eax, eax
jne 0x1002d2eb
push 1
call fcn.1005218d
mov eax, dword [ebp - 0x68]
add esp, 4
push eax
push dword [ebp - 0x6c]
call fcn.10052014
add esp, 8
test eax, eax
je 0x1002d304
push eax
call fcn.10052160
add esp, 4
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x1002d319
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.10019fa0
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.100c1de9
mov esp, ebp
pop ebp
ret