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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
cmp dword [ebx + 8], edi
je 0x5de406
mov eax, dword [ebx + 0xc]
test eax, 0x1000
je 0x5ddc3b
and eax, 0xffffefff
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0x138]
push ebx
call eax
add esp, 4
test eax, eax
jne 0x5ddc3b
mov ecx, dword [ebx + 0x194]
mov esi, dword [ebx]
push str.Error_post_encoding_before_directory_write
push ecx
call fcn.005d9020
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 0x154]
push ebx
call edx
add esp, 4
cmp dword [ebx + 0x180], edi
jle 0x5ddc79
mov esi, ebx
call fcn.005ddb60
test eax, eax
jne 0x5ddc79
mov eax, dword [ebx + 0x194]
mov esi, dword [ebx]
push str.Error_flushing_data_before_directory_write
push eax
call fcn.005d9020
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test dword [ebx + 0xc], 0x200
je 0x5ddca7
mov eax, dword [ebx + 0x174]
cmp eax, edi
je 0x5ddca7
push eax
call fcn.006082e0
add esp, 4
mov dword [ebx + 0x174], edi
mov dword [ebx + 0x180], edi
mov dword [ebx + 0x178], edi
and dword [ebx + 0xc], 0xffffffaf
xor esi, esi
mov eax, 2
lea edx, [eax - 2]
mov ecx, edx
and ecx, 0x1f
mov edi, 1
shl edi, cl
mov ecx, edx
shr ecx, 5
test dword [ebx + ecx*4 + 0x20], edi
je 0x5ddcdd
cmp edx, 0x41
je 0x5ddcdd
cmp edx, 5
sbb edx, edx
neg edx
add edx, 1
add esi, edx
lea edx, [eax - 1]
mov ecx, edx
and ecx, 0x1f
mov edi, 1
shl edi, cl
mov ecx, edx
shr ecx, 5
test dword [ebx + ecx*4 + 0x20], edi
je 0x5ddd08
cmp edx, 0x41
je 0x5ddd08
cmp edx, 5
sbb edx, edx
neg edx
add edx, 1
add esi, edx
mov ecx, eax
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov ecx, eax
shr ecx, 5
test dword [ebx + ecx*4 + 0x20], edx
je 0x5ddd30
cmp eax, 0x41
je 0x5ddd30
cmp eax, 5
sbb edx, edx
neg edx
add edx, 1
add esi, edx
lea edx, [eax + 1]
mov ecx, edx
and ecx, 0x1f
mov edi, 1
shl edi, cl
mov ecx, edx
shr ecx, 5
test dword [ebx + ecx*4 + 0x20], edi
je 0x5ddd5b
cmp edx, 0x41
je 0x5ddd5b
cmp edx, 5
sbb edx, edx
neg edx
add edx, 1
add esi, edx
add eax, 4
lea ecx, [eax - 2]
cmp ecx, 0x7f
jbe 0x5ddcb2
add esi, dword [ebx + 0xe0]
mov dword [esp + 0x28], esi
lea esi, [esi + esi*2]
add esi, esi
add esi, esi
push esi
mov dword [esp + 0x24], esi
call fcn.00608674
add esp, 4
test eax, eax
mov dword [esp + 0x18], eax
jne 0x5dddaf
mov edx, dword [ebx + 0x194]
mov esi, dword [ebx]
push str.Cannot_write_directory__out_of_space
push edx
call fcn.005d9020
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x10], 0
jne 0x5dddc8
mov eax, ebx
call fcn.005df5b0
test eax, eax
je 0x5de3c7
mov esi, dword [esp + 0x20]
mov eax, dword [ebx + 0x10]
lea eax, [eax + esi + 6]
test al, 1
mov dword [ebx + 0x108], eax
je 0x5ddde2
add eax, 1
mov dword [ebx + 0x108], eax
mov ecx, dword [ebx + 0x108]
mov edx, dword [ebx + 0x194]
mov eax, dword [ebx + 0x1a0]
push 0
push ecx
push edx
call eax
mov edi, dword [esp + 0x24]
mov ecx, 1
add word [ebx + 0xfc], cx
mov edx, dword [ebx + 0x24]
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x48], edx
mov edx, dword [ebx + 0x28]
mov dword [esp + 0x4c], edx
mov edx, dword [ebx + 0x2c]
add esp, 0xc
test eax, eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], edx
jns 0x5dde4d
cmp word [ebx + 0xa0], 0
jne 0x5dde4d
sub dword [esp + 0x28], ecx
and eax, 0x7fffffff
sub dword [esp + 0x20], 0xc
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x1b4]
test eax, eax
mov dword [esp + 0x30], eax
jle 0x5ddf89
lea eax, [edi + 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], 0
mov edi, edi
mov ecx, dword [ebx + 0x1b0]
mov edx, dword [esp + 0x24]
mov esi, dword [edx + ecx]
movzx eax, word [esi + 0xc]
cmp ax, 0x41
mov dword [esp + 0xc], esi
jne 0x5ddebc
mov edx, dword [ebx + 0xe0]
xor ecx, ecx
test edx, edx
jle 0x5ddf71
mov eax, dword [ebx + 0xe4]
mov dword [esp + 0x2c], edx
xor edx, edx
cmp dword [eax], esi
sete dl
add eax, 0xc
or ecx, edx
sub dword [esp + 0x2c], 1
jne 0x5ddea5
test ecx, ecx
jmp 0x5dded3
movzx eax, word [esi + 0xc]
mov ecx, eax
and ecx, 0x1f
mov edx, 1
shl edx, cl
shr eax, 5
test dword [esp + eax*4 + 0x38], edx
je 0x5ddf71
movzx eax, word [esi + 0xc]
movzx eax, ax
add eax, 0xffffffff
cmp eax, 0x30
ja case.0x5ddef3.4
movzx eax, byte [eax + 0x5de458]
jmp dword [eax*4 + 0x5de414]
mov eax, dword [ebx + 0xc]
and eax, 0x400
neg eax
sbb eax, eax
and eax, 0x33
add eax, 0x111
cmp eax, dword [esi]
jne 0x5ddf71
mov word [edi], ax
mov word [edi + 2], 4
mov ecx, dword [ebx + 0xac]
mov dword [edi + 4], ecx
mov ecx, dword [ebx + 0xb0]
mov eax, edi
mov edi, ebx
call fcn.005dede0
test eax, eax
je 0x5de3c7
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0xc]
add dword [esp + 0x10], 0xc
add edi, 0xc
cmp word [esi + 0xc], 0x41
mov dword [esp + 0x14], edi
je 0x5ddf71
movzx ecx, word [esi + 0xc]
mov eax, ecx
and ecx, 0x1f
mov edx, 1
shl edx, cl
shr eax, 5
lea eax, [esp + eax*4 + 0x38]
not edx
and dword [eax], edx
mov eax, dword [esp + 0x30]
add dword [esp + 0x24], 4
sub eax, 1
test eax, eax
mov dword [esp + 0x30], eax
jg 0x5dde70
test byte [ebx + 0xc], 0x80
mov edi, dword [esp + 0x28]
mov ecx, dword [ebx + 0x14]
movzx eax, di
mov dword [esp + 0x1c], eax
mov dword [esp + 0x34], ecx
je 0x5ddff7
test di, di
mov esi, dword [esp + 0x18]
je 0x5ddfde
lea ebx, [ebx]
mov ecx, 2
mov eax, esi
call fcn.005d8eb0
lea eax, [esi + 4]
mov ecx, 2
call fcn.005d8ef0
mov eax, dword [esp + 0x1c]
add eax, 0xffff
add esi, 0xc
test ax, ax
mov dword [esp + 0x1c], eax
jne 0x5ddfb0
movzx edx, di
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], edx
call fcn.005d8e80
lea eax, [esp + 0x34]
call fcn.005d8e90
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x194]
mov edx, dword [ebx + 0x1a0]
push 0
push eax
push ecx
call edx
mov ecx, dword [ebx + 0x194]
mov edx, dword [ebx + 0x19c]
add esp, 0xc
push 2
lea eax, [esp + 0x20]
push eax
push ecx
call edx
add esp, 0xc
cmp eax, 2
je 0x5de365
mov eax, dword [ebx + 0x194]
push str.Error_writing_directory_count
push eax
jmp 0x5de3bd
mov eax, dword [ebx + 0xc]
and eax, 0x400
neg eax
sbb eax, eax
and eax, 0x2e
add eax, 0x117
cmp eax, dword [esi]
jne 0x5ddf71
mov word [edi], ax
mov word [edi + 2], 4
mov edx, dword [ebx + 0xac]
mov dword [edi + 4], edx
mov ecx, dword [ebx + 0xb4]
jmp 0x5ddf2a
mov ecx, dword [ebx + 0x5c]
push 0x116
mov edx, edi
mov esi, ebx
call fcn.005dea50
add esp, 4
jmp 0x5ddf3f
lea eax, [ebx + 0x90]
push eax
push 3
push 0x140
mov esi, edi
mov eax, ebx
call fcn.005dece0
add esp, 0xc
test eax, eax
je 0x5de3c7
jmp 0x5ddf3f
mov ecx, dword [ebx + 0x30]
push 0x100
mov edx, edi
mov esi, ebx
call fcn.005dea50
mov ecx, dword [ebx + 0x34]
add dword [esp + 0x14], 0xc
add esp, 4
add edi, 0xc
push 0x101
mov edx, edi
call fcn.005dea50
add esp, 4
jmp 0x5ddf3f
mov ecx, dword [ebx + 0x3c]
push 0x142
mov edx, edi
mov esi, ebx
call fcn.005dea50
mov ecx, dword [ebx + 0x40]
add dword [esp + 0x14], 0xc
add esp, 4
add edi, 0xc
push 0x143
mov edx, edi
call fcn.005dea50
add esp, 4
jmp 0x5ddf3f
mov ax, word [ebx + 0x50]
push 0x103
mov edx, edi
mov ecx, ebx
call fcn.005deaa0
add esp, 4
jmp 0x5ddf43
mov ax, word [ebx + 0x52]
push 0x106
mov edx, edi
mov ecx, ebx
call fcn.005deaa0
add esp, 4
jmp 0x5ddf43
lea ecx, [ebx + 0x84]
push ecx
push ebx
mov eax, edi
mov word [edi], 0x11e
mov word [edi + 2], 5
mov dword [edi + 4], 1
call fcn.005dee00
add esp, 8
test eax, eax
je 0x5de3c7
mov eax, dword [esp + 0x10]
lea edx, [ebx + 0x88]
push edx
push ebx
mov word [eax], 0x11f
mov word [edi + 0xe], 5
mov dword [edi + 0x10], 1
call fcn.005dee00
add esp, 8
test eax, eax
je 0x5de3c7
add edi, 0xc
add dword [esp + 0x10], 0xc
jmp 0x5ddf43
lea eax, [ebx + 0x78]
push eax
push ebx
mov eax, edi
mov word [edi], 0x11a
mov word [edi + 2], 5
mov dword [edi + 4], 1
call fcn.005dee00
add esp, 8
test eax, eax
je 0x5de3c7
mov eax, dword [esp + 0x10]
lea ecx, [ebx + 0x7c]
push ecx
push ebx
mov word [eax], 0x11b
mov word [edi + 0xe], 5
mov dword [edi + 0x10], 1
call fcn.005dee00
add esp, 8
test eax, eax
je 0x5de3c7
add edi, 0xc
add dword [esp + 0x10], 0xc
jmp 0x5ddf43
mov edx, dword [esi]
push edx
push ebx
mov ebx, edi
call fcn.005deb00
add esp, 8
test eax, eax
je 0x5de3c7
mov ebx, dword [ebp + 8]
jmp 0x5ddf43
mov eax, dword [esi]
push edi
push eax
mov ecx, ebx
call fcn.005dbdd0
push eax
call fcn.005debe0
add esp, 0xc
test eax, eax
je 0x5de3c7
mov ebx, dword [ebp + 8]
jmp 0x5ddf43
mov ecx, dword [esp + 0xc]
mov esi, edi
mov edi, dword [ecx]
call fcn.005deca0
test eax, eax
je 0x5de3c7
mov ebx, dword [ebp + 8]
jmp 0x5ddf3b
mov eax, edi
mov ecx, ebx
call fcn.005df470
test eax, eax
je 0x5de3c7
jmp 0x5ddf43
push edi
push ebx
call fcn.005df2f0
add esp, 8
test eax, eax
je 0x5de3c7
jmp 0x5ddf43
mov dx, word [esi]
mov word [edi], dx
mov word [edi + 2], 4
movzx eax, word [ebx + 0xbc]
mov dword [edi + 4], eax
mov ecx, dword [ebx + 0xc0]
mov eax, edi
mov edi, ebx
call fcn.005dede0
test eax, eax
je 0x5de3c7
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 4], 0
jbe 0x5ddf3b
or dword [ebx + 0xc], 0x2000
mov esi, dword [esp + 0xc]
mov eax, ecx
mov dx, word [eax + 4]
mov word [ebx + 0x10c], dx
cmp dword [eax + 4], 1
mov edi, ecx
jbe 0x5de312
mov eax, dword [eax + 8]
mov dword [ebx + 0x110], eax
jmp 0x5ddf43
mov ecx, dword [ebx + 0x10]
sub ecx, dword [esp + 0x18]
lea edx, [ecx + eax + 0xa]
mov dword [ebx + 0x110], edx
jmp 0x5ddf43
cmp dword [esi], 0x150
jne 0x5de33c
mov esi, edi
mov edi, 0x150
jmp 0x5de267
mov eax, esi
mov ecx, edi
mov edx, ebx
call fcn.005de4a0
test eax, eax
jne 0x5ddf43
mov eax, dword [esp + 0x18]
push eax
call fcn.006082e0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov edx, dword [ebx + 0x194]
mov eax, dword [ebx + 0x19c]
push esi
push ecx
push edx
call eax
add esp, 0xc
cmp eax, esi
je 0x5de393
mov ecx, dword [ebx + 0x194]
push str.Error_writing_directory_contents
push ecx
jmp 0x5de3bd
mov eax, dword [ebx + 0x194]
mov ecx, dword [ebx + 0x19c]
push 4
lea edx, [esp + 0x38]
push edx
push eax
call ecx
add esp, 0xc
cmp eax, 4
je 0x5de3dd
mov edx, dword [ebx + 0x194]
push str.Error_writing_directory_link
push edx
mov esi, dword [ebx]
call fcn.005d9020
add esp, 8
mov eax, dword [esp + 0x18]
push eax
call fcn.006082e0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, ebx
call fcn.005d2080
mov ecx, dword [ebx + 0x15c]
and dword [ebx + 0xc], 0xfffffff7
push ebx
call ecx
add esp, 4
call fcn.005d2200
mov edx, dword [esp + 0x18]
push edx
call fcn.006082e0
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret