Function at 0x1001bb50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x178
mov eax, dword [0x100fb074]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x170], eax
xor ebx, ebx
mov eax, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x150], eax
mov esi, ecx
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x178], eax
mov edi, edx
lea eax, [ebp - 0x14c]
mov dword [ebp - 0x160], edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
push eax
cmovne ebx, dword [ebp - 0x12c]
mov dword [ebp - 0x168], ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
call fcn.100bd8fa
add esp, 4
mov dword [ebp - 0x164], eax
push ebx
push 0
push eax
call fcn.100b7060
add esp, 0xc
push 0x100ee020
push esi
call fcn.100bed8c
mov edx, dword [ebp - 0x164]
mov esi, eax
push esi
push ebx
push 1
push edx
call fcn.100bfba1
push esi
call fcn.100bf0a9
mov esi, edi
add esp, 0x1c
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1001bc01
sub esi, ecx
cmp dword [ebp - 0x164], 0
mov dword [ebp - 0x158], esi
je 0x1001bd9f
test edi, edi
je 0x1001bd9f
cmp esi, ebx
jg 0x1001bd9f
test esi, esi
je 0x1001bd9f
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100b4821
dec esi
mov dword [ebp - 0x154], eax
or ecx, 0xffffffff
add esp, 4
xor edx, edx
mov dword [eax], ecx
test esi, esi
jle 0x1001bc82
cmp ecx, 0xffffffff
je 0x1001bc79
mov bl, byte [ecx + edi]
cmp bl, 0x3f
je 0x1001bc79
cmp byte [edx + edi], bl
je 0x1001bc79
mov ecx, dword [eax + ecx*4]
jmp 0x1001bc7e
inc edx
inc ecx
mov dword [eax + edx*4], ecx
cmp edx, esi
jl 0x1001bc62
mov ecx, dword [ebp - 0x168]
xor ebx, ebx
xor esi, esi
test ecx, ecx
jle 0x1001bcc6
mov edx, dword [ebp - 0x164]
cmp esi, dword [ebp - 0x158]
jge 0x1001bcc6
cmp esi, 0xffffffff
je 0x1001bcc0
mov al, byte [esi + edi]
cmp al, 0x3f
je 0x1001bcba
cmp byte [ebx + edx], al
mov eax, dword [ebp - 0x154]
je 0x1001bcc0
mov esi, dword [eax + esi*4]
jmp 0x1001bcc2
mov eax, dword [ebp - 0x154]
inc ebx
inc esi
cmp ebx, ecx
jl 0x1001bc96
push eax
call fcn.100b484d
mov eax, dword [ebp - 0x158]
add esp, 4
cmp esi, eax
jl 0x1001bd99
sub ebx, eax
test ebx, ebx
jle 0x1001bd99
mov eax, dword [ebp - 0x164]
mov edi, dword [ebx + eax - 6]
mov eax, dword [ebp - 0x168]
sub eax, edi
mov dword [ebp - 0x168], eax
lea esi, [eax - 4]
push esi
mov dword [ebp - 0x158], esi
call fcn.100bd8fa
add esp, 4
mov dword [ebp - 0x154], eax
push esi
push 0
push eax
call fcn.100b7060
mov eax, dword [ebp - 0x164]
lea ecx, [ebx - 6]
add esp, 0xc
mov esi, dword [eax + 4]
push ecx
push eax
mov eax, dword [ebp - 0x154]
dec esi
push eax
call fcn.100b6ae0
mov eax, dword [ebp - 0x168]
add esp, 0xc
mov ecx, dword [ebp - 0x154]
sub eax, ebx
mov edx, dword [ebp - 0x164]
add eax, 2
add edx, 0xfffffffe
push eax
lea eax, [edi + ebx]
mov dword [ecx + 4], esi
add eax, edx
push eax
lea eax, [ecx - 6]
add eax, ebx
push eax
call fcn.100b6ae0
mov edx, dword [ebp - 0x158]
lea eax, [esi*4]
mov edi, dword [ebp - 0x160]
mov ecx, edx
sub ecx, eax
add esp, 0xc
mov eax, dword [ebp - 0x154]
sub ecx, 0xc
mov dword [edx + eax - 4], ecx
jmp 0x1001bdd2
mov ebx, dword [ebp - 0x168]
push ebx
mov dword [ebp - 0x158], ebx
call fcn.100bd8fa
add esp, 4
mov esi, eax
mov dword [ebp - 0x154], esi
push ebx
push 0
push esi
call fcn.100b7060
add esp, 0xc
push ebx
push dword [ebp - 0x164]
push esi
call fcn.100b6ae0
add esp, 0xc
push dword [ebp - 0x164]
call fcn.100bd905
mov ecx, edi
add esp, 4
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001bde5
mov ebx, dword [ebp - 0x174]
sub ecx, edx
mov edx, ebx
lea esi, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x1001be00
sub edx, esi
mov esi, dword [ebp - 0x170]
lea eax, [esi + 1]
mov dword [ebp - 0x160], eax
mov al, byte [esi]
inc esi
test al, al
jne 0x1001be18
sub esi, dword [ebp - 0x160]
add ecx, 0x14
lea eax, [esi + edx]
mov esi, dword [ebp - 0x158]
add eax, ecx
mov ecx, dword [ebp - 0x178]
add eax, esi
push eax
mov dword [ecx], eax
call fcn.100bd8fa
mov ecx, dword [ebp - 0x150]
add esp, 4
mov dword [ecx], eax
mov ecx, dword [ebp - 0x178]
push dword [ecx]
push 0
push eax
call fcn.100b7060
add esp, 0xc
lea eax, [esi - 4]
mov esi, dword [ebp - 0x154]
push eax
mov eax, dword [ebp - 0x150]
push esi
push dword [eax]
call fcn.100b6ae0
add esp, 0xc
push esi
call fcn.100bd905
mov eax, dword [ebp - 0x150]
mov esi, edi
add esp, 4
mov eax, dword [eax]
mov ecx, dword [eax + 4]
inc ecx
mov dword [ebp - 0x168], ecx
mov dword [eax + 4], ecx
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x1001bea0
sub esi, ecx
mov ecx, ebx
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001beb0
sub ecx, edx
mov edx, dword [ebp - 0x170]
lea eax, [edx + 1]
mov dword [ebp - 0x160], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x1001bec8
sub edx, dword [ebp - 0x160]
lea eax, [edx + ecx]
mov edx, dword [ebp - 0x150]
lea ecx, [esi + 0x10]
mov esi, dword [ebp - 0x158]
add ecx, eax
mov eax, dword [edx]
mov dword [eax + esi - 4], ecx
mov ecx, edi
mov eax, dword [edx]
lea edx, [ecx + 1]
mov byte [esi + eax], 0xa
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001bf00
mov eax, dword [ebp - 0x150]
sub ecx, edx
mov eax, dword [eax]
mov byte [eax + esi + 1], cl
mov ecx, edi
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001bf20
mov eax, dword [ebp - 0x150]
sub ecx, edx
push ecx
push edi
mov eax, dword [eax]
add eax, 2
add eax, esi
push eax
call fcn.100b6ae0
mov ecx, edi
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001bf46
mov eax, dword [ebp - 0x150]
sub ecx, edx
mov eax, dword [eax]
add eax, ecx
mov ecx, ebx
mov byte [eax + esi + 2], 0x12
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001bf63
sub ecx, edx
mov edx, edi
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x1001bf71
mov eax, dword [ebp - 0x150]
sub edx, esi
mov eax, dword [eax]
add eax, edx
mov edx, dword [ebp - 0x158]
mov byte [eax + edx + 3], cl
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001bf93
sub ecx, edx
mov edx, edi
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x1001bfa1
mov eax, dword [ebp - 0x150]
sub edx, esi
push ecx
mov ecx, dword [ebp - 0x158]
add ecx, 4
mov eax, dword [eax]
add eax, edx
add eax, ecx
push ebx
push eax
call fcn.100b6ae0
mov ecx, edi
mov dword [ebp - 0x160], 0x120001a
add esp, 0xc
mov word [ebp - 0x15c], 0x28
mov byte [ebp - 0x169], 0x32
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001bff0
sub ecx, edx
mov edx, ebx
lea esi, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x1001c000
mov eax, dword [ebp - 0x150]
sub edx, esi
mov esi, dword [ebp - 0x170]
mov ebx, esi
mov eax, dword [eax]
add eax, edx
add eax, ecx
mov ecx, dword [ebp - 0x158]
add ecx, eax
mov eax, dword [ebp - 0x160]
mov dword [ecx + 4], eax
mov ax, word [ebp - 0x15c]
mov word [ecx + 8], ax
mov al, byte [ebp - 0x169]
mov byte [ecx + 0xa], al
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x1001c045
sub ebx, ecx
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001c053
sub ecx, edx
mov edx, dword [ebp - 0x174]
lea eax, [edx + 1]
mov dword [ebp - 0x160], eax
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x1001c070
mov eax, dword [ebp - 0x150]
sub edx, dword [ebp - 0x160]
mov eax, dword [eax]
add eax, edx
mov edx, esi
add eax, ecx
mov ecx, dword [ebp - 0x158]
mov byte [eax + ecx + 0xb], bl
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x1001c098
sub edx, ecx
mov ecx, edi
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001c0a6
mov ebx, dword [ebp - 0x174]
sub ecx, esi
mov esi, ebx
lea eax, [esi + 1]
mov dword [ebp - 0x160], eax
mov al, byte [esi]
inc esi
test al, al
jne 0x1001c0c0
mov eax, dword [ebp - 0x150]
sub esi, dword [ebp - 0x160]
push edx
push dword [ebp - 0x170]
mov eax, dword [eax]
add eax, esi
add eax, ecx
mov ecx, dword [ebp - 0x158]
add ecx, 0xc
add eax, ecx
push eax
call fcn.100b6ae0
mov esi, edi
mov dword [ebp - 0x154], 0x500148
add esp, 0xc
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1001c103
mov edx, ebx
sub esi, ecx
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x1001c111
mov ebx, dword [ebp - 0x170]
sub edx, ecx
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x1001c123
mov eax, dword [ebp - 0x150]
sub ebx, ecx
mov ecx, dword [eax]
mov eax, dword [ebp - 0x154]
add ecx, ebx
add ecx, edx
add ecx, esi
mov esi, dword [ebp - 0x158]
mov dword [ecx + esi + 0xc], eax
lea ecx, [edi + 1]
nop dword [eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x1001c150
mov edx, dword [ebp - 0x174]
sub edi, ecx
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x1001c162
mov ebx, dword [ebp - 0x170]
sub edx, ecx
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x1001c174
mov eax, dword [ebp - 0x168]
sub ebx, ecx
mov ecx, dword [ebp - 0x178]
shl eax, 2
mov ecx, dword [ecx]
sub ecx, eax
mov eax, dword [ebp - 0x150]
sub ecx, 0xc
mov eax, dword [eax]
add eax, ebx
add eax, edx
add eax, edi
pop edi
mov dword [eax + esi + 0x10], ecx
mov eax, 1
mov ecx, dword [ebp - 8]
pop esi
xor ecx, ebp
pop ebx
call fcn.100b47d2
mov esp, ebp
pop ebp
ret