Function at 0x100fbad0
Capabilities:
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x101fd2da
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x10293044]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
mov eax, dword [esp + 0x140]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x144]
mov dword [esp + 0x18], eax
mov dword [esp + 0x3c], ecx
xor ebx, ebx
mov dword [esp + 0x130], ebx
mov ebp, dword [esp + 0x138]
cmp ebp, ebx
jne 0x100fbb4b
mov dword [esp + 0x130], 0xffffffff
xor al, al
jmp 0x100fc204
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov byte [esp + 0x130], 1
mov ecx, dword [esp + 0x13c]
mov edx, dword [ebp]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x2c]
push eax
push ecx
mov ecx, ebp
call edx
test al, al
jne 0x100fbba6
mov byte [esp + 0x130], bl
lea ebx, [esp + 0x2c]
call fcn.100079b0
mov dword [esp + 0x130], 0xffffffff
mov eax, dword [ebp]
mov edx, dword [eax + 4]
mov ecx, ebp
call edx
xor al, al
jmp 0x100fc204
xor esi, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], ebx
mov edi, dword [esp + 0x30]
cmp edi, ebx
je 0x100fc1dd
mov ecx, dword [esp + 0x34]
sub ecx, edi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x100fc1dd
mov eax, dword [esp + 0x24]
add edi, eax
cmp dword [edi], 1
jne 0x100fbead
lea ebp, [edi + 0x28]
push ebp
lea esi, [esp + 0x80]
call fcn.101be400
add esp, 4
mov byte [esp + 0x130], 2
push 0xffffffffffffffff
push ebx
mov ecx, ebp
call fcn.10007880
mov byte [esp + 0x130], 1
mov esi, 8
cmp dword [esp + 0x94], esi
jb 0x100fbc35
mov ecx, dword [esp + 0x80]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, 7
mov dword [esp + 0x94], eax
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], bx
mov dword [esp + 0x104], eax
mov dword [esp + 0x100], ebx
mov word [esp + 0xf0], bx
mov byte [esp + 0x130], 3
cmp dword [edi + 0x5c], esi
jb 0x100fbc78
mov edi, dword [edi + 0x48]
jmp 0x100fbc7b
add edi, 0x48
cmp dword [ebp + 0x18], esi
jb 0x100fbc85
mov eax, dword [ebp + 4]
jmp 0x100fbc88
lea eax, [ebp + 4]
push edi
push eax
push str._item_IsFolder_1__name__s__addtime__s___n
lea ecx, [esp + 0xf8]
call fcn.1019cb70
add esp, 0xc
mov dword [esp + 0xe8], 0xf
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xd4], bl
mov byte [esp + 0x130], 4
cmp dword [esp + 0x104], esi
mov eax, dword [esp + 0xf0]
jae 0x100fbcd6
lea eax, [esp + 0xf0]
mov edx, dword [esp + 0x100]
push edx
push eax
lea ecx, [esp + 0xd8]
call fcn.1019e320
mov ecx, dword [esp + 0xdc]
mov edi, 0x10
add esp, 8
cmp dword [esp + 0xe8], edi
jae 0x100fbd0a
lea ecx, [esp + 0xd4]
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
cmp eax, ebx
je 0x100fbd35
cmp ecx, ebx
je 0x100fbd35
cmp dword [eax], 0xffffffff
je 0x100fbd35
mov eax, dword [eax]
push ebx
lea edx, [esp + 0x44]
push edx
mov edx, dword [esp + 0xec]
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [esp + 0x130], 3
cmp dword [esp + 0xe8], edi
jb 0x100fbd56
mov ecx, dword [esp + 0xd4]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0xe8], 0xf
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xd4], bl
mov byte [esp + 0x130], 1
cmp dword [esp + 0x104], esi
jb 0x100fbd90
mov edx, dword [esp + 0xf0]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edi, dword [esp + 0x20]
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push ebx
push 1
mov dword [esp + 0x10c], 7
mov dword [esp + 0x108], ebx
mov word [esp + 0xf8], bx
call edx
mov esi, dword [esp + 0x3c]
add dword [esi], 1
mov eax, dword [esi]
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
push ebx
push eax
mov eax, dword [edx]
call eax
cmp eax, ebx
jne 0x100fc10d
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebp
call eax
cmp eax, ebx
jne 0x100fc10d
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
push esi
push ecx
lea esi, [esp + 0x34]
call fcn.100e5560
mov edx, dword [eax + 4]
mov esi, dword [esp + 0x140]
push edx
push ecx
mov eax, esp
mov dword [eax], esi
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
mov dword [esp + 0x38], esp
call edx
mov byte [esp + 0x140], 5
mov byte [esp + 0x140], 1
mov ecx, dword [esp + 0x30]
call fcn.100fbad0
cmp al, bl
je 0x100fc0e2
push str.__item__n
lea ecx, [esp + 0x10c]
call fcn.10001d60
mov byte [esp + 0x130], 6
cmp dword [esp + 0x120], 0x10
mov ecx, dword [esp + 0x10c]
jae 0x100fbe6b
lea ecx, [esp + 0x10c]
mov edi, dword [esp + 0x11c]
mov eax, dword [esp + 0x18]
lea esi, [esp + 0x40]
call fcn.1019f5c0
mov byte [esp + 0x130], 1
lea ecx, [esp + 0x108]
call fcn.10001da0
add dword [esp + 0x1c], 1
add dword [esp + 0x24], 0x60
mov ebp, dword [esp + 0x138]
mov esi, dword [esp + 0x1c]
jmp 0x100fbbb0
lea ebp, [edi + 0xc]
push ebp
call fcn.101bc8c0
add esp, 4
test al, al
jne 0x100fc0c8
mov dword [esp + 0xb0], 7
mov dword [esp + 0xac], ebx
mov word [esp + 0x9c], bx
mov byte [esp + 0x130], 7
lea eax, [edi + 0x28]
push eax
lea esi, [esp + 0x64]
mov dword [esp + 0x2c], eax
call fcn.101be400
add esp, 4
mov byte [esp + 0x130], 8
mov ecx, dword [esp + 0x28]
push 0xffffffffffffffff
push ebx
call fcn.10007880
mov byte [esp + 0x130], 7
cmp dword [esp + 0x78], 8
jb 0x100fbf27
mov eax, dword [esp + 0x64]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
push ebp
lea esi, [esp + 0x48]
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], bx
call fcn.101be400
add esp, 4
mov byte [esp + 0x130], 9
push 0xffffffffffffffff
push ebx
mov ecx, ebp
call fcn.10007880
mov byte [esp + 0x130], 7
mov esi, 8
cmp dword [esp + 0x5c], esi
jb 0x100fbf77
mov ecx, dword [esp + 0x48]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [ebp + 0x18], esi
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], bx
jb 0x100fbf92
mov ebp, dword [ebp + 4]
jmp 0x100fbf95
add ebp, 4
cmp dword [edi + 0x5c], esi
jb 0x100fbf9f
mov edi, dword [edi + 0x48]
jmp 0x100fbfa2
add edi, 0x48
mov esi, dword [esp + 0x28]
cmp dword [esi + 0x18], 8
jb 0x100fbfb1
mov eax, dword [esi + 4]
jmp 0x100fbfb4
lea eax, [esi + 4]
push ebp
push edi
push eax
push str._item_IsFolder_0__name__s__addtime__s___s__item__n
lea ecx, [esp + 0xa8]
call fcn.1019cb70
mov ebp, 0xf
add esp, 0x10
mov dword [esp + 0xcc], ebp
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], bl
mov byte [esp + 0x130], 0xa
cmp dword [esp + 0xb0], 8
mov eax, dword [esp + 0x9c]
jae 0x100fc005
lea eax, [esp + 0x9c]
mov edx, dword [esp + 0xac]
push edx
push eax
lea ecx, [esp + 0xbc]
call fcn.1019e320
mov ecx, dword [esp + 0xc0]
add esp, 8
cmp dword [esp + 0xcc], 0x10
jae 0x100fc035
lea ecx, [esp + 0xb8]
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
cmp eax, ebx
je 0x100fc060
cmp ecx, ebx
je 0x100fc060
cmp dword [eax], 0xffffffff
je 0x100fc060
mov eax, dword [eax]
push ebx
lea edx, [esp + 0x44]
push edx
mov edx, dword [esp + 0xd0]
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x3c]
add dword [eax], 1
mov edi, dword [esp + 0x20]
mov eax, dword [eax]
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
push ebx
push eax
mov eax, dword [edx]
call eax
cmp eax, ebx
jne 0x100fc13d
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
cmp eax, ebx
jne 0x100fc13d
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
push 1
push ebx
call eax
mov byte [esp + 0x130], 7
lea ecx, [esp + 0xb4]
call fcn.10001da0
mov byte [esp + 0x130], 1
lea ecx, [esp + 0x98]
call fcn.10001dd0
add dword [esp + 0x1c], 1
add dword [esp + 0x24], 0x60
mov ebp, dword [esp + 0x138]
mov esi, dword [esp + 0x1c]
jmp 0x100fbbb0
mov byte [esp + 0x130], bl
lea ebx, [esp + 0x2c]
call fcn.100079b0
mov dword [esp + 0x130], 0xffffffff
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
xor al, al
jmp 0x100fc204
mov byte [esp + 0x130], bl
lea ebx, [esp + 0x2c]
call fcn.100079b0
mov dword [esp + 0x130], 0xffffffff
mov ecx, dword [esp + 0x138]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x100fc204
mov byte [esp + 0x130], 7
cmp dword [esp + 0xcc], 0x10
jb 0x100fc15f
mov ecx, dword [esp + 0xb8]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0xcc], ebp
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], bl
mov byte [esp + 0x130], 1
cmp dword [esp + 0xb0], 8
jb 0x100fc196
mov edx, dword [esp + 0x9c]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0xb0], 7
mov dword [esp + 0xac], ebx
mov word [esp + 0x9c], bx
mov byte [esp + 0x130], bl
lea ebx, [esp + 0x2c]
call fcn.100079b0
mov dword [esp + 0x130], 0xffffffff
mov ecx, dword [esp + 0x138]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
xor al, al
jmp 0x100fc204
mov byte [esp + 0x130], bl
lea ebx, [esp + 0x2c]
call fcn.100079b0
mov dword [esp + 0x130], 0xffffffff
mov eax, dword [ebp]
mov edx, dword [eax + 4]
mov ecx, ebp
call edx
mov al, 1
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.101d19cc
add esp, 0x120
ret 0x10