Function at 0x43bf20
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x49099b
mov eax, dword fs:[0]
push eax
sub esp, 0x244
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c2b20]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
push str.DisengageODMFileHeader_begin
call fcn.0042fa80
xor esi, esi
add esp, 4
mov dword [esp + 0x2c], esi
call fcn.0043dbf0
lea ecx, [esp + 0x14]
call fcn.00429040
mov dword [esp + 0x260], esi
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], 3
mov dword [esp + 0x3c], 4
xor edi, edi
nop
push 0x216
lea eax, [esp + 0x44]
push esi
push eax
call fcn.0046a930
mov ecx, dword [esp + edi*4 + 0x40]
add esp, 0xc
lea edx, [esp + 0x40]
mov dword [esp + 0x40], ecx
push edx
lea ecx, [esp + 0x18]
call fcn.0043b2c0
inc edi
cmp edi, 3
jb 0x43bf90
mov ecx, dword [esp + 0x268]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.00439ab0
add esp, 8
test eax, eax
jne 0x43c015
push esi
push esi
push str.error_LoadFileRes
call fcn.00451bdf
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x43bff5
push eax
call fcn.00447e1e
add esp, 4
mov edx, dword [esp + 0x14]
push edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call fcn.00447e1e
add esp, 4
xor eax, eax
jmp 0x43c50d
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov ecx, ebp
sub ecx, ebx
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
xor edi, edi
add eax, edx
je 0x43c0ef
cmp edi, eax
jb 0x43c04b
call fcn.0046cdef
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov ecx, ebp
sub ecx, ebx
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esi + ebx], 1
je 0x43c084
inc edi
add esi, 0x216
cmp edi, eax
jb 0x43c04b
xor esi, esi
push esi
push esi
push str._pODMHeader
call fcn.00451bdf
jmp 0x43c3e3
cmp edi, eax
jb 0x43c095
call fcn.0046cdef
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
sub ebp, ebx
mov eax, 0x7aba01eb
imul ebp
mov esi, edi
imul esi, esi, 0x216
mov ecx, dword [esi + ebx + 4]
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x30], ecx
cmp edi, eax
jb 0x43c0c5
call fcn.0046cdef
mov ebx, dword [esp + 0x20]
mov esi, dword [esi + ebx + 8]
mov ecx, dword [esp + 0x30]
push 1
push 0x20100506
push esi
push ecx
call fcn.004387a0
add esp, 0x10
test eax, eax
je 0x43c3e1
cmp dword [esp + 0x30], 0
jne 0x43c100
xor esi, esi
push esi
push esi
push str._pODMHeader
call fcn.00451bdf
jmp 0x43c3e3
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov ecx, ebp
sub ecx, ebx
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
xor edi, edi
add eax, edx
je 0x43c26b
xor esi, esi
cmp edi, eax
jb 0x43c138
call fcn.0046cdef
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
cmp dword [esi + ebx], 1
je 0x43c247
mov ecx, ebp
sub ecx, ebx
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x43c168
call fcn.0046cdef
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
cmp dword [esi + ebx], 0x64
je 0x43c247
mov ecx, ebp
sub ecx, ebx
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x43c198
call fcn.0046cdef
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
cmp dword [esi + ebx + 4], 0
je 0x43c247
mov ecx, ebp
sub ecx, ebx
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x43c1c9
call fcn.0046cdef
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
cmp dword [esi + ebx + 8], 0
je 0x43c247
mov ecx, ebp
sub ecx, ebx
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x43c1f6
call fcn.0046cdef
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
lea edx, [esi + ebx]
sub ebp, ebx
mov dword [esp + 0x2c], edx
mov eax, 0x7aba01eb
imul ebp
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x43c21d
call fcn.0046cdef
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 8]
push 0x20
add ecx, 0x1e4
push ecx
mov ecx, dword [esi + ebx + 4]
push eax
push ecx
call fcn.0043eed0
mov ebp, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
add esp, 0x10
mov ecx, ebp
sub ecx, ebx
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
add esi, 0x216
cmp edi, eax
jb 0x43c138
mov ecx, ebp
sub ecx, ebx
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
xor edi, edi
add eax, edx
je 0x43c3c1
xor esi, esi
cmp edi, eax
jb 0x43c29b
call fcn.0046cdef
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov eax, dword [esi + ebx]
sub eax, 3
je 0x43c320
sub eax, 1
jne 0x43c39d
mov ecx, ebp
sub ecx, ebx
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x43c2d2
call fcn.0046cdef
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
sub ebp, ebx
mov eax, 0x7aba01eb
imul ebp
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [esi + ebx]
mov dword [esp + 0x2c], ecx
cmp edi, eax
jb 0x43c2f9
call fcn.0046cdef
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x274]
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x6aa]
push ecx
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 8]
push eax
mov eax, dword [esi + ebx + 4]
push edx
push eax
call fcn.0043b5b0
jmp 0x43c392
mov ecx, ebp
sub ecx, ebx
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x43c346
call fcn.0046cdef
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
lea edx, [esi + ebx]
sub ebp, ebx
mov dword [esp + 0x2c], edx
mov eax, 0x7aba01eb
imul ebp
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x43c36d
call fcn.0046cdef
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x270]
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x6a6]
push ecx
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 8]
push eax
mov eax, dword [esi + ebx + 4]
push edx
push eax
call fcn.0043b4d0
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
add esp, 0x10
mov ecx, ebp
sub ecx, ebx
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
add esi, 0x216
cmp edi, eax
jb 0x43c29b
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x26c]
mov ecx, 0x22b
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [esp + 0x2c], 1
xor esi, esi
jmp 0x43c3eb
xor esi, esi
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov ecx, ebp
sub ecx, ebx
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
xor edi, edi
add eax, edx
je 0x43c4e3
cmp edi, eax
jb 0x43c419
call fcn.0046cdef
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
cmp dword [esi + ebx + 4], 0
je 0x43c455
sub ebp, ebx
mov eax, 0x7aba01eb
imul ebp
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x43c440
call fcn.0046cdef
mov ebx, dword [esp + 0x20]
mov edx, dword [esi + ebx + 4]
push edx
call fcn.0046ad15
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
add esp, 4
sub ebp, ebx
mov eax, 0x7aba01eb
imul ebp
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x43c475
call fcn.0046cdef
mov ebx, dword [esp + 0x20]
lea ecx, [esi + ebx + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x43c4b5
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 edi, eax
jb 0x43c4a6
call fcn.0046cdef
mov ecx, dword [esp + 0x20]
lea edx, [esi + ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov ecx, ebp
sub ecx, ebx
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
add esi, 0x216
cmp edi, eax
jb 0x43c419
xor esi, esi
cmp ebx, esi
je 0x43c4f0
push ebx
call fcn.00447e1e
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.00447e1e
mov eax, dword [esp + 0x30]
add esp, 4
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x250
ret