Function at 0x100afbc0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100efce7
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x10122094]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x110], 0
cmp byte [0x1012f131], 0
mov eax, dword [0x1013adbc]
mov eax, dword [eax]
mov dword [ebp - 0x110], eax
jne 0x100afc24
push str.Waiting_for_MPQ_Data_to_finish_loading...
push 1
call fcn.10041380
jmp 0x100b0741
call fcn.10036be0
mov edi, eax
mov dword [ebp - 0x118], edi
test edi, edi
je 0x100b0744
mov edx, dword [0x101252d4]
mov esi, 0x7fffffff
mov ecx, esi
sub ecx, edx
cmp ecx, 7
jb 0x100b075f
cmp dword [0x101252d8], 0x10
mov eax, 0x101252c4
push 7
cmovae eax, dword [0x101252c4]
push str._stash_
push edx
push eax
push ecx
push dword [ebp - 0x12c]
lea ecx, [ebp - 0xa0]
call fcn.1003f600
cmp dword [ebp - 0x8c], 0x10
lea eax, [ebp - 0xa0]
push 0
cmovae eax, dword [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, dword [ebp - 0x8c]
cmp edx, 0x10
jb 0x100afcd6
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100afccc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b0764
push edx
push ecx
call fcn.100b4eda
add esp, 8
mov ecx, dword [0x101252d4]
sub esi, ecx
mov edi, dword [edi + 0x14]
cmp esi, 7
jb 0x100b0769
cmp dword [0x101252d8], 0x10
mov eax, 0x101252c4
push 7
cmovae eax, dword [0x101252c4]
push str._stash_
push ecx
push eax
push ecx
push dword [ebp - 0x12c]
lea ecx, [ebp - 0xa0]
call fcn.1003f600
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xa0]
mov eax, dword [ebp - 0x110]
add eax, 0x89
push eax
call fcn.1003eb50
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push 0x1010d8fc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.1003eb50
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xc0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xb0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push edi
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 2
call fcn.1003eb50
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x60], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push str..txt
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.1003eb50
mov dword [ebp - 0x88], 0
mov edi, 0x7e
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
movups xmm0, xmmword [eax]
mov dword [ebp - 0x120], edi
movups xmmword [ebp - 0x88], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x78], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x100afe9c
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100afe92
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b076e
push edx
push ecx
call fcn.100b4eda
add esp, 8
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0xac]
cmp edx, 0x10
jb 0x100afeec
mov ecx, dword [ebp - 0xc0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100afee2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b076e
push edx
push ecx
call fcn.100b4eda
add esp, 8
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], 0
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100aff3f
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100aff35
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b076e
push edx
push ecx
call fcn.100b4eda
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x8c]
cmp edx, 0x10
jb 0x100aff8f
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100aff85
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b076e
push edx
push ecx
call fcn.100b4eda
add esp, 8
sub esp, 8
mov dword [ebp - 0x90], 0
lea eax, [ebp - 0x88]
mov dword [ebp - 0x8c], 0xf
lea ecx, [ebp - 0x218]
mov byte [ebp - 0xa0], 0
push 0x12
push eax
call fcn.1004e7f0
mov byte [ebp - 4], 9
cmp dword [ebp - 0x1b4], 0
jne 0x100afff4
cmp dword [ebp - 0x74], 0x10
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
push eax
push str.Failed_to_open__s_for_writing
push 1
call fcn.10041380
add esp, 0xc
jmp 0x100b0706
push 0x14
call fcn.100b4eaa
push 0x18
mov dword [ebp - 0x114], eax
mov dword [eax], vtable.JSONArray.0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 4], 5
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
call fcn.100b4eaa
mov ecx, eax
add esp, 8
mov dword [ecx], ecx
mov dword [ecx + 4], ecx
mov dword [ecx + 8], ecx
mov word [ecx + 0xc], 0x101
mov dword [ebp - 0x128], ecx
mov eax, dword [ebp - 0x118]
mov byte [ebp - 4], 0xa
mov eax, dword [eax + 0x60]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x118], eax
test eax, eax
je 0x100b036e
mov eax, dword [eax + 0x14]
cmp byte [eax + 0x69], 3
jne 0x100b00d4
push 0x11
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x40]
push str.Include_Equipment
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1003f030
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xb
or edi, 1
mov ecx, 0x1013adac
push eax
mov dword [ebp - 0x120], edi
mov dword [ebp - 0x110], edi
call fcn.1005ae70
mov byte [ebp - 0x109], 1
cmp byte [eax + 4], 0
je 0x100b00db
mov byte [ebp - 0x109], 0
mov dword [ebp - 4], 0xa
mov eax, dword [ebp - 0x120]
test al, 1
je 0x100b0129
mov edx, dword [ebp - 0x2c]
and eax, 0xfffffffe
mov dword [ebp - 0x120], eax
cmp edx, 0x10
jb 0x100b0129
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100b011f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b0764
push edx
push ecx
call fcn.100b4eda
add esp, 8
cmp byte [ebp - 0x109], 0
jne 0x100b0347
push 0x10
call fcn.100b4eaa
mov edi, eax
mov dword [ebp - 0x130], edi
mov byte [ebp - 4], 0xd
lea esi, [edi + 8]
mov dword [edi], vtable.JSONObject.0
mov dword [ebp - 0x110], esi
push 0x2c
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100b4eaa
mov ecx, dword [ebp - 0x118]
mov edx, edi
mov byte [ebp - 4], 0xa
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [edi + 4], 4
call fcn.100ae900
sub esp, 0x10
mov ecx, esp
push 4
push str.type
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.1003f030
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.1005ffe0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov esi, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
cmovae ecx, esi
push 6
push str.Potion
push 0
setae byte [ebp - 0x109]
call fcn.100434c0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x100b030d
cmp byte [ebp - 0x109], 0
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
push 6
push str.Scroll
cmovne ecx, esi
push 0
call fcn.100434c0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x100b030d
cmp byte [ebp - 0x109], 0
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
push 4
push str.Tome
cmovne ecx, esi
push 0
call fcn.100434c0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x100b030d
mov eax, dword [ebp - 0x114]
mov esi, dword [eax + 8]
cmp esi, dword [eax + 0xc]
je 0x100b027d
nop dword [eax + eax]
mov eax, dword [edi]
mov ecx, edi
push dword [esi]
mov eax, dword [eax + 0x1c]
call eax
test al, al
jne 0x100b02a7
mov eax, dword [ebp - 0x114]
add esi, 4
cmp esi, dword [eax + 0xc]
jne 0x100b0260
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x110], edi
mov esi, dword [ebp - 0x114]
mov byte [ebp - 4], 0xf
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x100b02ed
mov dword [eax], edi
add dword [esi + 0xc], 4
jmp 0x100b030d
mov eax, dword [esi]
mov dword [ebp - 0x11c], eax
test eax, eax
je 0x100b0287
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x128]
call fcn.100b14e0
lea ecx, [ebp - 0x128]
cmp dword [eax], 0
lea eax, [ebp - 0x11c]
push eax
je 0x100b02e0
call fcn.100b14e0
inc dword [eax]
jmp 0x100b030d
call fcn.100b14e0
mov dword [eax], 2
jmp 0x100b030d
lea ecx, [ebp - 0x110]
push ecx
push eax
lea ecx, [esi + 8]
call fcn.100615e0
mov ecx, dword [ebp - 0x110]
test ecx, ecx
je 0x100b030d
mov eax, dword [ecx]
push 1
call dword [eax]
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x100b0347
mov esi, dword [ebp - 0x28]
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x100b033d
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b0764
push ecx
push esi
call fcn.100b4eda
add esp, 8
mov eax, dword [ebp - 0x118]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x64]
mov dword [ebp - 0x118], eax
test eax, eax
je 0x100b0368
mov edi, dword [ebp - 0x120]
jmp 0x100b0075
mov ecx, dword [ebp - 0x128]
mov esi, dword [ecx]
cmp esi, ecx
je 0x100b03e8
push dword [esi + 0x14]
mov edi, dword [esi + 0x10]
sub esp, 0x18
mov ecx, esp
push 5
push str.count
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.1003f030
mov ecx, edi
call fcn.1005fac0
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x100b03cc
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x100b03c8
cmp esi, dword [eax + 8]
jne 0x100b03c8
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x100b03b8
mov esi, eax
jmp 0x100b03e0
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x100b03e0
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x100b03d6
cmp esi, dword [ebp - 0x128]
jne 0x100b0374
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov eax, dword [ebp - 0x12c]
mov byte [ebp - 4], 0x10
mov esi, dword [eax + 0x48]
test esi, esi
jne 0x100b044c
push ecx
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0xa8]
call fcn.100ac8d0
mov ecx, dword [ebp - 0x114]
lea edx, [ebp - 0xa8]
mov byte [ebp - 4], 0x11
push edx
mov eax, dword [ecx]
call dword [eax + 0x14]
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0x10
call fcn.1003e8f0
jmp 0x100b066c
mov ecx, dword [eax + 0x54]
mov edi, dword [eax + 0x50]
sub ecx, edi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, esi
jbe 0x100b0773
lea eax, [esi + esi*2]
lea eax, [edi + eax*8]
push eax
lea ecx, [ebp - 0x40]
call fcn.1003ecf0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.100b1800
mov eax, dword [ebp - 0x5c]
mov ecx, dword [0x1013adb4]
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x40]
cmp byte [eax + 0xd], 0
jne 0x100b04d2
mov edx, dword [eax + 0x20]
add eax, 0x10
cmp dword [eax + 0x14], 0x10
jb 0x100b04ac
mov eax, dword [eax]
cmp edi, 0x10
lea ecx, [ebp - 0x40]
push edx
mov edx, dword [ebp - 0x30]
cmovae ecx, esi
push eax
call fcn.10052220
mov ecx, dword [0x1013adb4]
add esp, 8
shr eax, 0x1f
test al, al
mov eax, dword [ebp - 0x5c]
je 0x100b04d4
mov eax, ecx
cmp eax, ecx
je 0x100b063a
lea eax, [ebp - 0x158]
mov dword [ebp - fcn.100b19f0], vtable.std::_Func_impl_no_alloc_class__lambda_1e44e823035da813b697cd7e2c44453d___class_Mustache::AMustacheTemplate___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___.0
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0x100]
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x130], eax
mov dword [ebp - 0xdc], 0
push eax
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 0x14
call fcn.100b19f0
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0xdc], eax
test ecx, ecx
je 0x100b055b
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x158]
cmp ecx, eax
setne al
push eax
call edx
mov dword [ebp - 0x134], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x15
push eax
call fcn.100b16e0
mov ecx, dword [eax]
test ecx, ecx
je 0x100b0583
mov eax, dword [ecx]
lea edx, [ebp - 0x108]
push edx
lea edx, [ebp - 0xd8]
push edx
call dword [eax + 4]
jmp 0x100b05b3
push 0
push 0x101038b3
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0xf
call fcn.1003f030
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x58]
call fcn.1004eec0
mov edx, dword [ebp - 0xc4]
cmp edx, 0x10
jb 0x100b05fc
mov ecx, dword [ebp - 0xd8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100b05f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b0778
push edx
push ecx
call fcn.100b4eda
add esp, 8
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0xf
mov byte [ebp - 0xd8], 0
test ecx, ecx
je 0x100b0634
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x100]
cmp ecx, eax
setne al
push eax
call edx
mov esi, dword [ebp - 0x40]
mov edi, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x10
cmp edi, 0x10
jb 0x100b066c
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x100b0662
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b077d
push edi
push esi
call fcn.100b4eda
add esp, 8
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
push 0
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x208]
push eax
call fcn.100b15c0
mov ecx, dword [ebp - 0x114]
push 1
mov eax, dword [ecx]
call dword [eax]
cmp dword [ebp - 0x74], 0x10
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
push eax
push str.Exported_stash_to:__s
push 0
call fcn.10041380
mov edx, dword [ebp - 0x44]
add esp, 0xc
cmp edx, 0x10
jb 0x100b06e9
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100b06df
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b0782
push edx
push ecx
call fcn.100b4eda
add esp, 8
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.10094920
lea ecx, [ebp - 0x218]
call fcn.10049780
mov edx, dword [ebp - 0x74]
cmp edx, 0x10
jb 0x100b0744
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100b073a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b0782
push edx
push ecx
call fcn.100b4eda
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b4e9c
mov esp, ebp
pop ebp
ret
call fcn.10036790
call fcn.100ba49f
call fcn.10036790
call fcn.100ba49f
call fcn.10050440
call fcn.100ba49f
call fcn.100ba49f
call fcn.100ba49f
int3