Function at 0x42b550
Capabilities:
Check if file exists
Delete file
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x4a80cf
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x4cdbb4]
xor eax, esp
mov dword [esp + 0xf0], eax
push ebx
push esi
push edi
mov eax, dword [0x4cdbb4]
xor eax, esp
push eax
lea eax, [esp + 0x104]
mov dword fs:[0], eax
mov dword [esp + 0x10], 0
mov eax, dword [0x4cf698]
mov edx, dword [eax + 0xc]
mov ecx, 0x4cf698
call edx
lea edi, [eax + 0x10]
mov dword [esp + 0x28], edi
mov eax, dword [0x4cf698]
mov edx, dword [eax + 0xc]
mov ecx, 0x4cf698
mov dword [esp + 0x10c], 0
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x110], 1
call fcn.0043f850
mov ecx, eax
call fcn.00413750
mov ecx, dword [eax]
push str.0.8.4
push ecx
lea edx, [esp + 0x1c]
push 0x4acc94
push edx
mov byte [esp + 0x11c], 2
call fcn.004110f0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x10c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b62c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.gui_avatar_input_handler.xml
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00413780
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.DLL_DeleteFileW]
add esp, 0xc
push eax
call esi
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b66e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.scriptsclientAvatarInputHandlercameras.pyc
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00413780
mov eax, dword [eax]
add esp, 0xc
push eax
call esi
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b6aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x114], 0
jne 0x42b7cd
push str.gui_avatar_input_handler.xml
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00413780
add esp, 0xc
mov eax, dword [eax]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, 1
push eax
mov byte [esp + 0x110], 3
mov dword [esp + 0x14], ebx
call esi
test eax, eax
jne 0x42b719
push str.scriptsclientAvatarInputHandlercameras.pyc
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00413780
mov eax, dword [eax]
add esp, 0xc
push eax
mov ebx, 3
call esi
test eax, eax
jne 0x42b719
lea esi, [ebx - 2]
jmp 0x42b71b
xor esi, esi
test bl, 2
je 0x42b747
mov eax, dword [esp + 0x20]
and ebx, 0xfffffffd
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42b747
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x10c], 1
test bl, 1
je 0x42b777
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b777
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x10c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b79f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x10c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b7c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x42bb98
push 0x4ae4cc
push 0x104
push 0
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_LoadResource]
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
lea ecx, [esp + 0x38]
mov esi, eax
call fcn.00445de0
push 0
push 0x74
push edi
push esi
lea ecx, [esp + 0x3c]
push ecx
mov bl, 4
lea ecx, [esp + 0x4c]
mov byte [esp + 0x120], bl
call fcn.004470a0
mov ecx, eax
call fcn.00443250
test al, al
jne 0x42b89a
lea ecx, [esp + 0x38]
mov byte [esp + 0x10c], 1
call fcn.00445e00
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x10c], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42b868
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x10c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b893
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x42bb98
cmp byte [esp + 0x118], 0
je 0x42b95a
push str.10_360
lea ecx, [esp + 0x20]
push ecx
push str.angleRange
lea edx, [esp + 0x24]
push edx
push str.camera
lea eax, [esp + 0x34]
push eax
push str.arcadeMode
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x5c]
call fcn.00443160
mov ecx, eax
call fcn.00442f50
mov ecx, eax
call fcn.00442f50
mov ecx, eax
call fcn.00442f50
mov ecx, eax
call fcn.00443160
mov ecx, eax
call fcn.00445aa0
push str.2_1000
lea eax, [esp + 0x28]
push eax
push str.distRange
lea ecx, [esp + 0x28]
push ecx
push str.camera
lea edx, [esp + 0x2c]
push edx
push str.arcadeMode
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x5c]
call fcn.00443160
mov ecx, eax
call fcn.00442f50
mov ecx, eax
call fcn.00442f50
mov ecx, eax
call fcn.00442f50
mov ecx, eax
call fcn.00443160
mov ecx, eax
call fcn.00445aa0
cmp byte [esp + 0x11c], 0
je 0x42b9bd
push str.3_8_16
lea edx, [esp + 0x28]
push edx
push str.zooms
lea eax, [esp + 0x28]
push eax
push str.camera
lea ecx, [esp + 0x2c]
push ecx
push str.sniperMode
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x5c]
call fcn.00443160
mov ecx, eax
call fcn.00442f50
mov ecx, eax
call fcn.00442f50
mov ecx, eax
call fcn.00442f50
mov ecx, eax
call fcn.00443160
mov ecx, eax
call fcn.00445aa0
cmp byte [esp + 0x120], 0
je 0x42ba20
push str.0_500
lea ecx, [esp + 0x28]
push ecx
push str.distRange
lea edx, [esp + 0x28]
push edx
push str.camera
lea eax, [esp + 0x2c]
push eax
push str.strategicMode
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x5c]
call fcn.00443160
mov ecx, eax
call fcn.00442f50
mov ecx, eax
call fcn.00442f50
mov ecx, eax
call fcn.00442f50
mov ecx, eax
call fcn.00443160
mov ecx, eax
call fcn.00445aa0
push str.gui_avatar_input_handler.xml
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00413780
add esp, 0xc
mov eax, dword [eax]
push 0
push 9
push 0x4ae458
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x11c], 5
call fcn.004474b0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x10c], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42ba7b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x11c], 0
mov edi, dword [esp + 0x14]
jne 0x42ba97
cmp byte [esp + 0x120], 0
je 0x42bb33
lea ecx, [esp + 0x1c]
push ecx
call fcn.0043f850
mov ecx, eax
call fcn.00413720
mov edx, dword [eax]
push edx
lea eax, [esp + 0x2c]
push str._sDataViewUnlock.dat
push eax
mov byte [esp + 0x118], 6
call fcn.004110f0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 0xc
mov byte [esp + 0x10c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42baec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
lea eax, [edi - 0x10]
mov dword [esp + 0x28], esp
mov esi, esp
push eax
call fcn.00403ce0
add eax, 0x10
mov dword [esi], eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov esi, esp
push eax
mov byte [esp + 0x118], 7
call fcn.00403ce0
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x114], bl
call fcn.00440190
add esp, 8
lea ecx, [esp + 0x38]
mov byte [esp + 0x10c], 1
call fcn.00445e00
lea eax, [edi - 0x10]
mov byte [esp + 0x10c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bb68
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x10c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bb93
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x104]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.004874cc
add esp, 0x100
ret 0x10