Function at 0x42bf79
Capabilities:
Delete file
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f494e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc5c
mov dword [ebp - 0xc64], ecx
lea ecx, [ebp - 0x20]
call fcn.004de760
mov dword [ebp - 4], 0
mov dword [ebp - 0x82c], 0
push 0x800
call fcn.004b9b1e
add esp, 4
mov dword [ebp - 0x82c], eax
cmp dword [ebp - 0x82c], 0
jne 0x42c00d
push 0
push 0x51db34
push str.Cant_allocate_memory_to_generate_DriveSetting_Table_binary_file
mov ecx, dword [ebp - 0xc64]
call fcn.004db06e
mov dword [ebp - 0xc54], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004de855
mov eax, dword [ebp - 0xc54]
jmp 0x42ce16
push 0x800
push 0
mov eax, dword [ebp - 0x82c]
push eax
call fcn.004b9030
add esp, 0xc
push 0x800
push 0
lea ecx, [ebp - 0x820]
push ecx
call fcn.004b9030
add esp, 0xc
push 8
push 0
lea edx, [ebp - 0x828]
push edx
call fcn.004b9030
add esp, 0xc
mov dword [ebp - 0xa40], 0
jmp 0x42c067
mov eax, dword [ebp - 0xa40]
add eax, 1
mov dword [ebp - 0xa40], eax
cmp dword [ebp - 0xa40], 6
jge 0x42c092
mov ecx, dword [ebp - 0xa40]
mov edx, dword [ebp - 0xa40]
mov eax, dword [ebp - 0xc64]
mov dl, byte [eax + edx*4 + 0xd6]
mov byte [ebp + ecx - 0x828], dl
jmp 0x42c058
mov eax, dword [ebp - 0x82c]
mov dword [ebp - 0x10], eax
cmp dword [0x53beb0], 0
je 0x42c0af
mov ecx, dword [ebp - 0x10]
mov dword [ecx], 0
jmp 0x42c0c3
mov edx, dword [ebp - 0xc64]
xor eax, eax
mov ax, word [edx + 0x11e88]
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], 2
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], 0
mov dword [ebp - 0x830], 0
mov ecx, dword [ebp - 0xc64]
cmp dword [ecx + 0x11a14], 0
je 0x42c135
mov edx, dword [ebp - 0x830]
or edx, 0x80000000
mov dword [ebp - 0x830], edx
mov eax, dword [ebp - 0xc64]
cmp dword [eax + 0x11a18], 0
je 0x42c135
mov ecx, dword [ebp - 0xc64]
mov ecx, dword [ecx + 0x11a18]
sub ecx, 1
mov edx, 1
shl edx, cl
mov eax, dword [ebp - 0x830]
or eax, edx
mov dword [ebp - 0x830], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x830]
mov dword [ecx + 0xc], edx
mov dword [ebp - 0x830], 0
mov eax, dword [ebp - 0xc64]
cmp dword [eax + 0x11a1c], 0
je 0x42c19f
mov ecx, dword [ebp - 0x830]
or ecx, 0x80000000
mov dword [ebp - 0x830], ecx
mov edx, dword [ebp - 0xc64]
cmp dword [edx + 0x11a20], 0
je 0x42c19f
mov eax, dword [ebp - 0xc64]
mov ecx, dword [eax + 0x11a20]
sub ecx, 1
mov edx, 1
shl edx, cl
mov eax, dword [ebp - 0x830]
or eax, edx
mov dword [ebp - 0x830], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x830]
mov dword [ecx + 0x10], edx
cmp dword [0x53bf0c], 0
je 0x42c1de
mov eax, dword [ebp - 0xc64]
cmp dword [eax + 0x117e4], 0
je 0x42c1de
mov ecx, dword [ebp - 0xc64]
cmp dword [ecx + 0x117e8], 0
jne 0x42c1de
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x14], 0
jmp 0x42c1f0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc64]
mov edx, dword [ecx + 0x11ab8]
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 0xc64]
xor ecx, ecx
mov cl, byte [eax + 0x11784]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc64]
mov edx, dword [ecx + 0x11a24]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x20], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x24], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x28], 0
mov eax, dword [ebp - 0xc64]
cmp dword [eax + 0x119d4], 0
je 0x42c437
mov dword [ebp - 0xa40], 0
jmp 0x42c262
mov ecx, dword [ebp - 0xa40]
add ecx, 1
mov dword [ebp - 0xa40], ecx
cmp dword [ebp - 0xa40], 4
jge 0x42c29e
mov edx, dword [ebp - 0xa40]
mov eax, dword [ebp - 0xc64]
cmp dword [eax + edx*4 + 0x119d8], 0
je 0x42c29c
mov edx, 1
mov ecx, dword [ebp - 0xa40]
shl edx, cl
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x24]
or ecx, edx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x24], ecx
jmp 0x42c253
mov dword [ebp - 0x830], 0
mov dword [ebp - 0xa40], 0
jmp 0x42c2c3
mov eax, dword [ebp - 0xa40]
add eax, 1
mov dword [ebp - 0xa40], eax
cmp dword [ebp - 0xa40], 8
jge 0x42c2ff
mov ecx, dword [ebp - 0xa40]
mov edx, dword [ebp - 0xc64]
cmp dword [edx + ecx*4 + 0x119e8], 0
je 0x42c2fd
mov eax, 1
mov ecx, dword [ebp - 0xa40]
shl eax, cl
mov ecx, dword [ebp - 0x830]
or ecx, eax
mov dword [ebp - 0x830], ecx
jmp 0x42c2b4
mov dword [ebp - 0xa40], 0
jmp 0x42c31a
mov edx, dword [ebp - 0xa40]
add edx, 1
mov dword [ebp - 0xa40], edx
cmp dword [ebp - 0xa40], 4
jge 0x42c350
mov eax, dword [ebp - 0xa40]
mov ecx, dword [ebp - 0xc64]
cmp dword [ecx + eax*4 + 0x119d8], 0
je 0x42c34e
mov edx, dword [ebp - 0x82c]
add edx, dword [ebp - 0xa40]
mov al, byte [ebp - 0x830]
mov byte [edx + 0x28], al
jmp 0x42c30b
mov dword [ebp - 0xa44], 0
jmp 0x42c36b
mov ecx, dword [ebp - 0xa44]
add ecx, 1
mov dword [ebp - 0xa44], ecx
cmp dword [ebp - 0xa44], 4
jge 0x42c432
mov edx, dword [ebp - 0xa44]
mov eax, dword [ebp - 0xc64]
cmp dword [eax + edx*4 + 0x119d8], 0
jne 0x42c390
jmp 0x42c35c
mov dword [ebp - 0xa3c], 0
jmp 0x42c3ab
mov ecx, dword [ebp - 0xa3c]
add ecx, 1
mov dword [ebp - 0xa3c], ecx
cmp dword [ebp - 0xa3c], 8
jge 0x42c42d
mov edx, dword [ebp - 0xa3c]
mov eax, dword [ebp - 0xc64]
cmp dword [eax + edx*4 + 0x119e8], 0
jne 0x42c3cc
jmp 0x42c39c
mov dword [ebp - 0xa40], 0
jmp 0x42c3e7
mov ecx, dword [ebp - 0xa40]
add ecx, 1
mov dword [ebp - 0xa40], ecx
cmp dword [ebp - 0xa40], 8
jge 0x42c428
push 8
lea edx, [ebp - 0x828]
push edx
mov eax, dword [ebp - 0xa44]
shl eax, 9
lea ecx, [ebp + eax - 0x820]
mov edx, dword [ebp - 0xa3c]
shl edx, 6
add ecx, edx
mov eax, dword [ebp - 0xa40]
lea ecx, [ecx + eax*8]
push ecx
call fcn.004b96d0
add esp, 0xc
jmp 0x42c3d8
jmp 0x42c39c
jmp 0x42c35c
jmp 0x42c59a
mov edx, dword [ebp - 0xc64]
cmp dword [edx + 0x11a08], 0
je 0x42c59a
mov eax, dword [ebp - 0xc64]
xor ecx, ecx
mov cl, byte [eax + 0x11a10]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x24], ecx
mov dword [ebp - 0xa40], 0
jmp 0x42c479
mov eax, dword [ebp - 0xa40]
add eax, 1
mov dword [ebp - 0xa40], eax
cmp dword [ebp - 0xa40], 4
jge 0x42c4a5
mov ecx, dword [ebp - 0x82c]
add ecx, dword [ebp - 0xa40]
mov edx, dword [ebp - 0xc64]
add edx, dword [ebp - 0xa40]
mov al, byte [edx + 0x11a0c]
mov byte [ecx + 0x28], al
jmp 0x42c46a
mov dword [ebp - 0xa44], 0
jmp 0x42c4c0
mov ecx, dword [ebp - 0xa44]
add ecx, 1
mov dword [ebp - 0xa44], ecx
cmp dword [ebp - 0xa44], 4
jge 0x42c59a
mov edx, dword [ebp - 0xc64]
add edx, dword [ebp - 0xa44]
xor eax, eax
mov al, byte [edx + 0x11a0c]
test eax, eax
jne 0x42c4e7
jmp 0x42c4b1
mov dword [ebp - 0xa3c], 0
jmp 0x42c502
mov ecx, dword [ebp - 0xa3c]
add ecx, 1
mov dword [ebp - 0xa3c], ecx
cmp dword [ebp - 0xa3c], 8
jge 0x42c595
mov edx, dword [ebp - 0xc64]
add edx, dword [ebp - 0xa44]
xor eax, eax
mov al, byte [edx + 0x11a0c]
mov ecx, dword [ebp - 0xa3c]
sar eax, cl
and eax, 1
test eax, eax
jne 0x42c534
jmp 0x42c4f3
mov dword [ebp - 0xa40], 0
jmp 0x42c54f
mov ecx, dword [ebp - 0xa40]
add ecx, 1
mov dword [ebp - 0xa40], ecx
cmp dword [ebp - 0xa40], 8
jge 0x42c590
push 8
lea edx, [ebp - 0x828]
push edx
mov eax, dword [ebp - 0xa44]
shl eax, 9
lea ecx, [ebp + eax - 0x820]
mov edx, dword [ebp - 0xa3c]
shl edx, 6
add ecx, edx
mov eax, dword [ebp - 0xa40]
lea ecx, [ecx + eax*8]
push ecx
call fcn.004b96d0
add esp, 0xc
jmp 0x42c540
jmp 0x42c4f3
jmp 0x42c4b1
mov edx, dword [ebp - 0xc64]
xor eax, eax
mov al, byte [edx + 0x11a2c]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x2c], eax
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x30], 0
mov eax, dword [ebp - 0xc64]
mov ecx, dword [eax + 0x16e]
and ecx, 0x10
test ecx, ecx
je 0x42c5d7
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x44], 0
jmp 0x42c5e1
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x44], 1
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x3c], 0x40
mov edx, dword [ebp - 0xc64]
cmp dword [edx + 0x11784], 1
jne 0x42c604
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x3c], 0
mov ecx, dword [ebp - 0xc64]
cmp dword [ecx + 0x11784], 4
jne 0x42c61d
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x3c], 0
mov eax, dword [ebp - 0xc64]
mov ecx, dword [eax + 0x11784]
mov dword [ebp - 0xc68], ecx
cmp dword [ebp - 0xc68], 6
ja case.0x42c642.5
mov edx, dword [ebp - 0xc68]
jmp dword [edx*4 + 0x42ce24]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x40], 1
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x34], 0x40
jmp case.0x42c642.5
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x40], 1
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x34], 0x40
jmp case.0x42c642.5
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x40], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x34], 0x40
jmp case.0x42c642.5
cmp dword [0x53b4b8], 0x97a
jne 0x42c6b6
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x40], 1
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x34], 0x40
jmp 0x42c727
cmp dword [0x53b4b8], 0x979
jne 0x42c727
cmp dword [0x53b44c], 0
je 0x42c6e1
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x40], 1
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x34], 0
jmp 0x42c727
cmp dword [0x53b460], 0
je 0x42c713
mov ecx, dword [ebp - 0xc64]
xor edx, edx
mov dl, byte [ecx + 0xd05]
cmp edx, 4
jne 0x42c713
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x40], 1
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x34], 0x40
jmp 0x42c727
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x40], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x34], 0
jmp case.0x42c642.5
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x40], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x34], 0
jmp case.0x42c642.5
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x40], 1
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x34], 0x40
cmp dword [0x53b44c], 0
je 0x42c786
cmp dword [0x53bf3c], 0
je 0x42c786
mov edx, dword [ebp - 0xc64]
cmp dword [edx + 0x11efc], 0
je 0x42c786
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x40]
or ecx, 0x80000000
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x40], ecx
cmp dword [0x53b44c], 0
je 0x42c7aa
cmp dword [0x53bf74], 0
je 0x42c7aa
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x40]
or ecx, 0x80000000
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x40], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x38], 0
cmp dword [0x53b460], 0
je 0x42c7e4
mov ecx, dword [ebp - 0xc64]
xor edx, edx
mov dl, byte [ecx + 0xd05]
cmp edx, 4
jne 0x42c7e4
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x38], 0x40
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x48], 3
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc64]
mov ecx, dword [eax + 0x1d2]
mov dword [edx + 0x4c], ecx
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x4c], 0
jne 0x42c866
mov eax, dword [ebp - 0xc64]
xor ecx, ecx
mov cl, byte [eax + 0xd05]
cmp ecx, 2
jne 0x42c81e
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x4c], 0xdc
jmp 0x42c866
mov eax, dword [ebp - 0xc64]
xor ecx, ecx
mov cl, byte [eax + 0xd05]
cmp ecx, 4
jne 0x42c83d
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x4c], 0x8c
jmp 0x42c866
mov eax, dword [ebp - 0xc64]
xor ecx, ecx
mov cl, byte [eax + 0xd05]
cmp ecx, 3
jne 0x42c85c
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x4c], 0x96
jmp 0x42c866
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x4c], 0xdc
cmp dword [0x53c210], 0
je 0x42c890
mov ecx, dword [ebp - 0xc64]
cmp dword [ecx + 0x11780], 0
je 0x42c890
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc64]
mov ecx, dword [eax + 0x117a8]
mov dword [edx + 0x4c], ecx
mov edx, dword [ebp - 0xc64]
xor eax, eax
mov al, byte [edx + 0x11e94]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x50], eax
mov edx, dword [ebp - 0xc64]
xor eax, eax
mov al, byte [edx + 0x11eb8]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x54], eax
mov edx, dword [ebp - 0xc64]
xor eax, eax
mov ax, word [edx + 0x11e78]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x58], eax
mov edx, dword [ebp - 0xc64]
xor eax, eax
mov al, byte [edx + 0x11ecc]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x5c], eax
mov edx, dword [ebp - 0xc64]
xor eax, eax
mov al, byte [edx + 0x11ed8]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x60], eax
mov edx, dword [ebp - 0xc64]
xor eax, eax
mov al, byte [edx + 0x11eac]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x64], eax
mov edx, dword [ebp - 0xc64]
xor eax, eax
mov al, byte [edx + 0x11ea0]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x68], eax
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x6c], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc64]
mov edx, dword [ecx + 0x11a30]
mov dword [eax + 0x70], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x74], 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [0x53bf18]
mov dword [ecx + 0x78], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x7c], 0
cmp dword [0x53b44c], 0
je 0x42c98a
push 0x51db80
mov ecx, dword [ebp - 0xc64]
add ecx, 0x86
push ecx
call fcn.004b9c90
add esp, 8
test eax, eax
je 0x42c98a
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x7c], 1
cmp dword [0x53b418], 1
jne 0x42c9a0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x80], 1
cmp dword [0x53bf34], 0
je 0x42c9cf
mov ecx, dword [ebp - 0xc64]
mov edx, dword [ecx + 0x117d0]
and edx, 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x84]
and ecx, 0xfffffffe
or ecx, edx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x84], ecx
push str.58XT_S1
mov eax, dword [ebp - 0xc64]
add eax, 0x86
push eax
call fcn.004b9c90
add esp, 8
test eax, eax
je 0x42ca01
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x88]
or edx, 1
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x88], edx
push str.58XT_S2
mov ecx, dword [ebp - 0xc64]
add ecx, 0x86
push ecx
call fcn.004b9c90
add esp, 8
test eax, eax
je 0x42ca33
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x88]
or al, 2
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x88], eax
cmp dword [0x53bf0c], 0
je 0x42ca6f
mov edx, dword [ebp - 0xc64]
cmp dword [edx + 0x117e4], 0
je 0x42ca6f
mov eax, dword [ebp - 0xc64]
cmp dword [eax + 0x117e8], 0
jne 0x42ca6f
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x8c]
or edx, 1
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x8c], edx
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xbc], 0
cmp dword [0x53b44c], 0
je 0x42cb0d
push str.L06B_B0KB
mov edx, dword [ebp - 0xc64]
add edx, 0x86
push edx
call fcn.004b9c90
add esp, 8
test eax, eax
je 0x42cab6
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xbc], 1
jmp 0x42cb0d
push str.B0KB_L06B
mov ecx, dword [ebp - 0xc64]
add ecx, 0x86
push ecx
call fcn.004b9c90
add esp, 8
test eax, eax
je 0x42cae3
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xbc], 2
jmp 0x42cb0d
push str.B0KB_28
mov eax, dword [ebp - 0xc64]
add eax, 0x86
push eax
call fcn.004b9c90
add esp, 8
test eax, eax
je 0x42cb0d
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xbc], 3
cmp dword [0x53bedc], 0
je 0x42cb24
mov edx, dword [ebp - 0x10]
mov eax, dword [0x53bed8]
mov dword [edx + 0xc8], eax
cmp dword [0x53b44c], 0
je 0x42cb51
mov ecx, dword [ebp - 0xc64]
cmp dword [ecx + 0x117bc], 0
je 0x42cb51
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc64]
mov ecx, dword [eax + 0x117c4]
mov dword [edx + 0xcc], ecx
push 0x200
mov edx, dword [ebp - 0xc64]
add edx, 0xd6
push edx
mov eax, dword [ebp - 0x82c]
add eax, 0x200
push eax
call fcn.004b96d0
add esp, 0xc
push 0x208
push 0
lea ecx, [ebp - 0xa38]
push ecx
call fcn.004b9030
add esp, 0xc
mov edx, dword [ebp - 0xc64]
add edx, 0x2dd
push edx
lea eax, [ebp - 0xa38]
push eax
call fcn.004b9290
add esp, 8
push 0x51dbb4
lea ecx, [ebp - 0xa38]
push ecx
call fcn.004b92a0
add esp, 8
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
lea edx, [ebp - 0xa38]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xc50], eax
cmp dword [ebp - 0xc50], 0xffffffff
jne 0x42cc68
push 0x208
push 0
lea eax, [ebp - 0xc4c]
push eax
call fcn.004b9030
add esp, 0xc
lea ecx, [ebp - 0xa38]
push ecx
push 0x51dbd8
lea edx, [ebp - 0xc4c]
push edx
call fcn.004b953d
add esp, 0xc
push 0
push 0x51dbf8
lea eax, [ebp - 0xc4c]
push eax
mov ecx, dword [ebp - 0xc64]
call fcn.004db06e
mov ecx, dword [ebp - 0x82c]
push ecx
call fcn.004b9a0d
add esp, 4
mov dword [ebp - 0xc58], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004de855
mov eax, dword [ebp - 0xc58]
jmp 0x42ce16
mov edx, dword [ebp - 0xc50]
mov dword [ebp - 0x1c], edx
lea ecx, [ebp - 0x20]
call fcn.004311f0
push 0x800
mov eax, dword [ebp - 0x82c]
push eax
lea ecx, [ebp - 0x20]
call fcn.004dea69
mov ecx, dword [ebp - 0xc50]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x208
push 0
lea edx, [ebp - 0xa38]
push edx
call fcn.004b9030
add esp, 0xc
mov eax, dword [ebp - 0xc64]
add eax, 0x2dd
push eax
lea ecx, [ebp - 0xa38]
push ecx
call fcn.004b9290
add esp, 8
push str.DriveSettingFlashID.bin
lea edx, [ebp - 0xa38]
push edx
call fcn.004b92a0
add esp, 8
lea eax, [ebp - 0xa38]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0xc64]
cmp dword [ecx + 0x119d4], 0
jne 0x42cd0e
mov edx, dword [ebp - 0xc64]
cmp dword [edx + 0x11a08], 0
je 0x42cde8
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
lea eax, [ebp - 0xa38]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xc50], eax
cmp dword [ebp - 0xc50], 0xffffffff
jne 0x42cdb6
push 0x208
push 0
lea ecx, [ebp - 0xc4c]
push ecx
call fcn.004b9030
add esp, 0xc
lea edx, [ebp - 0xa38]
push edx
push str.Cant_create__s__please_check.
lea eax, [ebp - 0xc4c]
push eax
call fcn.004b953d
add esp, 0xc
push 0
push 0x51dc3c
lea ecx, [ebp - 0xc4c]
push ecx
mov ecx, dword [ebp - 0xc64]
call fcn.004db06e
mov edx, dword [ebp - 0x82c]
push edx
call fcn.004b9a0d
add esp, 4
mov dword [ebp - 0xc5c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004de855
mov eax, dword [ebp - 0xc5c]
jmp 0x42ce16
mov eax, dword [ebp - 0xc50]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x20]
call fcn.004311f0
push 0x800
lea ecx, [ebp - 0x820]
push ecx
lea ecx, [ebp - 0x20]
call fcn.004dea69
mov edx, dword [ebp - 0xc50]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x82c]
push eax
call fcn.004b9a0d
add esp, 4
mov dword [ebp - 0xc60], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004de855
mov eax, dword [ebp - 0xc60]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret