Function at 0x429a00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x38
push ebx
mov ebx, dword [esp + 0x44]
push ebp
push esi
mov esi, dword [esp + 0x54]
movzx eax, byte [esi + 0xd]
push edi
push 0
push eax
lea eax, [esi + 0xe]
push eax
mov ecx, ebx
call fcn.00476660
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 9]
test eax, eax
jne 0x429a34
xor ebp, ebp
jmp 0x429a4e
movzx ecx, byte [eax + 0xd]
mov edx, dword [eax + 9]
push 0
push ecx
lea ecx, [eax + 0xe]
push ecx
push edx
push edi
call fcn.00406560
add esp, 0x14
mov ebp, eax
push str.remove:_old_name_folder:
call fcn.00430350
mov eax, dword [edi + 4]
push ebp
push eax
call fcn.00430540
push 0x494a64
call fcn.00430350
mov ecx, dword [esp + 0x28]
mov edx, dword [ebx + 4]
push ecx
push edx
call fcn.00430540
push 0x494898
call fcn.00430350
lea eax, [esp + 0x54]
push eax
call fcn.00446a20
lea ecx, [esp + 0x48]
push ecx
call fcn.00446a20
mov eax, dword [esp + 0x78]
push 0
push 0
push 0
push esi
lea edx, [esp + 0x6c]
push edx
push eax
push ebx
push edi
call fcn.004151e0
lea ecx, [esp + 0x7c]
add esp, 0x44
push ecx
call fcn.00446ab0
mov ebp, eax
add ebp, 1
push ebp
push str.allocate_folder_indexes:_total_folder_count__d_n
mov dword [esp + 0x24], ebp
call fcn.00430350
lea edx, [ebp*4]
push edx
call fcn.00441a20
mov esi, eax
add esp, 0x10
mov dword [esp + 0x14], esi
call fcn.004304f0
fstp qword [esp + 0x20]
mov eax, dword [esp + 0x38]
test eax, eax
mov ecx, esi
mov esi, eax
je 0x429b2f
lea esp, [esp]
cmp esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
lea eax, [esi + 4]
je 0x429b13
lea edx, [esi + 0x10000]
cmp eax, edx
je 0x429b29
mov ebx, dword [eax]
mov dword [ecx], ebx
add eax, 4
add ecx, 4
cmp eax, edx
jne 0x429b17
mov ebx, dword [esp + 0x50]
mov esi, dword [esi]
test esi, esi
jne 0x429b00
mov eax, dword [esp + 0x58]
push 0x406120
push 4
mov dword [ecx], eax
mov ecx, dword [esp + 0x1c]
push ebp
push ecx
call fcn.004842b0
call fcn.004304f0
fsub qword [esp + 0x30]
add esp, 8
fstp qword [esp]
push str.sorted_folder_indexes_in__f_seconds_n
call fcn.00430350
add esp, 0xc
call fcn.004304f0
fstp qword [esp + 0x20]
mov eax, dword [0x4a91f8]
test eax, eax
mov dword [esp + 0x10], eax
je 0x429c6f
lea ecx, [ecx]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 8]
lea eax, [edx + ecx + 0x10]
mov edx, dword [ecx + 0xc]
lea edx, [eax + edx*4]
cmp eax, edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x1c], edx
je 0x429c61
mov ebx, dword [eax]
lea edi, [ebp - 1]
xor esi, esi
test edi, edi
jl 0x429c44
mov ebp, dword [ebx]
mov eax, edi
sub eax, esi
cdq
sub eax, edx
mov edx, dword [esp + 0x14]
sar eax, 1
add eax, esi
mov ecx, ebp
sub ecx, dword [edx + eax*4]
jns 0x429bcd
lea edi, [eax - 1]
jmp 0x429bd4
test ecx, ecx
je 0x429bda
lea esi, [eax + 1]
cmp esi, edi
jle 0x429bb2
jmp 0x429c3c
movzx eax, byte [ebx + 4]
push 0
push eax
lea ecx, [ebx + 5]
push ecx
mov ecx, dword [esp + 0x5c]
call fcn.00476660
mov eax, dword [ebx]
test eax, eax
je 0x429c10
movzx edx, byte [eax + 0xd]
push 0
push edx
mov edx, dword [eax + 9]
lea ecx, [eax + 0xe]
mov eax, dword [esp + 0x54]
push ecx
push edx
push eax
call fcn.00406560
add esp, 0x14
mov ecx, dword [esp + 0x30]
cmp ecx, dword [esp + 0x34]
jne 0x429c31
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.00446a70
add esp, 0xc
mov edx, dword [esp + 0x30]
mov dword [edx], ebx
add dword [esp + 0x30], 4
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x58]
add eax, 4
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x58], eax
jne 0x429ba1
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x50]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x429b80
call fcn.004304f0
fsub qword [esp + 0x20]
sub esp, 8
lea eax, [esp + 0x30]
fstp qword [esp]
push eax
call fcn.00446ab0
add esp, 4
push eax
push str.found__d_files_in__f_seconds_n
call fcn.00430350
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00441a60
mov eax, dword [esp + 0x4c]
add esp, 0x14
test eax, eax
mov ecx, eax
mov dword [esp + 0x4c], eax
je 0x429d4d
jmp 0x429cc4
mov ecx, dword [esp + 0x4c]
cmp ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
lea esi, [ecx + 4]
je 0x429cd7
lea ebp, [ecx + 0x10000]
cmp esi, ebp
je 0x429d3b
jmp 0x429ce0
mov eax, dword [esi]
movzx ecx, byte [eax + 0xd]
push 0
push 0
push 1
push ecx
mov ecx, dword [eax + 1]
lea edx, [eax + 0xe]
push edx
mov edx, dword [eax + 5]
push edx
movzx edx, byte [eax]
mov eax, dword [eax + 9]
push ecx
mov ecx, dword [esp + 0x70]
push edx
push eax
push ecx
push ebx
push edi
call fcn.0042a550
add esp, 0x30
test eax, eax
jne 0x429d30
push str.failed_to_remove_sub_folder_n
push str.db::_remove_subfolders_and_files
push 0xc34
push str.._srcdb.cpp
call fcn.00436e30
add esp, 0x10
add esi, 4
cmp esi, ebp
jne 0x429ce0
mov ecx, dword [esp + 0x4c]
mov ecx, dword [ecx]
test ecx, ecx
mov dword [esp + 0x4c], ecx
jne 0x429cc0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
test ecx, ecx
mov edx, ecx
mov dword [esp + 0x4c], ecx
je 0x429dd8
jmp 0x429d65
mov edx, dword [esp + 0x4c]
cmp edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
lea esi, [edx + 4]
je 0x429d78
lea ebp, [edx + 0x10000]
cmp esi, ebp
je 0x429dca
lea esp, [esp]
mov eax, dword [esi]
movzx ecx, byte [eax + 4]
push 1
push ecx
lea edx, [eax + 5]
push edx
mov edx, dword [eax]
mov eax, dword [esp + 0x60]
push edx
push eax
push ebx
push edi
call fcn.00423550
add esp, 0x1c
test eax, eax
jne 0x429dbf
push str.failed_to_remove_old_name_file_n
push str.db::_remove_subfolders_and_files
push 0xc4a
push str.._srcdb.cpp
call fcn.00436e30
add esp, 0x10
add esi, 4
cmp esi, ebp
jne 0x429d80
mov edx, dword [esp + 0x4c]
mov edx, dword [edx]
test edx, edx
mov dword [esp + 0x4c], edx
jne 0x429d61
mov eax, dword [esp + 0x38]
test eax, eax
mov edi, eax
je 0x429e2b
mov edi, edi
cmp edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
lea edx, [edi + 4]
je 0x429df3
lea esi, [edi + 0x10000]
cmp edx, esi
je 0x429e25
jmp 0x429e00
mov ecx, dword [edx]
movzx eax, byte [ecx + 0xd]
mov ebx, dword [0x4a91b4]
add eax, eax
add eax, eax
mov ebx, dword [eax + ebx]
mov dword [ecx], ebx
mov ebx, dword [0x4a91b4]
add edx, 4
cmp edx, esi
mov dword [eax + ebx], ecx
jne 0x429e00
mov edi, dword [edi]
test edi, edi
jne 0x429de0
lea ecx, [esp + 0x28]
push ecx
call fcn.00446a40
lea edx, [esp + 0x3c]
push edx
call fcn.00446a40
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x38
ret