Function at 0x433200
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48662c
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1684
call fcn.00462080
mov eax, dword [0x4b7b70]
xor eax, esp
mov dword [esp + 0x1680], eax
push ebx
push esi
push edi
mov eax, dword [0x4b7b70]
xor eax, esp
push eax
lea eax, [esp + 0x1698]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x18]
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x54], ecx
mov ecx, 0x22b
lea edi, [esp + 0x31c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [esp + 0x38], eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], edx
movsb byte es:[edi], byte [esi]
call fcn.00435fd0
lea ecx, [esp + 0x14]
call fcn.00432a40
lea ecx, [esp + 0x3c]
mov dword [esp + 0x16a0], 0
call fcn.0043dc5e
push 0
push 0
push ebx
lea ecx, [esp + 0x48]
mov byte [esp + 0x16ac], 1
call fcn.0043e05b
test eax, eax
setne al
test al, al
jne 0x433334
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x2c], eax
push 3
lea eax, [esp + 0x88]
push ebx
lea ecx, [esp + 0x88]
mov dword [esp + 0x88], eax
call fcn.00417830
sub esp, 0x84
mov edi, esp
mov ecx, 0x21
lea esi, [esp + 0x104]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0xb0]
push ecx
push str.error_code__d__openfile__s_.
mov byte [esp + 0x172c], 2
call fcn.00424af0
mov eax, dword [esp + 0x10c]
lea edx, [esp + 0x110]
add esp, 0x8c
cmp eax, edx
je 0x433787
push eax
call fcn.00460675
jmp 0x433784
push 0x8af
lea eax, [esp + 0xbd0]
push eax
lea ecx, [esp + 0x44]
call fcn.0043d952
cmp eax, 0x8af
je 0x43336a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.error_code__d__read.
call fcn.00424af0
add esp, 8
jmp 0x433787
push 0x216
lea ecx, [esp + 0x108]
push 0
push ecx
call fcn.00460290
push 0x8af
call fcn.00460752
push 0x8af
mov ebx, eax
push 0
push ebx
call fcn.00460290
mov ecx, 0x22b
lea esi, [esp + 0x338]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push str.CDGOUT
push 0x20121015
push ebx
movsb byte es:[edi], byte [esi]
call fcn.0042e7e0
push 0x20121015
push 0x8af
push ebx
call fcn.0042e870
add esp, 0x34
test eax, eax
je 0x433787
lea edx, [esp + 0x104]
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x108], 1
mov dword [esp + 0x110], 0x8af
mov dword [esp + 0x10c], ebx
call fcn.00432e30
push 8
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x44]
call fcn.0043d952
cmp eax, 8
jne 0x4335a8
mov eax, dword [esp + 0x30]
cmp eax, 0x64
jne 0x43343c
mov ecx, dword [esp + 0x34]
push 1
push 0
push ecx
lea ecx, [esp + 0x48]
call fcn.0043d9e1
jmp 0x43358f
mov edx, dword [esp + 0x34]
mov dword [esp + 0x104], eax
lea eax, [esp + 0x104]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x110], edx
call fcn.00432e30
mov ecx, dword [esp + 0x30]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.0042f120
mov edi, eax
add esp, 8
cmp edi, 0xffffffff
je 0x43358f
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x34]
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4334a2
call fcn.0046274f
mov ecx, dword [esp + 0x20]
mov esi, edi
imul esi, esi, 0x216
lea edx, [esi + ecx]
push ebx
mov dword [esp + 0x30], edx
call fcn.00460752
mov ecx, dword [esp + 0x30]
mov dword [ecx + 4], eax
mov ecx, dword [esp + 0x28]
mov edx, ecx
sub edx, dword [esp + 0x24]
mov eax, 0x7aba01eb
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
add esp, 4
cmp edi, eax
jb 0x4334ed
call fcn.0046274f
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
cmp dword [esi + eax + 4], 0
je 0x43378b
sub ecx, eax
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x433518
call fcn.0046274f
mov edx, dword [esp + 0x20]
mov eax, dword [esi + edx + 4]
push ebx
push 0
push eax
call fcn.00460290
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x2c]
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add esp, 0xc
cmp edi, ecx
jb 0x43354e
call fcn.0046274f
mov edx, dword [esp + 0x20]
mov eax, dword [esi + edx + 4]
push ebx
push eax
lea ecx, [esp + 0x44]
call fcn.0043d952
cmp eax, ebx
jne 0x4335af
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x20]
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x433587
call fcn.0046274f
mov edx, dword [esp + 0x20]
mov dword [esi + edx + 8], ebx
push 8
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x44]
call fcn.0043d952
cmp eax, 8
je 0x43341c
push str.read_segment_file_end.
jmp 0x4335b4
push str.read_file_end.
call fcn.00424af0
add esp, 4
push 0x216
lea ecx, [esp + 0x108]
push 0
push ecx
call fcn.00460290
add esp, 0xc
push 0x100000
push 0
push 0
lea ecx, [esp + 0x64]
call fcn.0044e12f
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x54]
mov ebx, dword [esp + 0x38]
push 0
push 0
push 0
push 0
push 0
push edi
push esi
lea edx, [esp + 0x74]
push edx
push ebx
mov byte [esp + 0x16c4], 3
call fcn.0042bd60
add esp, 0x24
lea ecx, [esp + 0x58]
test eax, eax
je 0x433647
mov dword [esp + 0x104], 0x64
call fcn.0044e226
lea ecx, [esp + 0x58]
mov dword [esp + 0x10c], eax
call fcn.0044e18b
mov dword [esp + 0x108], eax
jmp 0x433721
call fcn.0044e18b
test eax, eax
je 0x433659
push eax
call fcn.00460675
add esp, 4
test esi, esi
je 0x433681
push edi
push 0
push 0xfffffffffffffffc
call esi
add esp, 0xc
test al, al
jne 0x433681
lea ecx, [esp + 0x58]
mov byte [esp + 0x16a0], 1
call fcn.0044e4c1
jmp 0x433787
xor ecx, ecx
push 0x208
push ecx
lea edx, [esp + 0x1486]
push edx
mov word [esp + 0x1488], cx
call fcn.00460290
push 0
push 0
push 0
push 0
push edi
push esi
lea eax, [esp + 0x14a0]
push eax
push ebx
call fcn.0042b700
add esp, 0x2c
test eax, eax
jne 0x4336d3
lea ecx, [esp + 0x58]
mov byte [esp + 0x16a0], 1
call fcn.0044e4c1
jmp 0x433787
test esi, esi
je 0x4336fb
push edi
push 0
push 0
call esi
add esp, 0xc
test al, al
jne 0x4336fb
lea ecx, [esp + 0x58]
mov byte [esp + 0x16a0], 1
call fcn.0044e4c1
jmp 0x433787
push 0x104
lea ecx, [esp + 0x1480]
push ecx
lea edx, [esp + 0x118]
push edx
mov dword [esp + 0x110], 0x64
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [esp + 0x104]
push eax
lea ecx, [esp + 0x18]
call fcn.00432e30
lea ecx, [esp + 0x58]
mov byte [esp + 0x16a0], 1
call fcn.0044e4c1
lea ecx, [esp + 0x3c]
call fcn.0043dbf8
push edi
push esi
lea ecx, [esp + 0x508]
push ecx
sub esp, 0x18
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
call fcn.00432aa0
mov eax, dword [esp + 0x74]
push eax
call fcn.00430970
add esp, 0x28
test eax, eax
jne 0x433787
push str.Error__UpdateODMFilePackage...
call fcn.00424af0
add esp, 4
mov ecx, dword [esp + 0x24]
mov edx, ecx
sub edx, dword [esp + 0x20]
mov eax, 0x7aba01eb
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
xor esi, esi
add eax, edx
je 0x433883
xor ebx, ebx
cmp esi, eax
jb 0x4337b9
call fcn.0046274f
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
cmp dword [ebx + edi + 4], 0
je 0x4337f9
sub ecx, edi
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp esi, ecx
jb 0x4337e4
call fcn.0046274f
mov edi, dword [esp + 0x20]
mov edx, dword [ebx + edi + 4]
push edx
call fcn.00460675
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 0x433819
call fcn.0046274f
mov edi, dword [esp + 0x20]
lea ecx, [ebx + edi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x433859
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 0x43384a
call fcn.0046274f
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 edx, ecx
sub edx, dword [esp + 0x20]
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 0x4337b9
lea ecx, [esp + 0x3c]
mov byte [esp + 0x16a0], 0
call fcn.0043dd39
mov eax, dword [esp + 0x20]
xor esi, esi
cmp eax, esi
je 0x4338a7
push eax
call fcn.0043d7ae
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.0043d7ae
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x1698]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1680]
xor ecx, esp
call fcn.00460f10
mov esp, ebp
pop ebp
ret