Function at 0x1004e846
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x454
mov eax, dword [0x10098070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x430], eax
jmp 0x1004e4b0
mov ecx, dword [ebp - 0x430]
add ecx, 5
mov dword [ebp - 0x430], ecx
mov edx, dword [ebp + 0x14]
add edx, 0xbe
cmp dword [ebp - 0x430], edx
ja 0x1004e8b5
mov eax, dword [ebp - 0x430]
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0x13c2
ja 0x1004e51b
cmp dword [ebp - 0x424], 0x13c2
je 0x1004e7f3
mov ecx, dword [ebp - 0x424]
mov dword [ebp - 0x434], ecx
sub dword [ebp - 0x434], 0xd74
je 0x1004e7b0
sub dword [ebp - 0x434], 5
je 0x1004e825
jmp case.0x1004e599.1
cmp dword [ebp - 0x424], 0x264c
ja 0x1004e56d
cmp dword [ebp - 0x424], 0x264c
je 0x1004e800
mov edx, dword [ebp - 0x424]
sub edx, 0x13c7
mov dword [ebp - 0x424], edx
cmp dword [ebp - 0x424], 0xcd
ja case.0x1004e599.1
mov eax, dword [ebp - 0x424]
movzx ecx, byte [eax + 0x1004e908]
jmp dword [ecx*4 + 0x1004e8cc]
mov edx, dword [ebp - 0x424]
sub edx, 0x2651
mov dword [ebp - 0x424], edx
cmp dword [ebp - 0x424], 0x14
ja case.0x1004e599.1
mov eax, dword [ebp - 0x424]
movzx ecx, byte [eax + 0x1004e9f0]
jmp dword [ecx*4 + 0x1004e9d8]
push 0xe
jmp case.0x1004e599.1
je case.0x1004e566.45
cmp word [ecx], di
jmp case.0x1004e599.1
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push 0x2b
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1002cbd0
add esp, 0x30
pop edi
pop ebp
ret 0x1c
xor edx, edx
mov word [ebp - 0x18], dx
mov eax, 0x1009287e
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
mov dx, word [eax + 4]
mov word [ebp - 0x14], dx
jmp case.0x1004e599.1
xor eax, eax
mov word [ebp - 0x12], ax
mov ecx, 0x10092924
mov edx, dword [ecx]
mov dword [ebp - 0x12], edx
mov eax, dword [ecx + 4]
mov dword [ebp - 0xe], eax
mov cx, word [ecx + 8]
mov word [ebp - 0xa], cx
xor edx, edx
mov word [ebp - 8], dx
jmp case.0x1004e599.1
jmp 0x1004e709
push 0x5bd5
lea eax, [ebp - 0x20]
push eax
push 0x4e
call fcn.10005f70
add esp, 0xc
mov dword [ebp - 0x444], eax
mov ecx, dword [ebp - 0x444]
mov dword [ebp - 0x44c], ecx
mov edx, 1
test edx, edx
je 0x1004e75f
mov dword [ebp - 0x438], 0x50f3
jmp 0x1004e686
mov eax, dword [ebp - 0x438]
add eax, 0x12
mov dword [ebp - 0x438], eax
cmp dword [ebp - 0x438], 0x5117
ja 0x1004e75a
mov ecx, dword [ebp - 0x438]
mov dword [ebp - 0x448], ecx
mov edx, dword [ebp - 0x448]
mov dword [ebp - 0x428], edx
sub dword [ebp - 0x428], 0x50f3
je 0x1004e721
sub dword [ebp - 0x428], 0x12
je 0x1004e6d1
sub dword [ebp - 0x428], 0x12
je 0x1004e709
jmp 0x1004e755
push 0x400
lea eax, [ebp - 0x420]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [ebp - 0x44c]
add esp, 0xc
mov dword [ebp - 0x450], eax
mov edx, dword [ebp - 0x450]
mov dword [ebp - 0x43c], edx
cmp dword [ebp - 0x43c], 0
jg 0x1004e707
jmp 0x1004e75f
jmp 0x1004e755
mov eax, dword [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x420]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.1005b3d0
jmp 0x1004e755
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp - 0x454], eax
push 0x3be0
lea ecx, [ebp - 0x454]
push ecx
push 0
call fcn.100451a0
add esp, 0xc
mov byte [ebp - 0x429], al
movzx edx, byte [ebp - 0x429]
test edx, edx
je 0x1004e755
jmp 0x1004e75f
jmp 0x1004e677
jmp 0x1004e65e
mov dword [ebp - 0x430], 0x2660
jmp case.0x1004e599.1
mov ecx, dword [ebp + 0xc]
call fcn.1005ad60
mov dword [ebp - 0x440], eax
mov eax, dword [ebp - 0x440]
jmp 0x1004e8bb
push 1
push 0x1009299a
lea eax, [ebp - 0x20]
push eax
call fcn.1006db47
add esp, 0xc
mov cx, word [0x100929e4]
mov word [ebp - 0x1a], cx
jmp case.0x1004e599.1
ret
push 0
push 0
push dword [ebp + 8]
jmp case.0x1004e599.1
xchg edx, eax
and eax, 0xfb34206
test dword [ebp + 0x2b000000], edi
salc
jne case.0x1004e566.15
sub edx, esi
sar edx, 1
lea edx, [edx*2 + 2]
pop esi
jmp case.0x1004e566.25
cmp dword [eax + 0x14], 8
jmp case.0x1004e599.1
jne case.0x1004e599.5
mov ecx, case.0x1004e566.45
jmp case.0x1004e599.1
mov ecx, dword [ebp + 0x1c]
push edi
xor edi, edi
test ecx, ecx
jmp case.0x1004e599.1
push 2
push 0x10092a2e
lea edx, [ebp - 0x20]
push edx
call fcn.1006fe81
add esp, 0xc
xor eax, eax
mov word [ebp - 0x1c], ax
jmp case.0x1004e599.1
jne 0x1004e7b0
jmp case.0x1004e599.1
call fcn.100107c0
push eax
push dword [ebp + 8]
call dword [str.Nietingelogd]
pop ebp
ret 4
push 0xa
pop edx
test ecx, ecx
je 0x1004e7c1
cmp word [ecx], di
jmp case.0x1004e599.1
jb case.0x1004e566.10
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
jmp case.0x1004e599.1
mov dword [ebp - 0x430], 0x13f4
cmp al, 0
dec esi
add byte [ebp], dl
dec esp
add byte [eax + eax + 0x3e], cl
add byte [eax], al
add byte [eax + 0x55004e90], dl
add byte [eax + eax + 0x4c], cl
add byte [eax], al
add byte [eax - 0x16d31470], dl
invalid
ja 0x1004e886
jmp 0x1004e800
invalid
invalid
mov dword [ebp - 0x430], 0x13f9
dec esi
add byte [ebp], dl
dec esp
add byte [eax + eax], cl
add byte [eax - 0x4131670], dl
invalid
in al, dx
sti
invalid
jmp 0x1004e4a1
mov eax, dword [ebp - 0x440]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100685c5
mov esp, ebp
pop ebp
ret