Function at 0x100054c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10053760
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x1005f004]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push 0x104
mov dword [ebp - 0x29c], eax
lea eax, [ebp - 0x170]
push 0
push eax
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x280], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x298], 0
call fcn.10012c40
push 0x104
lea eax, [ebp - 0x274]
push 0
push eax
call fcn.10012c40
push 0x32
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x2a0], 0
push 0
push eax
call fcn.10012c40
mov ecx, esi
add esp, 0x24
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10005571
sub ecx, edx
lea eax, [ecx - 4]
push eax
lea eax, [ebp - 0x274]
push esi
push eax
call fcn.1002e630
lea eax, [ebp - 0x274]
push eax
call fcn.10004fa0
add esp, 0x10
push ecx
mov ecx, 0x12467cb4
add ecx, esi
add ecx, eax
xor ecx, edx
nop
pop ecx
mov esi, dword [ebp - 0x29c]
push 0
push esi
call sym.efff.dll_Ordinal_7
mov edi, eax
mov dword [ebp - 0x1c], 0x75353025
mov dword [ebp - 0x28c], edi
mov byte [ebp - 0x18], 0
test edi, edi
jle 0x1000586f
lea eax, [ebp - 0x284]
mov word [ebp - 0x284], 0x6272
push eax
push esi
mov byte [ebp - 0x282], 0
call fcn.100318c8
add esp, 8
mov dword [ebp - 0x27c], eax
test eax, eax
je 0x1000586f
xor esi, esi
mov dword [ebp - 0x290], esi
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
jne 0x10005939
cmp esi, edi
jge 0x100058ef
cmp dword [eax], 0
jne 0x100058ef
push 0x32
lea eax, [ebp - 0x6c]
push 0
push eax
call fcn.10012c40
push 0
push dword [ebp - 0x27c]
lea eax, [ebp - 0x298]
push eax
lea eax, [ebp - 0x280]
push eax
push 1
lea eax, [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
call fcn.1000bde0
add esp, 0x2c
test eax, eax
je 0x100058e0
push 0x104
lea eax, [ebp - 0x170]
push 0
push eax
call fcn.10012c40
add esp, 0xc
xor ecx, ecx
nop dword [eax]
mov al, byte [ebp + ecx - 0x274]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x171], al
test al, al
jne 0x10005680
lea ecx, [ebp - 0x170]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100056a0
sub ecx, edx
lea eax, [ebp - 0x6c]
xor edx, edx
mov byte [ebp + ecx - 0x170], 0x5c
cmp byte [ebp - 0x6c], dl
je 0x100056e0
nop dword [eax + eax]
cmp edx, 0x13
jge 0x100056e0
mov cl, byte [eax]
cmp cl, 0x3a
je 0x100056d6
cmp cl, 0x20
je 0x100056d6
cmp cl, 0x2f
jne 0x100056d9
mov byte [eax], 0x5f
inc eax
inc edx
cmp byte [eax], 0
jne 0x100056c0
lea eax, [esi + 1]
mov dword [ebp - 0x28], 0
push eax
lea eax, [ebp - 0x1c]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x38]
push eax
movups xmmword [ebp - 0x38], xmm0
call fcn.100029a0
lea ecx, [ebp - 0x170]
add esp, 0xc
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10005710
push 0x13
lea eax, [ebp - 0x6c]
sub ecx, edx
push eax
lea eax, [ebp - 0x170]
add eax, ecx
push eax
call fcn.1002e630
lea edx, [ebp - 0x170]
mov word [ebp - 0x278], 0x5f
add esp, 0xc
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x10005742
sub edx, ecx
lea ecx, [ebp - 0x278]
mov eax, ecx
sub edx, eax
lea edx, [ebp + edx - 0x170]
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x10005760
lea ecx, [ebp - 0x170]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10005776
push 0x1e
lea eax, [ebp - 0x59]
sub ecx, edx
push eax
lea eax, [ebp - 0x170]
add eax, ecx
push eax
call fcn.1002e630
lea ecx, [ebp - 0x170]
add esp, 0xc
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100057a0
sub ecx, edx
lea edx, [ebp - 0x278]
lea ecx, [ebp + ecx - 0x170]
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x100057b6
lea ecx, [ebp - 0x170]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100057d0
sub ecx, edx
lea edx, [ebp - 0x38]
lea ecx, [ebp + ecx - 0x170]
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x100057e3
lea ecx, [ebp - 0x170]
mov dword [ebp - 0x24], 0x67706a2e
mov byte [ebp - 0x20], al
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10005804
sub ecx, edx
lea edx, [ebp - 0x24]
lea ecx, [ebp + ecx - 0x170]
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x10005817
mov byte [ebp - 0x286], al
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x170]
mov word [ebp - 0x288], 0x6277
push eax
call fcn.100318c8
add esp, 8
mov dword [ebp - 0x294], eax
test eax, eax
jne 0x1000588d
lea eax, [ebp - 0x27c]
push eax
call fcn.1000bd20
lea eax, [ebp - 0x280]
push eax
call fcn.100022c0
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10010ee3
mov esp, ebp
pop ebp
ret
push eax
push dword [ebp - 0x298]
push 1
push dword [ebp - 0x280]
call fcn.1003285a
lea eax, [ebp - 0x294]
push eax
call fcn.1000bcd0
lea eax, [ebp - 0x280]
push eax
call fcn.100022c0
mov eax, 0x66666667
add esp, 0x18
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*4]
mov eax, esi
add ecx, ecx
sub eax, ecx
jne 0x100058e0
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp + 0x10]
inc esi
mov dword [ebp - 0x290], esi
jmp 0x10005613
push ecx
mov ecx, 0x5255da62
add ecx, esp
sbb ecx, edx
sbb ecx, eax
add ecx, esi
or ecx, ebp
pop ecx
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp - 0x290]
mov edi, dword [ebp - 0x28c]
cmp dword [eax], 0
jne 0x10005939
mov esi, dword [ebp - 0x29c]
push 0
push esi
call sym.efff.dll_Ordinal_7
cmp eax, edi
jle 0x10005939
mov esi, dword [ebp - 0x290]
mov edi, eax
mov dword [ebp - 0x28c], edi
jmp 0x10005607
push eax
mov eax, 0x95847568
mov eax, 0x9edd4bd
xor eax, eax
nop
pop eax
lea eax, [ebp - 0x27c]
push eax
call fcn.1000bd20
mov eax, dword [ebp + 0x10]
add esp, 4
cmp dword [eax], 0
jne 0x1000586f
mov al, 1
jmp 0x10005871