Function at 0x10052630
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100b7010
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100e87b8]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x24], ebp
push 0xb17
push 0x100c8dd4
push 0
call fcn.10001230
mov ecx, dword [ebp + 0x47c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x58]
add esp, 0xc
push 0
push 2
push 0
push 0
call edx
mov edi, dword [esp + 0x78]
mov ebx, eax
mov eax, dword [edi]
mov esi, dword [ebx]
mov edx, dword [eax + 0x5c]
mov ecx, edi
mov dword [esp + 0x2c], ebx
add esi, 0x30
call edx
mov ecx, eax
call fcn.10084ea0
push eax
mov eax, dword [edi]
mov edx, dword [eax + 0x134]
mov ecx, edi
call edx
push eax
mov eax, dword [edi]
mov edx, dword [eax + 0x3c]
mov ecx, edi
call edx
push edx
push eax
mov eax, dword [edi]
mov edx, dword [eax + 0x38]
mov ecx, edi
call edx
push edx
push eax
mov eax, dword [esi]
mov ecx, ebx
call eax
mov ebx, dword [esp + 0x74]
mov edx, dword [edi]
mov esi, dword [ebx]
mov eax, dword [edx + 0x10]
push 0x8000080
push 3
push 1
push 0x80000000
mov ecx, edi
add esi, 0xc
call eax
mov edx, dword [esi]
push eax
mov ecx, ebx
call edx
test eax, eax
jge 0x1005271d
mov eax, dword [edi]
mov esi, dword [ebx]
mov edx, dword [eax + 0x10]
push 0x8000080
push 3
push 3
push 0x80000000
mov ecx, edi
add esi, 0xc
call edx
push eax
mov eax, dword [esi]
mov ecx, ebx
call eax
xor ecx, ecx
test eax, eax
setge cl
mov eax, ecx
test eax, eax
je 0x1005275a
mov edx, dword [ebp + 0x500]
mov esi, dword [edx]
mov eax, dword [edi]
mov edx, dword [eax + 0xe0]
push 0x8000080
push 3
push 1
push 0x80000000
mov ecx, edi
add esi, 0xc
call edx
mov ecx, dword [ebp + 0x500]
push eax
mov eax, dword [esi]
call eax
lea ecx, [esp + 0x17]
push ecx
xor ebx, ebx
xor edi, edi
cmp eax, edi
push 0x100000
lea ecx, [esp + 0x3c]
setge bl
mov byte [esp + 0x1f], 0
call fcn.1002a810
mov esi, dword [esp + 0x38]
cmp esi, edi
mov dword [esp + 0x6c], edi
je 0x1005278f
mov edx, dword [esp + 0x3c]
sub edx, esi
jne 0x10052795
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push 0x100000
push edi
push esi
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [esp + 0x17]
push eax
push 0x100000
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1f], 0
call fcn.1002a810
cmp esi, edi
mov byte [esp + 0x6c], 1
je 0x100527cd
mov ecx, dword [esp + 0x3c]
sub ecx, esi
jne 0x100527d3
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push 0x100000
push edi
push esi
call sub.MSVCR80.dll_memset
mov esi, dword [esp + 0x54]
add esp, 0xc
cmp ebx, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
je 0x1005282a
cmp esi, edi
je 0x10052802
mov edx, dword [esp + 0x4c]
sub edx, esi
jne 0x10052808
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [ebp + 0x500]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
lea edx, [esp + 0x1c]
push edx
push 0x4000
push esi
call eax
mov ebx, eax
cmp ebx, edi
jl 0x10052c36
mov esi, dword [esp + 0x38]
test esi, esi
mov dword [esp + 0x20], 0x100000
je 0x10052842
mov ecx, dword [esp + 0x3c]
sub ecx, esi
jne 0x1005284c
mov edi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
call edi
jmp 0x10052852
mov edi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [esp + 0x48]
test ebx, ebx
mov ebp, dword [esp + 0x4c]
je 0x10052864
mov edx, ebp
sub edx, ebx
jne 0x10052866
call edi
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x47c]
mov eax, dword [esp + 0x2c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x60]
push eax
lea eax, [esp + 0x24]
push eax
push esi
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x2c]
push eax
push ebx
call edx
add eax, 0xcc
cmp eax, 0xd8
ja case.0x100528a4.203
movzx eax, byte [eax + 0x10052d0c]
jmp dword [eax*4 + 0x10052cf4]
mov eax, dword [esp + 0x18]
cmp eax, 0x4000
jbe 0x100528bf
mov eax, 0x4000
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jbe 0x100528e0
cmp eax, ecx
jb 0x100528da
mov dword [esp + 0x18], 0
mov ebx, 1
jmp 0x10052932
sub eax, ecx
mov dword [esp + 0x18], eax
mov ebx, 1
jmp 0x10052932
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x18], eax
ja 0x10052a61
test ebx, ebx
je 0x100528ff
mov ecx, ebp
sub ecx, ebx
jne 0x10052905
call edi
mov eax, dword [esp + 0x1c]
test ebx, ebx
je 0x1005290d
sub ebp, ebx
jne 0x10052913
call edi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
sub eax, ecx
push eax
lea edx, [ebx + ecx]
push edx
push ebx
call dword [sym.imp.MSVCR80.dll_memmove]
mov eax, dword [esp + 0x24]
add esp, 0xc
sub dword [esp + 0x1c], eax
xor ebx, ebx
mov eax, dword [esp + 0x20]
test eax, eax
jbe 0x10052b30
lea ecx, [esp + 0x17]
push ecx
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1f], 0
call fcn.1002a810
mov ebp, dword [esp + 0x58]
test ebp, ebp
mov esi, dword [esp + 0x5c]
mov byte [esp + 0x6c], 3
je 0x10052969
mov edx, esi
sub edx, ebp
jne 0x1005296b
call edi
mov eax, dword [esp + 0x20]
push eax
push 0
push ebp
call sub.MSVCR80.dll_memset
add esp, 0xc
test ebp, ebp
mov dword [esp + 0x28], 0
je 0x1005298b
sub esi, ebp
jne 0x1005298d
call edi
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x24]
push eax
push ebp
call edx
test eax, eax
jl 0x10052b0d
mov eax, dword [esp + 0x38]
test eax, eax
mov esi, dword [esp + 0x28]
je 0x100529bf
mov ecx, dword [esp + 0x3c]
sub ecx, eax
jne 0x100529c1
call edi
test ebp, ebp
mov edi, dword [esp + 0x38]
je 0x100529d1
mov edx, dword [esp + 0x5c]
sub edx, ebp
jne 0x100529d7
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, 4
mov eax, ebp
jb 0x100529f4
mov edi, edi
mov ecx, dword [eax]
cmp ecx, dword [edi]
jne 0x100529fc
sub esi, 4
add edi, 4
add eax, 4
cmp esi, 4
jae 0x100529e0
test esi, esi
je 0x10052ab9
movzx ecx, byte [eax]
movzx edx, byte [edi]
sub ecx, edx
jne 0x10052a53
sub esi, 1
add edi, 1
add eax, 1
test esi, esi
je 0x10052ab9
movzx ecx, byte [eax]
movzx edx, byte [edi]
sub ecx, edx
jne 0x10052a53
sub esi, 1
add edi, 1
add eax, 1
test esi, esi
je 0x10052ab9
movzx ecx, byte [eax]
movzx edx, byte [edi]
sub ecx, edx
jne 0x10052a53
sub esi, 1
add edi, 1
add eax, 1
test esi, esi
je 0x10052ab9
movzx ecx, byte [eax]
movzx eax, byte [edi]
sub ecx, eax
je 0x10052ab9
test ecx, ecx
mov eax, 1
jg 0x10052abb
or eax, 0xffffffff
jmp 0x10052abb
sub dword [esp + 0x18], eax
jne 0x10052a9a
test ebx, ebx
mov esi, eax
je 0x10052a75
mov ecx, ebp
sub ecx, ebx
cmp eax, ecx
jb 0x10052a77
call edi
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push eax
lea eax, [ebx + esi]
push eax
call edx
mov eax, dword [esp + 0x1c]
sub dword [esp + 0x18], eax
je 0x10052a67
mov dword [esp + 0x1c], 0
jmp case.0x100528a4.0
mov dword [esp + 0x18], 0
mov ebx, 1
jmp 0x10052932
xor eax, eax
test eax, eax
jne 0x10052bea
test ebp, ebp
je 0x10052acf
mov eax, dword [esp + 0x5c]
sub eax, ebp
jne 0x10052ad5
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x20]
push ecx
xor edi, edi
push edi
push ebp
call sub.MSVCR80.dll_memset
mov esi, dword [esp + 0x44]
add esp, 0xc
cmp esi, edi
je 0x10052af6
mov edx, dword [esp + 0x3c]
sub edx, esi
jne 0x10052afc
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x20]
push eax
push edi
push esi
call sub.MSVCR80.dll_memset
add esp, 0xc
jmp 0x10052b12
or ebx, 0xffffffff
xor edi, edi
cmp ebp, edi
mov byte [esp + 0x6c], 1
je 0x10052b24
push ebp
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
test ebx, ebx
jle 0x10052c36
cmp dword [esp + 0x18], 0
jbe 0x1005282a
mov edi, dword [esp + 0x48]
test edi, edi
mov esi, dword [esp + 0x1c]
je 0x10052b59
mov eax, dword [esp + 0x4c]
sub eax, edi
cmp esi, eax
jb 0x10052b5f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + 0x500]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x1c]
push eax
add edi, esi
push edi
call edx
mov ebx, eax
test ebx, ebx
jl 0x10052c36
mov eax, dword [esp + 0x18]
add dword [esp + 0x1c], eax
jmp 0x1005282a
push 0x100c8dd4
lea ecx, [esp + 0x2c]
call fcn.1007f3f0
mov eax, dword [0x100e87f0]
test eax, eax
mov byte [esp + 0x6c], 2
je 0x10052bd7
mov esi, dword [eax]
push 0xb6f
lea ecx, [esp + 0x2c]
add esi, 0x24
call fcn.1007ee00
mov ecx, dword [0x100e87f0]
mov edx, dword [esi]
push eax
push str.Assert_Failed___
push ecx
call edx
add esp, 0x10
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], 1
call fcn.1007ece0
or ebx, 0xffffffff
jmp 0x10052c36
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 0x278]
mov ecx, dword [esp + 0x74]
mov esi, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0x40]
add esi, 0x2c
call eax
mov ecx, dword [edi + 0x278]
mov edx, dword [esi]
push eax
push 0xfffffffffffffff4
push 0x100c8be0
push 0xb7f
push str..FtpBackupDocBase.cpp
push ecx
call edx
add esp, 0x18
test ebp, ebp
mov byte [esp + 0x6c], 1
je 0x10052c36
push ebp
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
test ebx, ebx
mov ebx, dword [esp + 0x24]
mov ecx, dword [ebx + 0x47c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x64]
setge al
mov esi, eax
mov eax, dword [esp + 0x2c]
push eax
call edx
mov edi, dword [esp + 0x74]
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
test eax, eax
je 0x10052c6f
mov eax, dword [edi]
mov edx, dword [eax + 0x18]
mov ecx, edi
call edx
mov ecx, dword [ebx + 0x500]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
test eax, eax
je 0x10052c8d
mov ecx, dword [ebx + 0x500]
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
push 0x400
call edx
test eax, eax
push edi
je 0x10052cb1
mov ecx, dword [ebx + 0x50c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
jmp 0x10052cb9
call fcn.100811a0
add esp, 4
mov eax, dword [esp + 0x48]
test eax, eax
je 0x10052cca
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x38]
test eax, eax
je 0x10052cdb
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 8