Function at 0x4057a0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x40f4cc
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x419050]
xor eax, esp
mov dword [esp + 0xc4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x419050]
xor eax, esp
push eax
lea eax, [esp + 0xdc]
mov dword fs:[0], eax
push str.Extracting_dbc_files..._n
call dword [sym.imp.MSVCR90.dll_printf]
add esp, 4
lea eax, [esp + 0x17]
push eax
lea ecx, [esp + 0x1b]
push ecx
lea ecx, [esp + 0x28]
call fcn.00405320
mov eax, dword [0x419088]
mov edx, dword [0x41908c]
mov ebx, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor ebp, ebp
add edx, eax
mov dword [esp + 0xe4], ebp
mov esi, eax
cmp eax, edx
jbe 0x405825
call ebx
mov eax, dword [0x419088]
mov edi, dword [0x419070]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], esi
mov ecx, dword [0x41908c]
lea esi, [ecx + eax]
cmp eax, esi
jbe 0x405842
call ebx
cmp edi, ebp
je 0x40584e
cmp edi, dword [0x419070]
je 0x405850
call ebx
cmp dword [esp + 0x1c], esi
je 0x405a26
push 4
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, ebp
je 0x405873
lea edx, [esp + 0x84]
mov dword [eax], edx
jmp 0x405875
xor eax, eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x90], ebp
mov dword [esp + 0x94], ebp
mov dword [esp + 0x98], ebp
lea ecx, [esp + 0x18]
mov byte [esp + 0xe4], 2
call fcn.00401700
lea ecx, [esp + 0x84]
push ecx
mov ecx, dword [eax]
call fcn.004055a0
mov edi, dword [esp + 0x90]
cmp edi, dword [esp + 0x94]
jbe 0x4058c3
call ebx
mov ebp, dword [esp + 0x84]
lea ebx, [ebx]
mov esi, dword [esp + 0x94]
cmp dword [esp + 0x90], esi
jbe 0x4058e2
call ebx
test ebp, ebp
je 0x4058ef
cmp ebp, dword [esp + 0x84]
je 0x4058f1
call ebx
cmp edi, esi
je 0x405984
test ebp, ebp
jne 0x405970
call ebx
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x405908
call ebx
mov edx, dword [sym.imp.MSVCP90.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov eax, dword [edx]
push 4
push eax
push str..dbc
mov ecx, edi
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::rfind_char_const___unsigned_int__unsigned_int_const]
mov esi, eax
test ebp, ebp
jne 0x405975
call ebx
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x405931
call ebx
mov eax, dword [edi + 0x14]
sub eax, 4
cmp esi, eax
jne 0x405959
test ebp, ebp
jne 0x40597a
call ebx
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x40594a
call ebx
push edi
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x28]
call fcn.00404d90
test ebp, ebp
jne 0x40597f
call ebx
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x405968
call ebx
add edi, 0x1c
jmp 0x4058d0
mov eax, dword [ebp]
jmp 0x405901
mov eax, dword [ebp]
jmp 0x40592a
mov eax, dword [ebp]
jmp 0x405943
mov eax, dword [ebp]
jmp 0x405961
mov esi, dword [esp + 0x90]
mov byte [esp + 0xe4], 3
test esi, esi
je 0x4059c1
mov edi, dword [esp + 0x94]
cmp esi, edi
je 0x4059b1
mov ecx, esi
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
add esi, 0x1c
cmp esi, edi
jne 0x4059a2
mov edx, dword [esp + 0x90]
push edx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x84]
xor esi, esi
push eax
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], esi
mov byte [esp + 0xe8], 0
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x1c]
add esp, 4
cmp eax, esi
jne 0x405a20
call ebx
xor eax, eax
xor ecx, ecx
mov ecx, dword [ecx + 0x1c]
add ecx, dword [eax + 0x18]
cmp dword [esp + 0x1c], ecx
jb 0x405a0c
call ebx
inc dword [esp + 0x1c]
mov eax, dword [0x419088]
mov edi, dword [esp + 0x18]
xor ebp, ebp
jmp 0x405833
mov eax, dword [eax]
mov ecx, eax
jmp 0x4059fe
push 0x418100
lea ecx, [esp + 0xa4]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push str._dbc_
lea ecx, [esp + 0xa4]
mov byte [esp + 0xe8], 4
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov eax, dword [esp + 0xa4]
mov ebx, 0x10
cmp dword [esp + 0xb8], ebx
jae 0x405a6e
lea eax, [esp + 0xa4]
mov edi, dword [sym.imp.MSVCR90.dll__mkdir]
push eax
call edi
mov esi, dword [esp + 0xf0]
add esp, 4
cmp byte [esp + 0xf0], 0
jne 0x405acf
mov edx, dword [esi*4 + 0x410458]
push edx
lea ecx, [esp + 0xa4]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
push 0x410a18
lea ecx, [esp + 0xa4]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov eax, dword [esp + 0xa4]
cmp dword [esp + 0xb8], ebx
jae 0x405ac9
lea eax, [esp + 0xa4]
push eax
call edi
add esp, 4
push str.component.wow_
lea ecx, [esp + 0x50]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov ecx, dword [esi*4 + 0x410458]
mov esi, dword [sym.imp.MSVCP90.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
push ecx
push eax
lea edx, [esp + 0x70]
push edx
mov byte [esp + 0xf0], 5
call esi
push str..txt
push eax
lea eax, [esp + 0x98]
push eax
mov byte [esp + 0xfc], 6
call esi
add esp, 0x18
lea ecx, [esp + 0x68]
mov byte [esp + 0xe4], 8
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov bl, 9
lea ecx, [esp + 0x4c]
mov byte [esp + 0xe4], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0xa4]
push edx
lea eax, [esp + 0xc4]
push eax
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 0xc
cmp dword [esp + 0x9c], 0x10
mov eax, dword [esp + 0x88]
mov byte [esp + 0xe4], 0xa
jae 0x405b7d
lea eax, [esp + 0x88]
lea ecx, [esp + 0xbc]
push ecx
push eax
call fcn.004038f0
add esp, 8
lea ecx, [esp + 0xbc]
mov byte [esp + 0xe4], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x84]
mov byte [esp + 0xe4], 4
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov edx, dword [esp + 0x38]
mov edi, dword [edx]
mov esi, dword [esp + 0x20]
xor ebx, ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], esi
jmp 0x405bd0
mov ebp, dword [esp + 0x38]
test esi, esi
je 0x405bde
cmp esi, dword [esp + 0x20]
je 0x405be4
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp edi, ebp
je 0x405ca1
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x88]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ebp, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov byte [esp + 0xe4], 0xb
test esi, esi
jne 0x405c29
call ebp
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x405c1e
call ebp
cmp dword [edi + 0x24], 0x10
jb 0x405c2d
mov eax, dword [edi + 0x10]
jmp 0x405c30
mov eax, dword [esi]
jmp 0x405c17
lea eax, [edi + 0x10]
add eax, 0xe
push eax
lea ecx, [esp + 0x88]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
test esi, esi
jne 0x405c59
call ebp
cmp edi, dword [esi + 0x18]
jne 0x405c4e
call ebp
cmp dword [edi + 0x24], 0x10
jb 0x405c5d
mov edi, dword [edi + 0x10]
jmp 0x405c60
mov esi, dword [esi]
jmp 0x405c47
add edi, 0x10
lea ecx, [esp + 0x84]
push ecx
push edi
call fcn.004038f0
add esp, 8
test al, al
je 0x405c76
inc ebx
lea ecx, [esp + 0x84]
mov byte [esp + 0xe4], 4
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x18]
call fcn.00404380
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
jmp 0x405bd0
push ebx
push str.Extracted__u_DBC_files_n_n
call dword [sym.imp.MSVCR90.dll_printf]
add esp, 8
lea ecx, [esp + 0xa0]
mov byte [esp + 0xe4], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x20]
mov dword [esp + 0xe4], 0xffffffff
call fcn.00405710
mov ecx, dword [esp + 0xdc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.0040e540
add esp, 0xd4
ret