Function at 0x10029330
Capabilities:
Check if file exists
Create directory
Delete file
Hash data with md5
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100b2d82
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 ebp
push esi
push edi
mov eax, dword [0x100e18d0]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov eax, dword [esp + 0xb0]
mov edi, ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], eax
xor ebp, ebp
mov dword [esp + 0x9c], ebp
push 0x40
lea ecx, [esp + 0x38]
push ebp
push ecx
mov dword [esp + 0x38], vtable.CMD5Checksum.0
mov dword [esp + 0x3c], ebp
call fcn.10083840
add esp, 0xc
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x7c], 0x67452301
mov dword [esp + 0x80], 0xefcdab89
mov dword [esp + 0x84], 0x98badcfe
mov dword [esp + 0x88], 0x10325476
mov byte [esp + 0x9c], 2
call fcn.1005e14e
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x100293f1
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
mov byte [esp + 0x9c], 3
call fcn.1005e14e
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x10029423
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 + 0x1c], eax
lea ecx, [esp + 0xa8]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa0], 4
mov dword [esp + 0x28], ebp
call fcn.10003c40
push 1
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x20]
call fcn.10005f40
mov eax, dword [eax]
mov ecx, 0x100c0044
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1002948d
cmp dx, bp
je 0x10029489
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1002948d
add eax, 4
add ecx, 4
cmp dx, bp
jne 0x10029467
xor eax, eax
jmp 0x10029492
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
mov eax, dword [esp + 0x14]
setne bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100294b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x100294cb
push 1
push 0x100c0044
lea ecx, [esp + 0x20]
call fcn.10003ce0
push str.temp
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.1001e9e0
add esp, 0xc
mov byte [esp + 0x9c], 5
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.10003ce0
mov byte [esp + 0x9c], 4
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 0x10029522
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xa4]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov esi, esp
push eax
call fcn.10002b60
add eax, 0x10
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esi], eax
call fcn.10021680
mov byte [esp + 0x9c], 6
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.10003ce0
mov byte [esp + 0x9c], 4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or ebx, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002958c
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 eax, dword [esp + 0xac]
cmp eax, ebp
jne 0x10029643
mov byte [esp + 0x9c], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100295d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x9c], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov edx, ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100295f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x9c], 0
mov eax, dword [esp + 0xa4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10029623
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x9c], ebx
mov eax, dword [esp + 0xa8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jmp 0x10029949
cmp eax, 1
jne 0x1002968e
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1002968e
mov byte [esp + 0x9c], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002967e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x9c], 2
lea eax, [esi - 0x10]
jmp 0x100295e1
mov esi, dword [esp + 0x1c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x100296a5
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0xc
push str.gudownd.png
lea ecx, [esp + 0x24]
call fcn.10003ce0
cmp dword [esp + 0xbc], ebp
jne 0x100296cc
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
call fcn.10003c40
push 1
add edi, 0x104
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov edx, dword [esp + 0xb8]
mov eax, dword [esp + 0xa4]
push 1
push ebp
mov ebp, dword [esp + 0x24]
push ebp
push edx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
call fcn.10002b60
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea esi, [esp + 0x28]
call fcn.10028e80
add esp, 8
mov byte [esp + 0xa8], 7
mov eax, dword [eax]
call fcn.1000b2c0
test eax, eax
mov byte [esp + 0x9c], 4
mov eax, dword [esp + 0x14]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10029752
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x100297e2
cmp dword [esp + 0xbc], 0
mov dword [esp + 0x24], 1
je 0x1002988c
mov eax, dword [esp + 0x18]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov esi, esp
push eax
call fcn.10002b60
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0xa4], 8
lea eax, [ebp - 0x10]
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
call fcn.10002b60
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0xa4], 4
call fcn.10029000
add esp, 8
push ebp
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1002988c
push ebp
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x1002988c
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x1002988c
call fcn.1005e14e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x100297fc
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 + 0x14], eax
mov byte [esp + 0x9c], 9
mov eax, dword [esp + 0x20]
cmp dword [eax + 0x15c], 8
jb 0x10029829
mov eax, dword [eax + 0x148]
jmp 0x1002982e
add eax, 0x148
push eax
push 0x6b2
push str.CMyAccountAPI::UpdateProfilePhoto
lea ecx, [esp + 0x20]
push str._s__d__s
push ecx
call fcn.10002730
mov esi, dword [esp + 0x28]
add esp, 0x10
add esi, 0xfffffff0
mov dword [esp + 0x24], esp
mov edi, esp
push esi
call fcn.10002b60
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.10028e20
mov byte [esp + 0x9c], 4
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x1002988c
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x100298af
mov edx, dword [esp + 0xb4]
xor ecx, ecx
cmp dword [esp + 0x24], ecx
push 0
setne cl
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
add ebp, 0xfffffff0
mov byte [esp + 0x9c], 3
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100298d4
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebp
call eax
mov byte [esp + 0x9c], 2
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 0x100298fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x9c], 0
mov eax, dword [esp + 0xa4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10029927
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x9c], 0xffffffff
mov eax, dword [esp + 0xa8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10029955
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.1007fe37
add esp, 0x8c
ret 0x1c