Function at 0x432f50
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48629c
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1684
call fcn.00461df0
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.00435d40
lea ecx, [esp + 0x14]
call fcn.0041d890
lea ecx, [esp + 0x3c]
mov dword [esp + 0x16a0], 0
call fcn.0043d9ce
push 0
push 0
push ebx
lea ecx, [esp + 0x48]
mov byte [esp + 0x16ac], 1
call fcn.0043ddcb
test eax, eax
setne al
test al, al
jne 0x433084
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.00417850
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.00424900
mov eax, dword [esp + 0x10c]
lea edx, [esp + 0x110]
add esp, 0x8c
cmp eax, edx
je 0x4334d7
push eax
call fcn.004603e5
jmp 0x4334d4
push 0x8af
lea eax, [esp + 0xbd0]
push eax
lea ecx, [esp + 0x44]
call fcn.0043d6c2
cmp eax, 0x8af
je 0x4330ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.error_code__d__read.
call fcn.00424900
add esp, 8
jmp 0x4334d7
push 0x216
lea ecx, [esp + 0x108]
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 + 0x338]
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 0x4334d7
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.00432b80
push 8
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x44]
call fcn.0043d6c2
cmp eax, 8
jne 0x4332f8
mov eax, dword [esp + 0x30]
cmp eax, 0x64
jne 0x43318c
mov ecx, dword [esp + 0x34]
push 1
push 0
push ecx
lea ecx, [esp + 0x48]
call fcn.0043d751
jmp 0x4332df
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.00432b80
mov ecx, dword [esp + 0x30]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.0042ee10
mov edi, eax
add esp, 8
cmp edi, 0xffffffff
je 0x4332df
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 0x4331f2
call fcn.004624bf
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.004604c2
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 0x43323d
call fcn.004624bf
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
cmp dword [esi + eax + 4], 0
je 0x4334db
sub ecx, eax
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x433268
call fcn.004624bf
mov edx, dword [esp + 0x20]
mov eax, dword [esi + edx + 4]
push ebx
push 0
push eax
call fcn.00460000
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 0x43329e
call fcn.004624bf
mov edx, dword [esp + 0x20]
mov eax, dword [esi + edx + 4]
push ebx
push eax
lea ecx, [esp + 0x44]
call fcn.0043d6c2
cmp eax, ebx
jne 0x4332ff
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 0x4332d7
call fcn.004624bf
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.0043d6c2
cmp eax, 8
je 0x43316c
push str.read_segment_file_end.
jmp 0x433304
push str.read_file_end.
call fcn.00424900
add esp, 4
push 0x216
lea ecx, [esp + 0x108]
push 0
push ecx
call fcn.00460000
add esp, 0xc
push 0x100000
push 0
push 0
lea ecx, [esp + 0x64]
call fcn.0044dd17
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.0042b9e0
add esp, 0x24
lea ecx, [esp + 0x58]
test eax, eax
je 0x433397
mov dword [esp + 0x104], 0x64
call fcn.0044de0e
lea ecx, [esp + 0x58]
mov dword [esp + 0x10c], eax
call fcn.0044dd73
mov dword [esp + 0x108], eax
jmp 0x433471
call fcn.0044dd73
test eax, eax
je 0x4333a9
push eax
call fcn.004603e5
add esp, 4
test esi, esi
je 0x4333d1
push edi
push 0
push 0xfffffffffffffffc
call esi
add esp, 0xc
test al, al
jne 0x4333d1
lea ecx, [esp + 0x58]
mov byte [esp + 0x16a0], 1
call fcn.0044e0a9
jmp 0x4334d7
xor ecx, ecx
push 0x208
push ecx
lea edx, [esp + 0x1486]
push edx
mov word [esp + 0x1488], cx
call fcn.00460000
push 0
push 0
push 0
push 0
push edi
push esi
lea eax, [esp + 0x14a0]
push eax
push ebx
call fcn.0042b460
add esp, 0x2c
test eax, eax
jne 0x433423
lea ecx, [esp + 0x58]
mov byte [esp + 0x16a0], 1
call fcn.0044e0a9
jmp 0x4334d7
test esi, esi
je 0x43344b
push edi
push 0
push 0
call esi
add esp, 0xc
test al, al
jne 0x43344b
lea ecx, [esp + 0x58]
mov byte [esp + 0x16a0], 1
call fcn.0044e0a9
jmp 0x4334d7
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.00432b80
lea ecx, [esp + 0x58]
mov byte [esp + 0x16a0], 1
call fcn.0044e0a9
lea ecx, [esp + 0x3c]
call fcn.0043d968
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.004327f0
mov eax, dword [esp + 0x74]
push eax
call fcn.004306a0
add esp, 0x28
test eax, eax
jne 0x4334d7
push str.Error__UpdateODMFilePackage...
call fcn.00424900
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 0x4335d3
xor ebx, ebx
cmp esi, eax
jb 0x433509
call fcn.004624bf
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
cmp dword [ebx + edi + 4], 0
je 0x433549
sub ecx, edi
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp esi, ecx
jb 0x433534
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 0x433569
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 0x4335a9
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 0x43359a
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 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 0x433509
lea ecx, [esp + 0x3c]
mov byte [esp + 0x16a0], 0
call fcn.0043daa9
mov eax, dword [esp + 0x20]
xor esi, esi
cmp eax, esi
je 0x4335f7
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 + 0x1698]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1680]
xor ecx, esp
call fcn.00460c80
mov esp, ebp
pop ebp
ret