Function at 0x433640
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4862f1
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1434
call fcn.00461df0
mov eax, dword [0x4b7b70]
xor eax, esp
mov dword [esp + 0x1430], eax
push ebx
push esi
push edi
mov eax, dword [0x4b7b70]
xor eax, esp
push eax
lea eax, [esp + 0x1448]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov ecx, 0x22b
lea edi, [esp + 0x2dc]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [esp + 0x10], ebx
movsb byte es:[edi], byte [esi]
call fcn.00435d40
lea ecx, [esp + 0x14]
call fcn.0041d890
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1450], 0
call fcn.0043d9ce
push 0
push 0
push ebx
lea ecx, [esp + 0x38]
mov byte [esp + 0x145c], 1
call fcn.0043ddcb
test eax, eax
setne al
test al, al
jne 0x433756
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
push 3
lea eax, [esp + 0x48]
push ebx
lea ecx, [esp + 0x48]
mov dword [esp + 0x48], eax
call fcn.00417850
sub esp, 0x84
mov edi, esp
mov ecx, 0x21
lea esi, [esp + 0xc4]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x94]
push ecx
push str.error_code__d__openfile__s_.
mov byte [esp + 0x14dc], 2
call fcn.00424900
mov eax, dword [esp + 0xcc]
lea edx, [esp + 0xd0]
add esp, 0x8c
cmp eax, edx
je 0x433863
push eax
call fcn.004603e5
jmp 0x433860
push 0x8af
lea eax, [esp + 0xb90]
push eax
lea ecx, [esp + 0x34]
call fcn.0043d6c2
cmp eax, 0x8af
je 0x43378c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.error_code__d__read.
call fcn.00424900
add esp, 8
jmp 0x433863
push 0x216
lea ecx, [esp + 0xc8]
push 0
push ecx
call fcn.00460000
push 0x8af
call fcn.004604c2
push 0x8af
mov ebx, eax
push 0
push ebx
call fcn.00460000
mov ecx, 0x22b
lea esi, [esp + 0x2f8]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x49391c
push 0x20121015
push ebx
movsb byte es:[edi], byte [esi]
call fcn.0042e320
push 0x20121015
push 0x8af
push ebx
call fcn.0042e3b0
add esp, 0x34
test eax, eax
je 0x433863
lea edx, [esp + 0xc4]
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0xc8], 1
mov dword [esp + 0xd0], 0x8af
mov dword [esp + 0xcc], ebx
call fcn.00432b80
lea ecx, [esp + 0x2c]
call fcn.0043d968
lea eax, [esp + 0x4c0]
push eax
sub esp, 0x18
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x58], esp
push edx
call fcn.004327f0
mov eax, dword [esp + 0x2c]
push eax
call fcn.00430460
add esp, 0x20
test eax, eax
jne 0x433863
push str.Error__UpdateODMFilePackage...
call fcn.00424900
add esp, 4
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
mov edx, ecx
sub edx, edi
mov eax, 0x7aba01eb
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
xor esi, esi
add eax, edx
je 0x433963
xor ebx, ebx
cmp esi, eax
jb 0x43389b
call fcn.004624bf
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
cmp dword [ebx + edi + 4], 0
je 0x4338d7
sub ecx, edi
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp esi, ecx
jb 0x4338c2
call fcn.004624bf
mov edi, dword [esp + 0x20]
mov edx, dword [ebx + edi + 4]
push edx
call fcn.004603e5
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
add esp, 4
sub ecx, edi
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x4338f7
call fcn.004624bf
mov edi, dword [esp + 0x20]
lea ecx, [ebx + edi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x433937
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x20]
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x433928
call fcn.004624bf
mov ecx, dword [esp + 0x20]
lea edx, [ebx + ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
mov edx, ecx
sub edx, edi
mov eax, 0x7aba01eb
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
add ebx, 0x216
cmp esi, eax
jb 0x43389b
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1450], 0
call fcn.0043daa9
mov eax, dword [esp + 0x20]
xor esi, esi
cmp eax, esi
je 0x433987
push eax
call fcn.0043d529
add esp, 4
mov eax, dword [esp + 0x14]
push eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call fcn.0043d529
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x1448]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1430]
xor ecx, esp
call fcn.00460c80
mov esp, ebp
pop ebp
ret