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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b444c
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [str.W__a]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push esi
push edi
mov eax, dword [str.W__a]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, edx
mov dword [esp + 0x24], eax
xor ebx, ebx
mov eax, esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x526b74
sub eax, edi
push eax
push esi
lea ecx, [esp + 0x64]
call fcn.00408800
push 0xffffffffffffffff
mov dword [esp + 0xcc], ebx
push ebx
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0xa8]
mov dword [esp + 0xbc], 0xf
mov dword [esp + 0xb8], ebx
mov byte [esp + 0xa8], bl
call fcn.00409870
mov byte [esp + 0xc8], 1
mov eax, dword [esp + 0x6c]
cmp eax, ebx
je 0x526bef
cmp dword [esp + 0x70], 0x10
mov ecx, dword [esp + 0x5c]
jae 0x526bdb
lea ecx, [esp + 0x5c]
cmp byte [eax + ecx - 1], 0x5c
jne 0x526bef
push 0xffffffffffffffff
dec eax
push eax
lea ecx, [esp + 0x64]
call fcn.00409ca0
mov ecx, dword [esp + 0xac]
cmp ecx, ebx
je 0x526c26
cmp dword [esp + 0xb0], 0x10
mov eax, dword [esp + 0x9c]
jae 0x526c12
lea eax, [esp + 0x9c]
cmp byte [ecx + eax - 1], 0x5c
je 0x526c26
push 0x5c
push 1
lea ecx, [esp + 0x64]
call fcn.004097c0
push 0x2c
mov byte [esp + 0x1b], 1
mov dword [esp + 0x34], ebx
call fcn.00548a50
add esp, 4
cmp eax, ebx
je 0x5270b2
mov dword [esp + 0x2c], eax
mov dword [eax], eax
mov eax, dword [esp + 0x2c]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [eax + 8], eax
mov eax, dword [esp + 0x2c]
mov byte [eax + 0x28], 1
mov ecx, dword [esp + 0x2c]
mov byte [ecx + 0x29], 1
mov byte [esp + 0xc8], 3
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov esi, dword [esp + 0x24]
mov eax, dword [esi]
mov edx, dword [esi + 4]
sub edx, eax
sar edx, 5
cmp dword [esp + 0x1c], edx
jae 0x526f9f
mov esi, dword [esp + 0x20]
mov edi, dword [esi + eax + 0x1c]
mov ecx, dword [esi + eax + 0x10]
mov edx, dword [esp + 0x5c]
add esi, eax
mov eax, 0x10
cmp dword [esp + 0x70], eax
jae 0x526cae
lea edx, [esp + 0x5c]
cmp dword [esi + 0x14], eax
jb 0x526cb7
mov eax, dword [esi]
jmp 0x526cb9
mov eax, esi
push ecx
push edx
push eax
call fcn.0055f420
add esp, 0xc
test eax, eax
jne 0x526da3
push ebx
push 0x5d8b48
lea ecx, [esp + 0x48]
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
call fcn.00408800
push 0xffffffffffffffff
mov byte [esp + 0xcc], 4
push ebx
lea eax, [esp + 0x48]
lea edx, [esp + 0x30]
push eax
lea ecx, [esp + 0x88]
mov dword [esp + 0x84], edx
mov dword [esp + 0x9c], 0xf
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
call fcn.00409870
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x98], ecx
mov byte [esp + 0xc8], 6
cmp dword [esp + 0x54], 0x10
jb 0x526d52
mov edx, dword [esp + 0x40]
push edx
call fcn.00548a36
add esp, 4
push 0xc
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
call fcn.00548a50
add esp, 4
cmp eax, ebx
je 0x526d86
lea ecx, [esp + 0x78]
mov dword [eax], vtable.ggadget::MethodSlot1_bool__char_const___class_ggadget::FileManagerWrapper::Impl::EnumProxy__unsigned_char____cdecl_ggadget::FileManagerWrapper::Impl::EnumProxy::__bool__char_const___.0
mov dword [eax + 4], ecx
mov dword [eax + 8], 0x526970
jmp 0x526d88
xor eax, eax
cmp dword [esp + 0x70], 0x10
mov ecx, dword [esp + 0x5c]
jae 0x526d97
lea ecx, [esp + 0x5c]
mov esi, dword [esi + 0x10]
push eax
add ecx, esi
push ecx
jmp 0x526e96
mov ecx, dword [esp + 0x9c]
mov eax, 0x10
cmp dword [esp + 0xb0], eax
jae 0x526dbf
lea ecx, [esp + 0x9c]
cmp dword [esi + 0x14], eax
jb 0x526dc8
mov eax, dword [esi]
jmp 0x526dca
mov eax, esi
mov edx, dword [esp + 0xac]
push edx
push ecx
push eax
call fcn.0055f420
add esp, 0xc
test eax, eax
jne 0x526ec2
mov eax, dword [esp + 0xac]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
call fcn.0040b350
push 0xffffffffffffffff
mov byte [esp + 0xcc], 7
push ebx
lea edx, [esp + 0x30]
mov esi, 0xf
push eax
lea ecx, [esp + 0x88]
mov dword [esp + 0x84], edx
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
call fcn.00409870
mov eax, dword [esp + 0x18]
mov dword [esp + 0x98], eax
mov byte [esp + 0xc8], 9
cmp dword [esp + 0x54], 0x10
jb 0x526e5e
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00548a36
add esp, 4
push 0xc
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
call fcn.00548a50
add esp, 4
cmp eax, ebx
je 0x526e8e
lea edx, [esp + 0x78]
mov dword [eax], vtable.ggadget::MethodSlot1_bool__char_const___class_ggadget::FileManagerWrapper::Impl::EnumProxy__unsigned_char____cdecl_ggadget::FileManagerWrapper::Impl::EnumProxy::__bool__char_const___.0
mov dword [eax + 4], edx
mov dword [eax + 8], 0x526970
jmp 0x526e90
xor eax, eax
push eax
push 0x5d8b48
mov edx, dword [edi]
mov eax, dword [edx + 0x2c]
mov ecx, edi
call eax
mov byte [esp + 0xc8], 3
cmp dword [esp + 0x90], 0x10
mov byte [esp + 0x17], al
jb 0x526ec2
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.00548a36
add esp, 4
inc dword [esp + 0x1c]
add dword [esp + 0x20], 0x20
cmp byte [esp + 0x17], bl
jne 0x526c75
mov edi, dword [esp + 0x18]
cmp edi, ebx
je 0x526ee7
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
mov byte [esp + 0xc8], 0xd
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x2c]
lea esi, [esp + 0x30]
call fcn.0044af70
mov byte [esp + 0xc8], 1
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00548a36
mov esi, 0x10
add esp, 4
mov byte [esp + 0xc8], bl
cmp dword [esp + 0xb0], esi
jb 0x526f3e
mov edx, dword [esp + 0x9c]
push edx
call fcn.00548a36
add esp, 4
mov dword [esp + 0xc8], 0xffffffff
mov dword [esp + 0xb0], 0xf
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
cmp dword [esp + 0x70], esi
jb 0x526f75
mov eax, dword [esp + 0x5c]
push eax
call fcn.00548a36
add esp, 4
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.00548a41
mov esp, ebp
pop ebp
ret 4
cmp byte [esp + 0x17], bl
je 0x526ed5
cmp dword [esi + 0x10], ebx
je 0x526ed5
push ebx
mov edi, 0xf
push 0x5d8b48
lea ecx, [esp + 0x48]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
call fcn.00408800
push 0xffffffffffffffff
mov byte [esp + 0xcc], 0xa
push ebx
lea eax, [esp + 0x48]
lea edx, [esp + 0x30]
push eax
lea ecx, [esp + 0x88]
mov dword [esp + 0x84], edx
mov dword [esp + 0x9c], edi
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
call fcn.00409870
mov edi, dword [esp + 0x18]
mov dword [esp + 0x98], edi
mov byte [esp + 0xc8], 0xc
cmp dword [esp + 0x54], 0x10
jb 0x527035
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00548a36
add esp, 4
push 0xc
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
call fcn.00548a50
add esp, 4
cmp eax, ebx
je 0x527069
lea edx, [esp + 0x78]
mov dword [eax], vtable.ggadget::MethodSlot1_bool__char_const___class_ggadget::FileManagerWrapper::Impl::EnumProxy__unsigned_char____cdecl_ggadget::FileManagerWrapper::Impl::EnumProxy::__bool__char_const___.0
mov dword [eax + 4], edx
mov dword [eax + 8], 0x526970
jmp 0x52706b
xor eax, eax
cmp dword [esp + 0x70], 0x10
mov edx, dword [esp + 0x5c]
jae 0x52707a
lea edx, [esp + 0x5c]
mov ecx, dword [esi + 0x10]
mov esi, dword [ecx]
push eax
mov eax, dword [esi + 0x2c]
push edx
call eax
mov byte [esp + 0xc8], 3
cmp dword [esp + 0x90], 0x10
mov byte [esp + 0x17], al
jb 0x526ed9
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.00548a36
add esp, 4
jmp 0x526ed9
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], vtable.stdext::bad_alloc.0
lea ecx, [esp + 0x38]
mov byte [esp + 0xc8], 2
call fcn.00404df0
int3