Function at 0x1002f250
Capabilities:
Check if file exists
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100b3ab4
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x100e18d0]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [0x100e18d0]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x1c], edi
add edi, 0x9fd8
xor esi, esi
cmp edi, esi
je 0x1002f527
cmp dword [edi + 0x20], esi
je 0x1002f527
push 0x40
lea eax, [esp + 0x30]
push esi
push eax
mov dword [esp + 0x30], vtable.CMD5Checksum.0
mov dword [esp + 0x34], esi
call fcn.10083840
add esp, 0xc
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x74], 0x67452301
mov dword [esp + 0x78], 0xefcdab89
mov dword [esp + 0x7c], 0x98badcfe
mov dword [esp + 0x80], 0x10325476
mov dword [esp + 0x98], esi
call fcn.1005e14e
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x1002f314
push 0x80004005
call fcn.10002b30
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea esi, [esp + 0x14]
mov byte [esp + 0x98], 1
call fcn.10043fe0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x9c], 2
call fcn.10003c40
mov byte [esp + 0x98], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002f36f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xd
push str.ProfilePhotos
lea ecx, [esp + 0x20]
call fcn.10003ce0
push 1
push 0x100c0044
lea ecx, [esp + 0x20]
call fcn.10003ce0
push ecx
mov esi, esp
mov dword [esp + 0x18], esp
call fcn.1005a3e0
lea ecx, [esp + 0x18]
call fcn.10021680
mov byte [esp + 0x98], 3
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.10003ce0
mov byte [esp + 0x98], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002f3e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 4
push str..png
lea ecx, [esp + 0x20]
call fcn.10003ce0
mov ebx, dword [esp + 0x18]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1002f428
push 0
push ecx
lea eax, [ebx - 0x10]
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
call fcn.10002b60
add esp, 4
add eax, 0x10
push edi
mov dword [esi], eax
call fcn.10038c80
jmp 0x1002f4ee
push 0x100bec10
lea ecx, [esp + 0x18]
call fcn.10002440
push 1
mov byte [esp + 0x9c], 4
mov ecx, dword [esp + 0x18]
push ecx
push str.Background_Image
push str.MASD_Profile_Photo_Button
push str.Register
call sub.SkinsManager.dll_GetSkinsFile
add esp, 0x14
test eax, eax
jne 0x1002f464
xor ecx, ecx
jmp 0x1002f47f
mov ecx, eax
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x1002f470
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.10002a80
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 0
test eax, eax
je 0x1002f4bf
mov eax, dword [esp + 0x18]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
call fcn.10002b60
add esp, 4
add eax, 0x10
push edi
mov dword [esi], eax
call fcn.10038c80
jmp 0x1002f4c6
mov eax, edi
call fcn.10038fd0
mov byte [esp + 0x98], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002f4ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 0x9ff8]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea eax, [ebx - 0x10]
mov byte [esp + 0x98], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002f527
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.1007fe37
mov esp, ebp
pop ebp
ret