Function at 0x430f00
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x486107
mov eax, dword fs:[0]
push eax
sub esp, 0x960
mov eax, dword [0x4b7b70]
xor eax, esp
mov dword [esp + 0x95c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b7b70]
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.00417850
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.00424900
mov eax, dword [esp + 0xc4]
or edi, 0xffffffff
lea ecx, [esp + 0xc8]
add esp, 0x88
mov dword [esp + 0x97c], edi
cmp eax, ecx
je 0x430fb5
push eax
call fcn.004603e5
add esp, 4
push ebx
lea ecx, [esp + 0x18]
call fcn.00411f70
mov dword [esp + 0x97c], 1
call fcn.0044602e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x430fe4
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 0x493830
lea ecx, [esp + 0x20]
mov byte [esp + 0x984], 2
call fcn.004114c0
mov esi, dword [esp + 0x18]
push esi
push ebx
call fcn.00462919
add esp, 8
test eax, eax
jne 0x43102d
push esi
push 0x49bc48
lea ecx, [esp + 0x1c]
call fcn.004151d0
lea ecx, [esp + 0x20]
call fcn.0043d9ce
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 0x431060
push 0
lea ecx, [esp + 0x18]
call fcn.00411010
mov edx, dword [esp + 0x14]
push 0
push 0
push edx
lea ecx, [esp + 0x2c]
call fcn.0043ddcb
test eax, eax
setne al
test al, al
jne 0x431150
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.00417850
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.00424900
mov eax, dword [esp + 0xc8]
lea ecx, [esp + 0xcc]
add esp, 0x8c
cmp eax, ecx
je 0x4310e5
push eax
call fcn.004603e5
add esp, 4
lea ecx, [esp + 0x20]
mov byte [esp + 0x97c], 2
call fcn.0043daa9
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 0x43111e
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 0x431149
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x431607
push 0x8af
lea ecx, [esp + 0xc4]
push ecx
lea ecx, [esp + 0x28]
call fcn.0043d6c2
cmp eax, 0x8af
je 0x4311d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.error_code__d__read.
call fcn.00424900
add esp, 8
lea ecx, [esp + 0x20]
mov byte [esp + 0x97c], 2
call fcn.0043daa9
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 0x4311b5
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 0x43113d
push 1
push ebp
call fcn.0042ee10
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 0x4311ff
call fcn.004624bf
mov ebx, dword [ebp + 0xc]
mov edi, esi
imul edi, edi, 0x216
push 0x8af
add ebx, edi
call fcn.004604c2
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 0x43123c
call fcn.004624bf
mov eax, dword [ebp + 0xc]
cmp dword [edi + eax + 4], 0
je 0x431425
push 0x8af
push 0
push esi
mov ecx, ebp
call fcn.0042ed10
mov ecx, dword [eax + 4]
push ecx
call fcn.00460000
add esp, 0xc
push 0x8af
lea edx, [esp + 0xc4]
push edx
push esi
mov ecx, ebp
call fcn.0042ed10
mov eax, dword [eax + 4]
push eax
call fcn.00460080
add esp, 0xc
push esi
mov ecx, ebp
call fcn.0042ed10
push 8
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x28]
mov dword [eax + 8], 0x8af
mov dword [esp + 0x24], 1
call fcn.0043d6c2
cmp eax, 8
jne 0x431403
mov eax, dword [esp + 0x34]
cmp eax, 0x64
jne 0x4312d6
mov edx, dword [esp + 0x38]
push 1
push 0
push edx
lea ecx, [esp + 0x2c]
call fcn.0043d751
jmp 0x4313ea
push eax
push ebp
call fcn.0042ee10
mov edi, eax
add esp, 8
cmp edi, 0xffffffff
jne 0x4312fe
mov eax, dword [esp + 0x38]
push 1
push 0
push eax
lea ecx, [esp + 0x2c]
call fcn.0043d751
jmp 0x4313ea
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 0x431326
call fcn.004624bf
mov ecx, dword [esp + 0x30]
mov ebx, dword [ebp + 0xc]
mov esi, edi
imul esi, esi, 0x216
push ecx
add ebx, esi
call fcn.004604c2
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 0x431363
call fcn.004624bf
mov eax, dword [ebp + 0xc]
cmp dword [esi + eax + 4], 0
je 0x431599
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 0x431390
call fcn.004624bf
mov ebx, dword [esp + 0x30]
mov edx, dword [ebp + 0xc]
mov eax, dword [esi + edx + 4]
push ebx
push 0
push eax
call fcn.00460000
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 0x4313c7
call fcn.004624bf
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + esi + 4]
add eax, esi
push ebx
push edx
lea ecx, [esp + 0x28]
call fcn.0043d6c2
cmp eax, ebx
jne 0x43140a
push edi
mov ecx, ebp
call fcn.0042ed10
mov dword [eax + 8], ebx
push 8
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x28]
call fcn.0043d6c2
cmp eax, 8
je 0x4312b6
push str.read_segment_file_end.
jmp 0x43140f
push str.read_file_end.
call fcn.00424900
add esp, 4
lea ecx, [esp + 0x20]
call fcn.0043d968
jmp 0x431599
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 0x431599
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor edi, edi
cmp esi, eax
jb 0x431454
call fcn.004624bf
mov eax, dword [ebp + 0xc]
cmp dword [edi + eax + 4], 0
je 0x43148d
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 0x43147d
call fcn.004624bf
mov edx, dword [ebp + 0xc]
mov eax, dword [edi + edx + 4]
push eax
call fcn.004603e5
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 0x4314ad
call fcn.004624bf
mov eax, dword [ebp + 0xc]
add eax, edi
add eax, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x4314ee
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 0x4314e0
call fcn.004624bf
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 0x43150e
call fcn.004624bf
mov ecx, dword [ebp + 0xc]
push 0x49c0a0
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 0x43153d
call fcn.004624bf
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 0x431568
call fcn.004624bf
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 0x431454
cmp dword [esp + 0x1c], 0
lea ecx, [esp + 0x20]
setne bl
mov byte [esp + 0x97c], 2
call fcn.0043daa9
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 0x4315da
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 0x431605
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.00460c80
add esp, 0x96c
ret