Function at 0x100ba290
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d37b0
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x481d71c]
xor eax, ebp
mov dword [ebp - 0x28], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], 0x47e89d4
mov dword [ebp - 0x20], 0x47e89c8
mov dword [ebp - 0x1c], 4
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x10], 0
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100ba46a
mov ecx, 0x12
shl ecx, 2
mov edx, dword [0x48205d4]
mov eax, dword [0x48205d4]
mov esi, dword [0x48205d4]
mov esi, dword [esi + 0x6c]
xor esi, dword [eax + 0x64]
xor esi, dword [edx + ecx]
and esi, 0x10000
je 0x100ba3a3
mov ecx, 0xe
shl ecx, 2
mov edx, dword [0x48205d4]
mov eax, dword [0x48205d4]
mov esi, dword [0x48205d4]
mov esi, dword [esi + 0x6c]
xor esi, dword [eax + 0x64]
xor esi, dword [edx + ecx]
mov dword [ebp - 0x70], esi
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.100b5f90
push eax
push 0x20006
push 0
push 0
push 0
mov eax, dword [0x481aad0]
push eax
mov ecx, dword [ebp - 0x70]
and ecx, 8
neg ecx
sbb ecx, ecx
add ecx, 0x80000002
push ecx
call fcn.100b60b0
add esp, 0x24
test eax, eax
jne 0x100ba3a3
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
push 3
push 0
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [0x47e5008]
test eax, eax
jne 0x100ba399
mov byte [ebp - 0x11], 1
mov eax, dword [ebp - 0x10]
push eax
call dword [0x47e5038]
mov ecx, 0x12
shl ecx, 2
mov edx, dword [0x48205d4]
mov eax, dword [0x48205d4]
mov esi, dword [0x48205d4]
mov esi, dword [esi + 0x6c]
xor esi, dword [eax + 0x64]
xor esi, dword [edx + ecx]
and esi, 0x20000
je 0x100ba465
push 1
mov ecx, dword [ebp - 0x20]
push ecx
push 3
lea edx, [ebp - 0x44]
push edx
call fcn.100b7bd0
add esp, 0x10
mov dword [ebp - 4], 0
cmp dword [ebp - 0x30], 0x10
jb 0x100ba3fd
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x90], eax
jmp 0x100ba406
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x90], ecx
push 0x47e885c
mov edx, dword [ebp - 0x90]
push edx
call fcn.10144cda
add esp, 8
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x100ba44b
mov eax, dword [ebp - 0x48]
push eax
push 1
push 4
mov ecx, dword [ebp + 8]
push ecx
call fcn.10144fd1
add esp, 0x10
test eax, eax
je 0x100ba43f
mov byte [ebp - 0x11], 1
mov edx, dword [ebp - 0x48]
push edx
call fcn.10144943
add esp, 4
mov dword [ebp - 4], 1
push 0
push 1
lea ecx, [ebp - 0x44]
call fcn.100434f0
mov dword [ebp - 4], 0xffffffff
jmp 0x100ba605
mov dword [ebp - 0x4c], 0xffffffff
mov eax, 0xe
shl eax, 2
mov ecx, dword [0x48205d4]
mov edx, dword [0x48205d4]
mov esi, dword [0x48205d4]
mov esi, dword [esi + 0x6c]
xor esi, dword [edx + 0x64]
xor esi, dword [ecx + eax]
mov dword [ebp - 0x7c], esi
lea eax, [ebp - 0x10]
push eax
call fcn.100b6160
or eax, 0x20019
push eax
push 0
mov ecx, dword [0x481aad0]
push ecx
mov edx, dword [ebp - 0x7c]
and edx, 8
neg edx
sbb edx, edx
add edx, 0x80000002
push edx
call dword [0x47e502c]
test eax, eax
je 0x100ba51d
mov eax, 0xe
shl eax, 2
mov ecx, dword [0x48205d4]
mov edx, dword [0x48205d4]
mov esi, dword [0x48205d4]
mov esi, dword [esi + 0x6c]
xor esi, dword [edx + 0x64]
xor esi, dword [ecx + eax]
mov dword [ebp - 0x80], esi
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
mov ecx, dword [0x481aad0]
push ecx
mov edx, dword [ebp - 0x80]
and edx, 8
neg edx
sbb edx, edx
add edx, 0x80000002
push edx
call dword [0x47e502c]
test eax, eax
jne 0x100ba557
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x4c]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [0x47e503c]
test eax, eax
jne 0x100ba54d
cmp dword [ebp + 8], 0
je 0x100ba549
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x4c]
mov dword [ecx], edx
mov byte [ebp - 0x11], 1
mov eax, dword [ebp - 0x10]
push eax
call dword [0x47e5038]
movzx ecx, byte [ebp - 0x11]
test ecx, ecx
jne 0x100ba605
push 1
mov edx, dword [ebp - 0x20]
push edx
push 3
lea eax, [ebp - 0x68]
push eax
call fcn.100b7bd0
add esp, 0x10
mov dword [ebp - 4], 2
cmp dword [ebp - 0x54], 0x10
jb 0x100ba58f
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x94], ecx
jmp 0x100ba598
lea edx, [ebp - 0x68]
mov dword [ebp - 0x94], edx
push 0x47e848c
mov eax, dword [ebp - 0x94]
push eax
call fcn.10144cda
add esp, 8
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x100ba5eb
mov ecx, dword [ebp - 0x6c]
push ecx
push 1
push 4
lea edx, [ebp - 0x4c]
push edx
call fcn.10144c01
add esp, 0x10
test eax, eax
je 0x100ba5df
cmp dword [ebp + 8], 0
je 0x100ba5db
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x4c]
mov dword [eax], ecx
mov byte [ebp - 0x11], 1
mov edx, dword [ebp - 0x6c]
push edx
call fcn.10144943
add esp, 4
mov dword [ebp - 4], 3
push 0
push 1
lea ecx, [ebp - 0x68]
call fcn.100434f0
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.10140c7a
mov esp, ebp
pop ebp
ret