Function at 0x4435a0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1cff
mov eax, dword fs:[0]
push eax
mov eax, 0x12a4
call fcn.00497d20
mov eax, dword [0x4cc99c]
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, dword [sym.imp.MSVCR100.dll_wcsstr]
mov ebx, edx
mov esi, ecx
push 0x4b8434
push ebx
mov dword [ebp - 0x12a0], esi
mov dword [ebp - 0x1288], ebx
call edi
add esp, 8
test eax, eax
je 0x443732
mov ecx, ebx
add ecx, 0x28
xor esi, esi
xor eax, eax
mov word [ebp - 0x102c], ax
mov edi, 7
mov eax, ecx
mov dword [ebp - 0x1018], edi
mov dword [ebp - 0x101c], esi
lea ebx, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, si
jne 0x443621
sub eax, ebx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x102c]
call fcn.004027c0
mov dword [ebp - 4], esi
xor ecx, ecx
push 6
mov word [ebp - 0x1064], cx
push str.gameid
lea ecx, [ebp - 0x1064]
mov dword [ebp - 0x1050], edi
mov dword [ebp - 0x1054], esi
call fcn.004027c0
mov byte [ebp - 4], 1
push 0x12
xor edx, edx
push str.install_game_begin
lea ecx, [ebp - 0x1048]
mov dword [ebp - 0x1034], edi
mov dword [ebp - 0x1038], esi
mov word [ebp - 0x1048], dx
call fcn.004027c0
push esi
lea eax, [ebp - 0x102c]
push eax
lea ecx, [ebp - 0x1064]
push ecx
lea edx, [ebp - 0x1048]
push edx
mov byte [ebp - 4], 2
call fcn.00480b30
mov ebx, 8
add esp, 0x10
cmp dword [ebp - 0x1034], ebx
jb 0x4436d1
mov eax, dword [ebp - 0x1048]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x1034], edi
mov dword [ebp - 0x1038], esi
mov word [ebp - 0x1048], cx
cmp dword [ebp - 0x1050], ebx
jb 0x4436fe
mov edx, dword [ebp - 0x1064]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 0x1050], edi
mov dword [ebp - 0x1054], esi
mov word [ebp - 0x1064], ax
cmp dword [ebp - 0x1018], ebx
jb 0x44372b
mov ecx, dword [ebp - 0x102c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor al, al
jmp 0x444315
push str._install_game_end
push ebx
call edi
add esp, 8
test eax, eax
je 0x44386b
mov edx, ebx
add edx, 0x24
xor esi, esi
xor eax, eax
mov word [ebp - 0x102c], ax
mov edi, 7
mov eax, edx
mov dword [ebp - 0x1018], edi
mov dword [ebp - 0x101c], esi
lea ebx, [eax + 2]
jmp 0x443770
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x443770
sub eax, ebx
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x102c]
call fcn.004027c0
mov dword [ebp - 4], 3
xor ecx, ecx
push 6
mov word [ebp - 0x1048], cx
push str.gameid
lea ecx, [ebp - 0x1048]
mov dword [ebp - 0x1034], edi
mov dword [ebp - 0x1038], esi
call fcn.004027c0
mov byte [ebp - 4], 4
push 0x10
xor edx, edx
push str.install_game_end
lea ecx, [ebp - 0x1064]
mov dword [ebp - 0x1050], edi
mov dword [ebp - 0x1054], esi
mov word [ebp - 0x1064], dx
call fcn.004027c0
push esi
lea eax, [ebp - 0x102c]
push eax
lea ecx, [ebp - 0x1048]
push ecx
lea edx, [ebp - 0x1064]
push edx
mov byte [ebp - 4], 5
call fcn.00480b30
mov ebx, 8
add esp, 0x10
cmp dword [ebp - 0x1050], ebx
jb 0x443824
mov eax, dword [ebp - 0x1064]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x1050], edi
mov dword [ebp - 0x1054], esi
mov word [ebp - 0x1064], cx
cmp dword [ebp - 0x1034], ebx
jb 0x443851
mov edx, dword [ebp - 0x1048]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 0x1034], edi
mov dword [ebp - 0x1038], esi
mov word [ebp - 0x1048], ax
jmp 0x443713
mov ecx, str._test
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x443898
test dx, dx
je 0x443894
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x443898
add eax, 4
add ecx, 4
test dx, dx
jne 0x443872
xor eax, eax
jmp 0x44389d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4438d3
push 0x4028
lea ecx, [ebp - 0x12b0]
call fcn.0047d260
lea ecx, [ebp - 0x12b0]
call fcn.0047d280
push str.Hello
lea ecx, [ebp - 0x12b0]
call fcn.0047d380
xor al, al
jmp 0x444315
mov ecx, str._installprotocol
mov eax, ebx
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x443906
test dx, dx
je 0x443902
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x443906
add eax, 4
add ecx, 4
test dx, dx
jne 0x4438e0
xor eax, eax
jmp 0x44390b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x44399c
push 0x800
lea edx, [ebp - 0x1010]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
sub esp, 0x1c
lea eax, [ebp - 0x1010]
mov ecx, esp
mov dword [ebp - 0x12a8], esp
push eax
call fcn.00402480
sub esp, 0x1c
mov dword [ebp - 4], 6
mov ecx, esp
mov dword [ebp - 0x129c], esp
push 0x4cb6b4
call fcn.004083d0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x12a0], esp
push 0x4cb67c
mov byte [ebp - 4], 7
call fcn.004083d0
lea esi, [ebp - 0x10f4]
mov dword [ebp - 4], 0xffffffff
call fcn.0040cff0
mov dword [ebp - 4], 8
call fcn.0040d340
call fcn.00444340
xor al, al
jmp 0x444315
mov ecx, str._installuifinish
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4439c9
test dx, dx
je 0x4439c5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4439c9
add eax, 4
add ecx, 4
test dx, dx
jne 0x4439a3
xor eax, eax
jmp 0x4439ce
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4439f1
push str.installfinish
call fcn.00461390
add esp, 4
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
xor al, al
jmp 0x444315
mov ecx, str._uninstall
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x443a1e
test dx, dx
je 0x443a1a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x443a1e
add eax, 4
add ecx, 4
test dx, dx
jne 0x4439f8
xor eax, eax
jmp 0x443a23
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x443a77
push str.uninstall
call fcn.00461390
add esp, 4
lea esi, [ebp - 0x1288]
call fcn.00414230
mov ebx, esi
mov dword [ebp - 4], 9
call fcn.00414430
push 0x5dc
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x1288]
test eax, eax
je 0x44372b
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor al, al
jmp 0x444315
mov ecx, str._getinstallpath
mov eax, ebx
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x443aa6
test dx, dx
je 0x443aa2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x443aa6
add eax, 4
add ecx, 4
test dx, dx
jne 0x443a80
xor eax, eax
jmp 0x443aab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x443b04
lea ecx, [ebp - 0x102c]
push ecx
call fcn.0047b480
add esp, 4
mov dword [ebp - 4], 0xa
cmp dword [ebp - 0x1018], 8
mov eax, dword [ebp - 0x102c]
jae 0x443ada
lea eax, [ebp - 0x102c]
push eax
push str.InstallPath
push str.SoftwareHuofeng
push SysReAllocString
call fcn.0047eff0
add esp, 0x10
lea ecx, [ebp - 0x102c]
call fcn.004024d0
xor al, al
jmp 0x444315
push str._encrypt
push ebx
call edi
add esp, 8
test eax, eax
je 0x443b4a
lea eax, [ebx + 0x12]
push eax
lea ecx, [ebp - 0x102c]
call fcn.00402480
lea edx, [ebp - 0x102c]
push edx
mov dword [ebp - 4], 0xb
call fcn.0047a8a0
add esp, 4
lea ecx, [ebp - 0x102c]
call fcn.004024d0
xor al, al
jmp 0x444315
push str._decryptdy
push ebx
call edi
add esp, 8
test eax, eax
je 0x443b90
lea eax, [ebx + 0x16]
push eax
lea ecx, [ebp - 0x102c]
call fcn.00402480
lea eax, [ebp - 0x102c]
push eax
mov dword [ebp - 4], 0xc
call fcn.0047ad00
add esp, 4
lea ecx, [ebp - 0x102c]
call fcn.004024d0
xor al, al
jmp 0x444315
push str._decrypt
push ebx
call edi
add esp, 8
test eax, eax
je 0x443bd6
lea eax, [ebx + 0x12]
push eax
lea ecx, [ebp - 0x102c]
call fcn.00402480
lea ecx, [ebp - 0x102c]
push ecx
mov dword [ebp - 4], 0xd
call fcn.0047aad0
add esp, 4
lea ecx, [ebp - 0x102c]
call fcn.004024d0
xor al, al
jmp 0x444315
push str._installgame
push ebx
call edi
add esp, 8
test eax, eax
je 0x443c14
lea edx, [ebp - 0x1284]
push edx
lea esi, [ebx + 0x1a]
call fcn.00411c80
lea edi, [ebp - 0x1284]
mov dword [ebp - 4], 0xe
call fcn.00414000
mov esi, edi
call fcn.00411d90
xor al, al
jmp 0x444315
push str._c_1__tid
push ebx
call edi
add esp, 8
test eax, eax
jne 0x444184
push str._c_2__tid
push ebx
call edi
add esp, 8
test eax, eax
jne 0x444184
mov ecx, str._updatefinish
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x443c67
test dx, dx
je 0x443c63
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x443c67
add eax, 4
add ecx, 4
test dx, dx
jne 0x443c41
xor eax, eax
jmp 0x443c6c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x443c75
call fcn.00443090
push str.HuofengGameWorld:C673249C_4112_4117_9C6A_8FFE2403905C
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x4e9e80], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x443f6b
test ebx, ebx
jne 0x443ca2
xor eax, eax
jmp 0x443ccb
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x443cb5
xor eax, eax
jmp 0x443ccb
lea esi, [eax + eax]
mov eax, esi
call fcn.00497dd0
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.00403590
push eax
lea ecx, [ebp - 0x1080]
call fcn.004037c0
push 1
lea eax, [ebp - 0x1080]
mov dword [ebp - 4], 0x10
call fcn.00444800
push eax
push 0
lea ecx, [ebp - 0x1080]
call fcn.00403b10
push 0xffffffffffffffff
push 1
lea eax, [ebp - 0x1080]
call fcn.00444870
inc eax
push eax
lea ecx, [ebp - 0x1080]
call fcn.00403b10
mov esi, dword [ebp - 0x106c]
mov edi, dword [ebp - 0x1080]
mov eax, edi
cmp esi, 0x10
jae 0x443d2e
lea eax, [ebp - 0x1080]
mov ecx, str._desktop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x443d53
test dl, dl
je 0x443d4f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x443d53
add eax, 2
add ecx, 2
test dl, dl
jne 0x443d33
xor eax, eax
jmp 0x443d58
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x443df5
mov eax, edi
cmp esi, 0x10
jae 0x443d6d
lea eax, [ebp - 0x1080]
mov ecx, str._startupmenu
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x443d92
test dl, dl
je 0x443d8e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x443d92
add eax, 2
add ecx, 2
test dl, dl
jne 0x443d72
xor eax, eax
jmp 0x443d97
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x443df5
cmp dword [0x4cb578], 8
mov eax, dword [0x4cb564]
jae 0x443dae
mov eax, 0x4cb564
push eax
xor esi, esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_FindWindowExW]
mov edi, eax
cmp edi, esi
je 0x443dd6
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x443dd6
push esi
push esi
push 0x4a
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, ebx
mov dword [ebp - 0x1294], 1
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x443de5
jmp 0x44407b
push str.checkinstallflag
call fcn.00467140
add esp, 4
cmp eax, 1
mov eax, dword [0x4cb564]
jne 0x44402b
cmp dword [0x4cb578], 8
jae 0x443e1e
mov eax, 0x4cb564
push eax
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
mov edi, eax
test edi, edi
je 0x443f59
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
xor esi, esi
push esi
push esi
push 0x4a
push edi
test eax, eax
je 0x443ed3
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, ebx
mov dword [ebp - 0x1294], 1
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x443e60
sub eax, edx
sar eax, 1
lea edx, [eax + eax]
mov dword [ebp - 0x1290], edx
cmp ebx, esi
je 0x443e8b
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x443e93
mov dword [ebp - 0x128c], esi
jmp 0x443eaf
lea esi, [eax + eax]
mov eax, esi
call fcn.00497dd0
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.00403590
mov dword [ebp - 0x128c], eax
lea eax, [ebp - 0x1294]
push eax
push 0
push 0x4a
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x1080]
call fcn.00403800
xor al, al
jmp 0x444315
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, ebx
mov dword [ebp - 0x1294], 2
lea edx, [eax + 2]
jmp 0x443ef0
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x443ef0
sub eax, edx
sar eax, 1
lea ecx, [eax + eax]
mov dword [ebp - 0x1290], ecx
cmp ebx, esi
jne 0x443f14
mov dword [ebp - 0x128c], esi
jmp 0x443f47
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x443f2b
mov dword [ebp - 0x128c], esi
jmp 0x443f47
lea esi, [eax + eax]
mov eax, esi
call fcn.00497dd0
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.00403590
mov dword [ebp - 0x128c], eax
lea edx, [ebp - 0x1294]
push edx
push 0
push 0x4a
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x1080]
mov dword [ebp - 4], 0xffffffff
call fcn.00403800
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x12a8], esp
push 0x4ab248
call fcn.00402480
sub esp, 0x1c
mov dword [ebp - 4], 0x11
mov ecx, esp
mov dword [ebp - 0x129c], esp
push 0x4cb6b4
call fcn.004083d0
sub esp, 0x1c
mov byte [ebp - 4], 0x12
mov ecx, esp
mov dword [ebp - 0x12ac], esp
push 0x4cb67c
call fcn.004083d0
lea esi, [ebp - 0x1168]
mov dword [ebp - 4], 0xffffffff
call fcn.0040cff0
mov ebx, 0x13
mov dword [ebp - 4], ebx
call fcn.0040d1a0
mov edx, dword [ebp - 0x12a0]
push edx
call dword [sym.imp.HFUILib.dll_public:_static_void___cdecl_CPaintManagerUI::SetResourceInstance_struct_HINSTANCE____]
mov eax, dword [0x4cb548]
add esp, 4
cmp dword [0x4cb55c], 8
jae 0x443ff7
mov eax, 0x4cb548
push eax
call dword [sym.imp.HFUILib.dll_public:_static_bool___cdecl_CPaintManagerUI::SetSkinZipFile_wchar_t_const__]
push 0x272c
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 8
mov dword [ebp - 0x12ac], eax
mov byte [ebp - 4], 0x14
test eax, eax
je 0x4440d4
push eax
call fcn.0041cb40
mov esi, eax
jmp 0x4440d6
cmp dword [0x4cb578], 8
jae 0x444039
mov eax, 0x4cb564
push eax
xor esi, esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_FindWindowExW]
mov edi, eax
cmp edi, esi
je 0x443f59
push esi
push esi
push 0x4a
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, ebx
mov dword [ebp - 0x1294], 1
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x444070
sub eax, edx
sar eax, 1
add eax, eax
mov dword [ebp - 0x1290], eax
cmp ebx, esi
je 0x44409a
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x4440ac
lea ecx, [ebp - 0x1294]
mov dword [ebp - 0x128c], esi
push ecx
jmp 0x443eb6
lea esi, [eax + eax]
mov eax, esi
call fcn.00497dd0
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.00403590
lea ecx, [ebp - 0x1294]
mov dword [ebp - 0x128c], eax
push ecx
jmp 0x443eb6
xor esi, esi
mov byte [ebp - 4], bl
mov edx, dword [ebp - 0x1288]
mov ecx, esi
call fcn.0042bc40
test al, al
jne 0x4440fc
lea esi, [ebp - 0x1168]
call fcn.00444340
xor al, al
jmp 0x444315
lea eax, [ebp - 0x12a4]
push eax
lea ecx, [ebp - 0x1298]
push ecx
call fcn.00468270
mov edi, dword [ebp - 0x1298]
mov ebx, dword [ebp - 0x12a4]
add esp, 8
xor ecx, ecx
xor edx, edx
cmp dword [0x4cb578], 8
jb 0x444138
mov eax, dword [0x4cb564]
mov dword [ebp - 0x1288], eax
jmp 0x444142
mov dword [ebp - 0x1288], 0x4cb564
push 0
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp - 0x1288]
push 0
push 0x10cf0000
push ecx
mov dword [eax + 4], edx
mov dword [eax + 8], edi
push 0
mov ecx, esi
mov dword [eax + 0xc], ebx
call dword [sym.imp.HFUILib.dll_public:_struct_HWND______thiscall_CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__struct_tagRECT__struct_HMENU____]
mov ecx, esi
call dword [sym.imp.HFUILib.dll_public:_void___thiscall_CWindowWnd::CenterWindow_void_]
lea esi, [ebp - 0x1168]
call fcn.00444340
jmp 0x444313
push str._c_1__tid
push ebx
mov dword [ebp - 0x1298], 0
call edi
add esp, 8
test eax, eax
jne 0x4441b6
push str._c_2__tid
push ebx
call edi
add esp, 8
test eax, eax
je 0x4441b6
mov dword [ebp - 0x1298], 1
push str._hw
push ebx
call edi
add esp, 8
test eax, eax
je 0x444313
mov ebx, dword [sym.imp.MSVCR100.dll_wcsstr]
lea edi, [eax + 8]
push 0x4b2700
push edi
call ebx
mov esi, eax
add esp, 8
test esi, esi
je 0x444313
xor edx, edx
push edi
mov edi, dword [sym.imp.MSVCR100.dll__wtoi]
mov word [esi], dx
call edi
add esi, 2
push str._tid
push esi
mov dword [ebp - 0x12a4], eax
call ebx
add esp, 0xc
test eax, eax
je 0x444313
lea ebx, [eax + 0xa]
push str._ptid
push ebx
mov dword [ebp - 0x1288], 0
call dword [sym.imp.MSVCR100.dll_wcsstr]
add esp, 8
mov esi, eax
push ebx
test esi, esi
je 0x44424e
xor eax, eax
mov word [esi], ax
call edi
add esi, 0xc
push esi
mov ebx, eax
call edi
add esp, 8
mov dword [ebp - 0x1288], eax
jmp 0x444255
call edi
add esp, 4
mov ebx, eax
mov esi, dword [ebp - 0x12a0]
push esi
call dword [sym.imp.HFUILib.dll_public:_static_void___cdecl_CPaintManagerUI::SetResourceInstance_struct_HINSTANCE____]
mov eax, dword [0x4cb548]
add esp, 4
cmp dword [0x4cb55c], 8
jae 0x444278
mov eax, 0x4cb548
push eax
call dword [sym.imp.HFUILib.dll_public:_static_bool___cdecl_CPaintManagerUI::SetSkinZipFile_wchar_t_const__]
push 0xc0
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 8
mov dword [ebp - 0x12ac], eax
mov dword [ebp - 4], 0xf
test eax, eax
je 0x4442c3
mov ecx, dword [ebp - 0x1288]
mov edx, dword [ebp - 0x1298]
push ecx
push edx
mov edx, dword [ebp - 0x12a4]
push ebx
push esi
push eax
mov ebx, 0x4ab248
call fcn.00418d60
mov edi, eax
jmp 0x4442c5
xor edi, edi
lea eax, [ebp - 0x12a8]
push eax
lea ecx, [ebp - 0x129c]
push ecx
mov dword [ebp - 4], 0xffffffff
call fcn.00468270
mov edx, dword [ebp - 0x129c]
xor eax, eax
mov dword [ebp - 0x103c], eax
mov dword [ebp - 0x1038], eax
mov eax, dword [ebp - 0x12a8]
mov dword [ebp - 0x1030], eax
add esp, 8
lea eax, [ebp - 0x103c]
mov dword [ebp - 0x1034], edx
call fcn.00418fc0
mov al, 1
lea esp, [ebp - 0x12c0]
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.00497792
mov esp, ebp
pop ebp
ret