Function at 0x49d440
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53d0e8
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x5954a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.__________1325_DisengageODMSupportFile____
call fcn.0047c040
add esp, 4
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x34], 0
call fcn.004a5750
lea ecx, [ebp - 0x30]
call fcn.0049f9d0
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 2
mov dword [ebp - 0x10], 0
jmp 0x49d4be
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jae 0x49d518
mov dword [ebp - 0x254], 0
push 0x212
push 0
lea ecx, [ebp - 0x250]
push ecx
call fcn.004f8090
add esp, 0xc
push 0x216
push 0
lea edx, [ebp - 0x254]
push edx
call fcn.004f8090
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + eax*4 - 0x18]
mov dword [ebp - 0x254], ecx
lea edx, [ebp - 0x254]
push edx
lea ecx, [ebp - 0x30]
call fcn.0049fd90
jmp 0x49d4b5
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0049a490
add esp, 8
test eax, eax
jne 0x49d55f
mov dword [ebp - 0x260], 0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004a06c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004a0770
mov eax, dword [ebp - 0x260]
jmp 0x49da5e
push str.__________1354_DisengageODMSupportFile____
call fcn.0047c040
add esp, 4
mov dword [ebp - 0x10], 0
jmp 0x49d57e
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
cdq
mov ecx, 0x216
idiv ecx
cmp dword [ebp - 0x10], eax
jae 0x49d661
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
cdq
mov ecx, 0x216
idiv ecx
cmp dword [ebp - 0x10], eax
jb 0x49d5ad
call fcn.004fb0ce
xor edx, edx
jne 0x49d5ad
mov eax, dword [ebp - 0x10]
imul eax, eax, 0x216
mov ecx, dword [ebp - 0x24]
cmp dword [eax + ecx], 1
jne 0x49d65c
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
cdq
mov ecx, 0x216
idiv ecx
cmp dword [ebp - 0x10], eax
jb 0x49d5df
call fcn.004fb0ce
xor edx, edx
jne 0x49d5df
mov eax, dword [ebp - 0x10]
imul eax, eax, 0x216
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + eax + 4]
mov dword [ebp - 0x258], edx
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
cdq
mov ecx, 0x216
idiv ecx
cmp dword [ebp - 0x10], eax
jb 0x49d611
call fcn.004fb0ce
xor edx, edx
jne 0x49d611
mov eax, dword [ebp - 0x10]
imul eax, eax, 0x216
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + eax + 8]
mov dword [ebp - 0x25c], edx
push 1
push 0x20100506
mov eax, dword [ebp - 0x25c]
push eax
mov ecx, dword [ebp - 0x258]
push ecx
call fcn.00497f80
add esp, 0x10
test eax, eax
jne 0x49d651
jmp 0x49d91a
mov edx, dword [ebp - 0x258]
mov dword [ebp - 0x34], edx
jmp 0x49d661
jmp 0x49d575
push str.__________1369_DisengageODMSupportFile____
call fcn.0047c040
add esp, 4
cmp dword [ebp - 0x34], 0
jne 0x49d679
jmp 0x49d91a
mov dword [ebp - 0x10], 0
jmp 0x49d68b
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
cdq
mov ecx, 0x216
idiv ecx
cmp dword [ebp - 0x10], eax
jae 0x49d817
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
cdq
mov ecx, 0x216
idiv ecx
cmp dword [ebp - 0x10], eax
jb 0x49d6ba
call fcn.004fb0ce
xor edx, edx
jne 0x49d6ba
mov eax, dword [ebp - 0x10]
imul eax, eax, 0x216
mov ecx, dword [ebp - 0x24]
cmp dword [eax + ecx], 1
je 0x49d812
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
cdq
mov ecx, 0x216
idiv ecx
cmp dword [ebp - 0x10], eax
jb 0x49d6ec
call fcn.004fb0ce
xor edx, edx
jne 0x49d6ec
mov eax, dword [ebp - 0x10]
imul eax, eax, 0x216
mov ecx, dword [ebp - 0x24]
cmp dword [eax + ecx], 0x64
je 0x49d812
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
cdq
mov ecx, 0x216
idiv ecx
cmp dword [ebp - 0x10], eax
jb 0x49d71e
call fcn.004fb0ce
xor edx, edx
jne 0x49d71e
mov eax, dword [ebp - 0x10]
imul eax, eax, 0x216
mov ecx, dword [ebp - 0x24]
cmp dword [eax + ecx], 2
je 0x49d812
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
cdq
mov ecx, 0x216
idiv ecx
cmp dword [ebp - 0x10], eax
jb 0x49d750
call fcn.004fb0ce
xor edx, edx
jne 0x49d750
mov eax, dword [ebp - 0x10]
imul eax, eax, 0x216
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + eax + 4], 0
je 0x49d812
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
cdq
mov ecx, 0x216
idiv ecx
cmp dword [ebp - 0x10], eax
jb 0x49d783
call fcn.004fb0ce
xor edx, edx
jne 0x49d783
mov eax, dword [ebp - 0x10]
imul eax, eax, 0x216
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + eax + 8], 0
je 0x49d812
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
cdq
mov ecx, 0x216
idiv ecx
cmp dword [ebp - 0x10], eax
jb 0x49d7b2
call fcn.004fb0ce
xor edx, edx
jne 0x49d7b2
mov eax, dword [ebp - 0x10]
imul eax, eax, 0x216
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x294], eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
cdq
mov ecx, 0x216
idiv ecx
cmp dword [ebp - 0x10], eax
jb 0x49d7e0
call fcn.004fb0ce
xor edx, edx
jne 0x49d7e0
push 0x20
mov eax, dword [ebp - 0x34]
add eax, 0x1e4
push eax
mov ecx, dword [ebp - 0x294]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x10]
imul eax, eax, 0x216
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + eax + 4]
push edx
call fcn.004a7200
add esp, 0x10
jmp 0x49d682
push str.__________1386_DisengageODMSupportFile____
call fcn.0047c040
add esp, 4
mov dword [ebp - 0x10], 0
jmp 0x49d836
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
cdq
mov ecx, 0x216
idiv ecx
cmp dword [ebp - 0x10], eax
jae 0x49d913
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
cdq
mov ecx, 0x216
idiv ecx
cmp dword [ebp - 0x10], eax
jb 0x49d865
call fcn.004fb0ce
xor edx, edx
jne 0x49d865
mov eax, dword [ebp - 0x10]
imul eax, eax, 0x216
mov ecx, dword [ebp - 0x24]
mov edx, dword [eax + ecx]
mov dword [ebp - 0x2a8], edx
cmp dword [ebp - 0x2a8], 2
je 0x49d88c
jmp 0x49d90e
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
cdq
mov ecx, 0x216
idiv ecx
cmp dword [ebp - 0x10], eax
jb 0x49d8a4
call fcn.004fb0ce
xor edx, edx
jne 0x49d8a4
mov eax, dword [ebp - 0x10]
imul eax, eax, 0x216
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x298], eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
cdq
mov ecx, 0x216
idiv ecx
cmp dword [ebp - 0x10], eax
jb 0x49d8d2
call fcn.004fb0ce
xor edx, edx
jne 0x49d8d2
mov eax, dword [ebp - 0x10]
imul eax, eax, 0x216
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x29c], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x298]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x29c]
mov edx, dword [ecx + 4]
push edx
call fcn.0049b4c0
add esp, 0xc
test eax, eax
jne 0x49d90e
jmp 0x49d91a
jmp 0x49d82d
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x10], 0
jmp 0x49d92c
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
cdq
mov ecx, 0x216
idiv ecx
cmp dword [ebp - 0x10], eax
jae 0x49da21
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
cdq
mov ecx, 0x216
idiv ecx
cmp dword [ebp - 0x10], eax
jb 0x49d95b
call fcn.004fb0ce
xor edx, edx
jne 0x49d95b
mov eax, dword [ebp - 0x10]
imul eax, eax, 0x216
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + eax + 4], 0
je 0x49d9a7
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
cdq
mov ecx, 0x216
idiv ecx
cmp dword [ebp - 0x10], eax
jb 0x49d98a
call fcn.004fb0ce
xor edx, edx
jne 0x49d98a
mov eax, dword [ebp - 0x10]
imul eax, eax, 0x216
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + eax + 4]
push edx
call fcn.004f84cf
add esp, 4
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
cdq
mov ecx, 0x216
idiv ecx
cmp dword [ebp - 0x10], eax
jb 0x49d9bf
call fcn.004fb0ce
xor edx, edx
jne 0x49d9bf
mov eax, dword [ebp - 0x10]
imul eax, eax, 0x216
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x2a0], eax
mov ecx, dword [ebp - 0x2a0]
add ecx, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x49da1c
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
cdq
mov ecx, 0x216
idiv ecx
cmp dword [ebp - 0x10], eax
jb 0x49da01
call fcn.004fb0ce
xor edx, edx
jne 0x49da01
mov eax, dword [ebp - 0x10]
imul eax, eax, 0x216
mov ecx, dword [ebp - 0x24]
lea edx, [ecx + eax + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x49d923
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x264], eax
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.004a06c0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x2a4], ecx
mov edx, dword [ebp - 0x2a4]
push edx
call fcn.004b3044
add esp, 4
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret