Function at 0x4343e0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x489de7
mov eax, dword fs:[0]
push eax
sub esp, 0x960
mov eax, dword [0x4bdbb0]
xor eax, esp
mov dword [esp + 0x95c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bdbb0]
xor eax, esp
push eax
lea eax, [esp + 0x974]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x984]
mov ebp, dword [esp + 0x988]
push 3
lea eax, [esp + 0x44]
xor esi, esi
push ebx
lea ecx, [esp + 0x44]
mov dword [esp + 0x24], esi
mov dword [esp + 0x44], eax
call fcn.004170e0
mov dword [esp + 0x97c], esi
sub esp, 0x84
mov edi, esp
mov ecx, 0x21
lea esi, [esp + 0xc0]
push str.ReadOMDFileHeaderAndData__s_
rep movsd dword es:[edi], dword [esi]
call fcn.00427230
mov eax, dword [esp + 0xc4]
or edi, 0xffffffff
lea ecx, [esp + 0xc8]
add esp, 0x88
mov dword [esp + 0x97c], edi
cmp eax, ecx
je 0x434495
push eax
call fcn.00463c35
add esp, 4
push ebx
lea ecx, [esp + 0x18]
call fcn.00411f40
mov dword [esp + 0x97c], 1
call fcn.00449852
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4344c4
push 0x80004005
call fcn.004108b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push 2
push 0x499630
lea ecx, [esp + 0x20]
mov byte [esp + 0x984], 2
call fcn.00411490
mov esi, dword [esp + 0x18]
push esi
push ebx
call fcn.00466169
add esp, 8
test eax, eax
jne 0x43450d
push esi
push 0x4a2058
lea ecx, [esp + 0x1c]
call fcn.00415190
lea ecx, [esp + 0x20]
call fcn.004411de
mov edx, dword [esp + 0x14]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
mov byte [esp + 0x97c], 3
or ecx, eax
jge 0x434540
push 0
lea ecx, [esp + 0x18]
call fcn.00411040
mov edx, dword [esp + 0x14]
push 0
push 0
push edx
lea ecx, [esp + 0x2c]
call fcn.004415db
test eax, eax
setne al
test al, al
jne 0x434630
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x40]
push 3
mov dword [esp + 0x40], ecx
push edx
lea ecx, [esp + 0x44]
mov ebx, eax
call fcn.004170e0
sub esp, 0x84
mov edi, esp
push ebx
mov ecx, 0x21
lea esi, [esp + 0xc4]
push str.error_code__d__openfile__s_.
mov byte [esp + 0xa08], 4
rep movsd dword es:[edi], dword [esi]
call fcn.00427230
mov eax, dword [esp + 0xc8]
lea ecx, [esp + 0xcc]
add esp, 0x8c
cmp eax, ecx
je 0x4345c5
push eax
call fcn.00463c35
add esp, 4
lea ecx, [esp + 0x20]
mov byte [esp + 0x97c], 2
call fcn.004412b9
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x97c], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4345fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x97c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x434629
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x434ae7
push 0x8af
lea ecx, [esp + 0xc4]
push ecx
lea ecx, [esp + 0x28]
call fcn.00440ed2
cmp eax, 0x8af
je 0x4346b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.error_code__d__read.
call fcn.00427230
add esp, 8
lea ecx, [esp + 0x20]
mov byte [esp + 0x97c], 2
call fcn.004412b9
lea eax, [esi - 0x10]
mov byte [esp + 0x97c], 1
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x434695
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x97c], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jmp 0x43461d
push 1
push ebp
call fcn.00432370
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov esi, eax
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add esp, 8
cmp esi, ecx
jb 0x4346df
call fcn.00465d0f
mov ebx, dword [ebp + 0xc]
mov edi, esi
imul edi, edi, 0x216
push 0x8af
add ebx, edi
call fcn.00463d12
mov dword [ebx + 4], eax
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
add esp, 4
cmp esi, eax
jb 0x43471c
call fcn.00465d0f
mov eax, dword [ebp + 0xc]
cmp dword [edi + eax + 4], 0
je 0x434905
push 0x8af
push 0
push esi
mov ecx, ebp
call fcn.00432270
mov ecx, dword [eax + 4]
push ecx
call fcn.00463850
add esp, 0xc
push 0x8af
lea edx, [esp + 0xc4]
push edx
push esi
mov ecx, ebp
call fcn.00432270
mov eax, dword [eax + 4]
push eax
call fcn.004638d0
add esp, 0xc
push esi
mov ecx, ebp
call fcn.00432270
push 8
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x28]
mov dword [eax + 8], 0x8af
mov dword [esp + 0x24], 1
call fcn.00440ed2
cmp eax, 8
jne 0x4348e3
mov eax, dword [esp + 0x34]
cmp eax, 0x64
jne 0x4347b6
mov edx, dword [esp + 0x38]
push 1
push 0
push edx
lea ecx, [esp + 0x2c]
call fcn.00440f61
jmp 0x4348ca
push eax
push ebp
call fcn.00432370
mov edi, eax
add esp, 8
cmp edi, 0xffffffff
jne 0x4347de
mov eax, dword [esp + 0x38]
push 1
push 0
push eax
lea ecx, [esp + 0x2c]
call fcn.00440f61
jmp 0x4348ca
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x434806
call fcn.00465d0f
mov ecx, dword [esp + 0x30]
mov ebx, dword [ebp + 0xc]
mov esi, edi
imul esi, esi, 0x216
push ecx
add ebx, esi
call fcn.00463d12
mov dword [ebx + 4], eax
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
add esp, 4
cmp edi, eax
jb 0x434843
call fcn.00465d0f
mov eax, dword [ebp + 0xc]
cmp dword [esi + eax + 4], 0
je 0x434a79
mov ecx, dword [ebp + 0x10]
sub ecx, eax
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x434870
call fcn.00465d0f
mov ebx, dword [esp + 0x30]
mov edx, dword [ebp + 0xc]
mov eax, dword [esi + edx + 4]
push ebx
push 0
push eax
call fcn.00463850
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add esp, 0xc
cmp edi, ecx
jb 0x4348a7
call fcn.00465d0f
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + esi + 4]
add eax, esi
push ebx
push edx
lea ecx, [esp + 0x28]
call fcn.00440ed2
cmp eax, ebx
jne 0x4348ea
push edi
mov ecx, ebp
call fcn.00432270
mov dword [eax + 8], ebx
push 8
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x28]
call fcn.00440ed2
cmp eax, 8
je 0x434796
push str.read_segment_file_end.
jmp 0x4348ef
push str.read_file_end.
call fcn.00427230
add esp, 4
lea ecx, [esp + 0x20]
call fcn.00441178
jmp 0x434a79
mov ecx, dword [ebp + 0x10]
sub ecx, eax
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
xor esi, esi
add eax, edx
je 0x434a79
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor edi, edi
cmp esi, eax
jb 0x434934
call fcn.00465d0f
mov eax, dword [ebp + 0xc]
cmp dword [edi + eax + 4], 0
je 0x43496d
mov ecx, dword [ebp + 0x10]
sub ecx, eax
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp esi, ecx
jb 0x43495d
call fcn.00465d0f
mov edx, dword [ebp + 0xc]
mov eax, dword [edi + edx + 4]
push eax
call fcn.00463c35
add esp, 4
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp esi, ecx
jb 0x43498d
call fcn.00465d0f
mov eax, dword [ebp + 0xc]
add eax, edi
add eax, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x4349ce
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x4349c0
call fcn.00465d0f
mov ecx, dword [ebp + 0xc]
lea edx, [edi + ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x4349ee
call fcn.00465d0f
mov ecx, dword [ebp + 0xc]
push 0x4a24b0
lea edx, [edi + ecx + 0xc]
push edx
call ebx
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x434a1d
call fcn.00465d0f
mov ecx, dword [ebp + 0xc]
mov dword [edi + ecx + 4], 0
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x434a48
call fcn.00465d0f
mov ecx, dword [ebp + 0xc]
mov dword [edi + ecx + 8], 0
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
add edi, 0x216
cmp esi, eax
jb 0x434934
cmp dword [esp + 0x1c], 0
lea ecx, [esp + 0x20]
setne bl
mov byte [esp + 0x97c], 2
call fcn.004412b9
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x97c], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x434aba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x97c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x434ae5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [esp + 0x974]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x95c]
xor ecx, esp
call fcn.004644d0
add esp, 0x96c
ret