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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x33c2b70
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x340a6ec]
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], 0x33d79d4
mov dword [ebp - 0x20], 0x33d79c8
mov dword [ebp - 0x1c], 4
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x10], 0
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100a8523
mov ecx, 0x1a
shl ecx, 2
mov edx, dword [0x340d5bc]
mov eax, dword [0x340d5bc]
mov esi, dword [0x340d5bc]
mov esi, dword [esi + 0x74]
xor esi, dword [eax + 0x84]
xor esi, dword [edx + ecx]
and esi, 0x10000
je 0x100a8459
mov ecx, 0xa
shl ecx, 2
mov edx, dword [0x340d5bc]
mov eax, dword [0x340d5bc]
mov esi, dword [0x340d5bc]
mov esi, dword [esi + 0x74]
xor esi, dword [eax + 0x84]
xor esi, dword [edx + ecx]
mov dword [ebp - 0x70], esi
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.100a3790
push eax
push 0x20006
push 0
push 0
push 0
mov eax, dword [0x3407a80]
push eax
mov ecx, dword [ebp - 0x70]
and ecx, 8
neg ecx
sbb ecx, ecx
add ecx, 0x80000002
push ecx
call fcn.100a38b0
add esp, 0x24
test eax, eax
jne 0x100a8459
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 [0x33d4008]
test eax, eax
jne 0x100a844f
mov byte [ebp - 0x11], 1
mov eax, dword [ebp - 0x10]
push eax
call dword [0x33d4038]
mov ecx, 0x1a
shl ecx, 2
mov edx, dword [0x340d5bc]
mov eax, dword [0x340d5bc]
mov esi, dword [0x340d5bc]
mov esi, dword [esi + 0x74]
xor esi, dword [eax + 0x84]
xor esi, dword [edx + ecx]
and esi, 0x20000
je 0x100a851e
push 1
mov ecx, dword [ebp - 0x20]
push ecx
push 3
lea edx, [ebp - 0x44]
push edx
call fcn.100a53f0
add esp, 0x10
mov dword [ebp - 4], 0
cmp dword [ebp - 0x30], 0x10
jb 0x100a84b6
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x90], eax
jmp 0x100a84bf
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x90], ecx
push 0x33d785c
mov edx, dword [ebp - 0x90]
push edx
call fcn.10137f2a
add esp, 8
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x100a8504
mov eax, dword [ebp - 0x48]
push eax
push 1
push 4
mov ecx, dword [ebp + 8]
push ecx
call fcn.10138221
add esp, 0x10
test eax, eax
je 0x100a84f8
mov byte [ebp - 0x11], 1
mov edx, dword [ebp - 0x48]
push edx
call fcn.10137b93
add esp, 4
mov dword [ebp - 4], 1
push 0
push 1
lea ecx, [ebp - 0x44]
call fcn.100444a0
mov dword [ebp - 4], 0xffffffff
jmp 0x100a86c4
mov dword [ebp - 0x4c], 0xffffffff
mov eax, 0xa
shl eax, 2
mov ecx, dword [0x340d5bc]
mov edx, dword [0x340d5bc]
mov esi, dword [0x340d5bc]
mov esi, dword [esi + 0x74]
xor esi, dword [edx + 0x84]
xor esi, dword [ecx + eax]
mov dword [ebp - 0x7c], esi
lea eax, [ebp - 0x10]
push eax
call fcn.100a3960
or eax, 0x20019
push eax
push 0
mov ecx, dword [0x3407a80]
push ecx
mov edx, dword [ebp - 0x7c]
and edx, 8
neg edx
sbb edx, edx
add edx, 0x80000002
push edx
call dword [0x33d402c]
test eax, eax
je 0x100a85dc
mov eax, 0xa
shl eax, 2
mov ecx, dword [0x340d5bc]
mov edx, dword [0x340d5bc]
mov esi, dword [0x340d5bc]
mov esi, dword [esi + 0x74]
xor esi, dword [edx + 0x84]
xor esi, dword [ecx + eax]
mov dword [ebp - 0x80], esi
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
mov ecx, dword [0x3407a80]
push ecx
mov edx, dword [ebp - 0x80]
and edx, 8
neg edx
sbb edx, edx
add edx, 0x80000002
push edx
call dword [0x33d402c]
test eax, eax
jne 0x100a8616
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 [0x33d403c]
test eax, eax
jne 0x100a860c
cmp dword [ebp + 8], 0
je 0x100a8608
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 [0x33d4038]
movzx ecx, byte [ebp - 0x11]
test ecx, ecx
jne 0x100a86c4
push 1
mov edx, dword [ebp - 0x20]
push edx
push 3
lea eax, [ebp - 0x68]
push eax
call fcn.100a53f0
add esp, 0x10
mov dword [ebp - 4], 2
cmp dword [ebp - 0x54], 0x10
jb 0x100a864e
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x94], ecx
jmp 0x100a8657
lea edx, [ebp - 0x68]
mov dword [ebp - 0x94], edx
push 0x33d748c
mov eax, dword [ebp - 0x94]
push eax
call fcn.10137f2a
add esp, 8
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x100a86aa
mov ecx, dword [ebp - 0x6c]
push ecx
push 1
push 4
lea edx, [ebp - 0x4c]
push edx
call fcn.10137e51
add esp, 0x10
test eax, eax
je 0x100a869e
cmp dword [ebp + 8], 0
je 0x100a869a
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.10137b93
add esp, 4
mov dword [ebp - 4], 3
push 0
push 1
lea ecx, [ebp - 0x68]
call fcn.100444a0
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.10133eba
mov esp, ebp
pop ebp
ret