Function at 0x1004d440
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10125db3
mov eax, dword fs:[0]
push eax
sub esp, 0x530
mov eax, dword [0x10167c60]
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, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x40], eax
call fcn.1004cbd0
mov ecx, eax
call fcn.10091950
call fcn.1004cbd0
push 0
push 0x20
add eax, 4
push eax
push 0xd2
call fcn.10014930
mov ecx, eax
call fcn.1008f0c0
call fcn.1004cbd0
push 0
push 0x1f
add eax, 4
push eax
push 0xd8
call fcn.10014930
mov ecx, eax
call fcn.1008f0c0
call fcn.1004cbd0
push 0
push 0x1b
add eax, 4
push eax
push 0xdc
call fcn.10014930
mov ecx, eax
call fcn.1008f0c0
call fcn.1004cbd0
push 0
push 0xf
add eax, 4
push eax
push 0xd9
call fcn.10014930
mov ecx, eax
call fcn.1008f0c0
call fcn.1004cbd0
push 0
push 0x23
add eax, 4
push eax
push 0xdb
call fcn.10014930
mov ecx, eax
call fcn.1008f0c0
call fcn.1004cbd0
push 0
push 0x5a
add eax, 4
push eax
push 0xd4
call fcn.10014930
mov ecx, eax
call fcn.1008f0c0
call fcn.1004cbd0
push 0
push 0x10
add eax, 4
push eax
push 0xde
call fcn.10014930
mov ecx, eax
call fcn.1008f0c0
call fcn.1004cbd0
push 1
push 0x10
add eax, 4
push eax
push 0x104
call fcn.10014930
mov ecx, eax
call fcn.1008f0c0
call fcn.1004cbd0
push 0
push 0x20
add eax, 4
push eax
push 0xe2
call fcn.10014930
mov ecx, eax
call fcn.1008f0c0
call fcn.1004cbd0
push 4
push 0x20
add eax, 4
push eax
push 0xe3
call fcn.10014930
mov ecx, eax
call fcn.1008f0c0
call fcn.1004cbd0
push 0
push 0x16
add eax, 4
push eax
push 0xe4
call fcn.10014930
mov ecx, eax
call fcn.1008f0c0
call fcn.1004cbd0
push 4
push 0x16
add eax, 4
push eax
push 0xe5
call fcn.10014930
mov ecx, eax
call fcn.1008f0c0
push 3
push 0xcd
push 0xcd
call fcn.10014930
mov ecx, eax
call fcn.1008f1d0
push 3
push 0xd0
push 0xd0
call fcn.10014930
mov ecx, eax
call fcn.1008f1d0
push 3
push 0xd1
push 0xd1
call fcn.10014930
mov ecx, eax
call fcn.1008f1d0
push 6
push 0xdf
push 0xdf
call fcn.10014930
mov ecx, eax
call fcn.1008f1d0
push 0xc
push 0xe0
push 0xe0
call fcn.10014930
mov ecx, eax
call fcn.1008f1d0
push 1
push 0xe1
push 0xe1
call fcn.10014930
mov ecx, eax
call fcn.1008f1d0
push 1
push 0xe6
push 0xe6
call fcn.10014930
mov ecx, eax
call fcn.1008f1d0
push 3
push 0xe7
push 0xe7
call fcn.10014930
mov ecx, eax
call fcn.1008f1d0
push 3
push 0xe8
push 0xe8
call fcn.10014930
mov ecx, eax
call fcn.1008f1d0
push 3
push 0xe9
push 0xe9
call fcn.10014930
mov ecx, eax
call fcn.1008f1d0
push 3
push 0xea
push 0xea
call fcn.10014930
mov ecx, eax
call fcn.1008f1d0
push 3
push 0xeb
push 0xeb
call fcn.10014930
mov ecx, eax
call fcn.1008f1d0
push 1
push 0xec
push 0xec
call fcn.10014930
mov ecx, eax
call fcn.1008f1d0
push 1
push 0xed
push 0xed
call fcn.10014930
mov ecx, eax
call fcn.1008f1d0
push 3
push 0xee
push 0xee
call fcn.10014930
mov ecx, eax
call fcn.1008f1d0
push 3
push 0xef
push 0xef
call fcn.10014930
mov ecx, eax
call fcn.1008f1d0
push 3
push 0xf0
push 0xf0
call fcn.10014930
mov ecx, eax
call fcn.1008f1d0
push 3
push 0xf8
push 0xf8
call fcn.10014930
mov ecx, eax
call fcn.1008f1d0
push 3
push 0xf9
push 0xf9
call fcn.10014930
mov ecx, eax
call fcn.1008f1d0
push 6
push 0xf6
push 0xf6
call fcn.10014930
mov ecx, eax
call fcn.1008f1d0
push 1
push 0xf7
push 0xf7
call fcn.10014930
mov ecx, eax
call fcn.1008f1d0
push 1
push 0xfa
push 0xfa
call fcn.10014930
mov ecx, eax
call fcn.1008f1d0
push 3
push 0xfb
push 0xfb
call fcn.10014930
mov ecx, eax
call fcn.1008f1d0
call fcn.1002fe60
mov ecx, eax
call fcn.10021a00
imul eax, eax, 0xea60
mov dword [ebx + 0x44], eax
call fcn.1002fe60
mov ecx, eax
call fcn.10021e80
test eax, eax
jle 0x1004d83b
mov dword [ebx + 0x44], eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x110], 0x740068
push eax
lea ecx, [ebp - 0x521]
mov dword [ebp - 0x10c], 0x700074
mov dword [ebp - 0x108], 0x2f003a
mov dword [ebp - 0x104], 0x73002f
mov dword [ebp - 0x100], 0x2e0073
mov dword [ebp - 0xfc], 0x680073
mov dword [ebp - 0xf8], 0x6e0061
mov dword [ebp - 0xf4], 0x750068
mov dword [ebp - 0xf0], 0x650074
mov dword [ebp - 0xec], 0x680063
mov dword [ebp - 0xe8], 0x63002e
mov dword [ebp - 0xe4], 0x2f006e
mov dword [ebp - 0xe0], 0x690062
mov dword [ebp - 0xdc], 0x68007a
mov dword [ebp - 0xd8], 0x3f0069
mov dword [ebp - 0xd4], 0x690070
mov dword [ebp - 0xd0], 0x3d0064
mov dword [ebp - 0xcc], 0x70007b
mov dword [ebp - 0xc8], 0x640069
mov dword [ebp - 0xc4], 0x26007d
mov dword [ebp - 0xc0], 0x69006d
mov dword [ebp - 0xbc], 0x3d0064
mov dword [ebp - 0xb8], 0x6d007b
mov dword [ebp - 0xb4], 0x640069
mov dword [ebp - 0xb0], 0x26007d
mov dword [ebp - 0xac], 0x69006d
mov dword [ebp - 0xa8], 0x320064
mov dword [ebp - 0xa4], 0x7b003d
mov dword [ebp - 0xa0], 0x69006d
mov dword [ebp - 0x9c], 0x320064
mov dword [ebp - 0x98], 0x26007d
mov dword [ebp - 0x94], 0x700061
mov dword [ebp - 0x90], 0x760070
mov dword [ebp - 0x8c], 0x720065
mov dword [ebp - 0x88], 0x7b003d
mov dword [ebp - 0x84], 0x700061
mov dword [ebp - 0x80], 0x760070
mov dword [ebp - 0x7c], 0x720065
mov dword [ebp - 0x78], 0x26007d
mov dword [ebp - 0x74], 0x6f006d
mov dword [ebp - 0x70], 0x760064
mov dword [ebp - 0x6c], 0x720065
mov dword [ebp - 0x68], 0x7b003d
mov dword [ebp - 0x64], 0x6f006d
mov dword [ebp - 0x60], 0x760064
mov dword [ebp - 0x5c], 0x720065
mov dword [ebp - 0x58], 0x26007d
mov dword [ebp - 0x54], 0x790074
mov dword [ebp - 0x50], 0x650070
mov dword [ebp - 0x4c], 0x7b003d
mov dword [ebp - 0x48], 0x790074
mov dword [ebp - 0x44], 0x650070
mov dword [ebp - 0x40], 0x26007d
mov dword [ebp - 0x3c], 0x630061
mov dword [ebp - 0x38], 0x690074
mov dword [ebp - 0x34], 0x6e006f
mov dword [ebp - 0x30], 0x7b003d
mov dword [ebp - 0x2c], 0x630061
mov dword [ebp - 0x28], 0x690074
mov dword [ebp - 0x24], 0x6e006f
mov dword [ebp - 0x20], 0x7d
call fcn.1004a4f0
push eax
push 1
call fcn.10014870
mov ecx, eax
call fcn.1009cb50
push 0
push ecx
mov eax, esp
push 0
push SysReAllocString
push 0
push ecx
mov dword [eax], 0
mov eax, esp
push 0
mov dword [eax], 0x1016602c
lea ecx, [ebx + 4]
call fcn.1004c160
mov ecx, dword [ebx + 0x40]
lea eax, [ebx + 0x34]
mov edx, ebx
neg edx
mov esi, dword [ecx]
sbb edx, edx
and edx, eax
push edx
call dword [esi]
mov eax, dword [ebx + 0x40]
mov esi, dword [eax]
call fcn.1004cc90
mov ecx, dword [ebx + 0x40]
push eax
call dword [esi]
push dword [ebx + 0x40]
call fcn.1004cb10
mov ecx, eax
call fcn.1000c680
call fcn.100a2db0
mov dword [ebx + 0x70], eax
test eax, eax
je 0x1004db1a
mov esi, dword [eax]
lea ecx, [ebp - 0x521]
call fcn.10047300
push eax
push dword [ebx + 0x70]
call dword [esi]
mov edx, dword [ebx + 0x70]
lea eax, [ebx + 0x30]
mov ecx, ebx
neg ecx
mov esi, dword [edx]
sbb ecx, ecx
and ecx, eax
push ecx
push edx
call dword [esi + 4]
mov eax, dword [ebx + 0x70]
push 0
push 1
push 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0x40]
mov eax, dword [ebx + 0x70]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
call fcn.1002fe60
mov ecx, eax
call fcn.100219b0
cmp eax, 1
jne 0x1004db7e
call fcn.100088b0
mov ecx, eax
test ecx, ecx
je 0x1004dfcc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x52c], eax
push str.enable
lea ecx, [ebp - 0x52c]
mov dword [ebp - 4], 0
call fcn.10016a90
test al, al
jne 0x1004db75
push 6
push str.enable
lea ecx, [ebp - 0x52c]
call fcn.1000b940
mov dword [ebp - 4], 1
jmp 0x1004dbcf
call fcn.100088b0
mov ecx, eax
test ecx, ecx
je 0x1004dfd6
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x52c], eax
push str.disable
lea ecx, [ebp - 0x52c]
mov dword [ebp - 4], 2
call fcn.10016a90
test al, al
jne 0x1004dbc8
push 7
push str.disable
lea ecx, [ebp - 0x52c]
call fcn.1000b940
mov dword [ebp - 4], 3
mov esi, dword [ebp - 0x52c]
push 0
push 0
push 1
push 0
push esi
call fcn.10014870
mov ecx, eax
call fcn.1009cb70
or edi, 0xffffffff
add esi, 0xfffffff0
mov eax, edi
mov dword [ebp - 4], edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1004dc07
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push 0x208
lea eax, [ebp - 0x318]
push 0
push eax
call fcn.100e67c0
add esp, 0xc
lea eax, [ebp - 0x318]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x360033
push eax
lea eax, [ebp - 0x318]
mov dword [ebp - 0x18], 0x770030
push eax
mov dword [ebp - 0x14], 0x70
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x208
lea eax, [ebp - 0x520]
push 0
push eax
call fcn.100e67c0
add esp, 0xc
lea ecx, [ebp - 0x521]
call fcn.10048df0
push eax
lea eax, [ebp - 0x318]
push eax
lea eax, [ebp - 0x520]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x520]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [0x101728c4], eax
call fcn.100088b0
mov ecx, eax
test ecx, ecx
je 0x1004dfe0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x534], eax
lea eax, [ebp - 0x318]
mov dword [ebp - 4], 4
push eax
lea ecx, [ebp - 0x521]
call fcn.100485d0
push eax
lea eax, [ebp - 0x534]
push eax
call fcn.100086f0
add esp, 0xc
lea eax, [ebp - 0x534]
mov ecx, 0x101728c8
push eax
call fcn.10062840
lea ecx, [ebp - 0x521]
call fcn.1004ae90
push eax
call fcn.10061520
add esp, 4
push 0
push 0
push 0x40f
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_PostMessageW]
push dword [ebx + 0x40]
call fcn.1004ce10
mov ecx, eax
call fcn.10079850
mov dword [ebx + 0xf4], eax
mov eax, dword [0x10172a60]
test eax, eax
jne 0x1004dd65
push 0x58
call fcn.100c456e
add esp, 4
mov dword [ebp - 0x528], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x1004dd5a
mov ecx, eax
call fcn.10065280
jmp 0x1004dd5c
xor eax, eax
mov byte [ebp - 4], 4
mov dword [0x10172a60], eax
mov ecx, eax
call fcn.10065640
call fcn.1002fe60
mov ecx, eax
call fcn.10020490
test eax, eax
je 0x1004de2e
push 0x20
call fcn.100c456e
mov esi, eax
add esp, 4
mov dword [ebp - 0x528], esi
mov byte [ebp - 4], 6
test esi, esi
je 0x1004ddb8
lea ecx, [esi + 0xc]
mov dword [esi + 4], 1
mov dword [esi + 8], 1
mov dword [esi], vtable.std::_Ref_count_obj_class_FullScreenAdConfigTask3_.0
call fcn.10035fc0
jmp 0x1004ddba
xor esi, esi
lea edx, [esi + 0xc]
mov dword [ebp - 0x52c], esi
mov dword [ebp - 0x530], edx
sub esp, 8
mov byte [ebp - 4], 7
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
test esi, esi
je 0x1004dde9
lea ecx, [esi + 4]
lock inc dword [ecx]
mov dword [eax], edx
mov dword [eax + 4], esi
mov ecx, dword [0x10172a60]
call fcn.10065550
call fcn.1002fe60
mov ecx, eax
call fcn.10023580
mov byte [ebp - 4], 4
test esi, esi
je 0x1004de2e
mov eax, edi
lea ecx, [esi + 4]
lock xadd dword [ecx], eax
jne 0x1004de2e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1004de2e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push 0
push 0x1388
push 0x46a
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_SetTimer]
push 0x13b8
call fcn.100c456e
mov esi, eax
add esp, 4
mov dword [ebp - 0x528], esi
mov byte [ebp - 4], 8
test esi, esi
je 0x1004de7e
lea ecx, [esi + 0x10]
mov dword [esi + 4], 1
mov dword [esi + 8], 1
mov dword [esi], vtable.std::_Ref_count_obj_class_FullScreenAdConfigTask_.0
call fcn.10036000
jmp 0x1004de80
xor esi, esi
lea ecx, [esi + 0x10]
mov dword [ebp - 0x52c], esi
mov dword [ebp - 0x530], ecx
sub esp, 8
mov byte [ebp - 4], 9
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
test esi, esi
je 0x1004dead
lock inc dword [esi + 4]
mov dword [eax], ecx
mov dword [eax + 4], esi
mov ecx, dword [0x10172a60]
call fcn.10065550
push 0x20
call fcn.100c456e
mov edi, eax
add esp, 4
mov dword [ebp - 0x528], edi
mov byte [ebp - 4], 0xa
test edi, edi
je 0x1004def5
lea ecx, [edi + 0xc]
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov dword [edi], vtable.std::_Ref_count_obj_class_FullScreenAdConfigTask2_.0
call fcn.10035f80
jmp 0x1004def7
xor edi, edi
lea edx, [edi + 0xc]
mov dword [ebp - 0x538], edi
mov dword [ebp - 0x53c], edx
sub esp, 8
mov byte [ebp - 4], 0xb
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
test edi, edi
je 0x1004df26
lea ecx, [edi + 4]
lock inc dword [ecx]
mov dword [eax], edx
mov dword [eax + 4], edi
mov ecx, dword [0x10172a60]
call fcn.10065550
mov eax, dword [ebx]
push ebx
call dword [eax + 0x24]
or ebx, 0xffffffff
test edi, edi
je 0x1004df64
mov eax, ebx
lea ecx, [edi + 4]
lock xadd dword [ecx], eax
jne 0x1004df64
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x1004df64
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
test esi, esi
je 0x1004df87
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x1004df87
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x1004df87
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edx, dword [ebp - 0x534]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1004dfa9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
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.100c495f
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.10008520
push 0x80004005
call fcn.10008520
push 0x80004005
call fcn.10008520
int3