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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fa0c1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc60
mov dword [ebp - 0xc64], ecx
lea ecx, [ebp - 0x20]
call fcn.004e3ec0
mov dword [ebp - 4], 0
mov dword [ebp - 0x82c], 0
push 0x800
call fcn.004bf27e
add esp, 4
mov dword [ebp - 0x82c], eax
cmp dword [ebp - 0x82c], 0
jne 0x42d5eb
push 0
push 0x5240bc
push str.Cant_allocate_memory_to_generate_DriveSetting_Table_binary_file
mov ecx, dword [ebp - 0xc64]
call fcn.004e07ce
mov dword [ebp - 0xc54], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004e3fb5
mov eax, dword [ebp - 0xc54]
jmp 0x42e601
push 0x800
push 0
mov eax, dword [ebp - 0x82c]
push eax
call fcn.004be790
add esp, 0xc
push 0x800
push 0
lea ecx, [ebp - 0x820]
push ecx
call fcn.004be790
add esp, 0xc
push 8
push 0
lea edx, [ebp - 0x828]
push edx
call fcn.004be790
add esp, 0xc
mov dword [ebp - 0xa40], 0
jmp 0x42d645
mov eax, dword [ebp - 0xa40]
add eax, 1
mov dword [ebp - 0xa40], eax
cmp dword [ebp - 0xa40], 6
jge 0x42d670
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 0x42d636
mov eax, dword [ebp - 0x82c]
mov dword [ebp - 0x10], eax
cmp dword [0x543024], 0
je 0x42d68d
mov ecx, dword [ebp - 0x10]
mov dword [ecx], 0
jmp 0x42d6a1
mov edx, dword [ebp - 0xc64]
xor eax, eax
mov ax, word [edx + 0x12164]
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 + 0x11cf0], 0
je 0x42d713
mov edx, dword [ebp - 0x830]
or edx, 0x80000000
mov dword [ebp - 0x830], edx
mov eax, dword [ebp - 0xc64]
cmp dword [eax + 0x11cf4], 0
je 0x42d713
mov ecx, dword [ebp - 0xc64]
mov ecx, dword [ecx + 0x11cf4]
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 + 0x11cf8], 0
je 0x42d77d
mov ecx, dword [ebp - 0x830]
or ecx, 0x80000000
mov dword [ebp - 0x830], ecx
mov edx, dword [ebp - 0xc64]
cmp dword [edx + 0x11cfc], 0
je 0x42d77d
mov eax, dword [ebp - 0xc64]
mov ecx, dword [eax + 0x11cfc]
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 [0x543090], 0
je 0x42d7bc
mov eax, dword [ebp - 0xc64]
cmp dword [eax + 0x11abc], 0
je 0x42d7bc
mov ecx, dword [ebp - 0xc64]
cmp dword [ecx + 0x11ac0], 0
jne 0x42d7bc
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x14], 0
jmp 0x42d7ce
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc64]
mov edx, dword [ecx + 0x11d94]
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 0xc64]
xor ecx, ecx
mov cl, byte [eax + 0x11a58]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc64]
mov edx, dword [ecx + 0x11d00]
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 + 0x11cb0], 0
je 0x42da15
mov dword [ebp - 0xa40], 0
jmp 0x42d840
mov ecx, dword [ebp - 0xa40]
add ecx, 1
mov dword [ebp - 0xa40], ecx
cmp dword [ebp - 0xa40], 4
jge 0x42d87c
mov edx, dword [ebp - 0xa40]
mov eax, dword [ebp - 0xc64]
cmp dword [eax + edx*4 + 0x11cb4], 0
je 0x42d87a
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 0x42d831
mov dword [ebp - 0x830], 0
mov dword [ebp - 0xa40], 0
jmp 0x42d8a1
mov eax, dword [ebp - 0xa40]
add eax, 1
mov dword [ebp - 0xa40], eax
cmp dword [ebp - 0xa40], 8
jge 0x42d8dd
mov ecx, dword [ebp - 0xa40]
mov edx, dword [ebp - 0xc64]
cmp dword [edx + ecx*4 + 0x11cc4], 0
je 0x42d8db
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 0x42d892
mov dword [ebp - 0xa40], 0
jmp 0x42d8f8
mov edx, dword [ebp - 0xa40]
add edx, 1
mov dword [ebp - 0xa40], edx
cmp dword [ebp - 0xa40], 4
jge 0x42d92e
mov eax, dword [ebp - 0xa40]
mov ecx, dword [ebp - 0xc64]
cmp dword [ecx + eax*4 + 0x11cb4], 0
je 0x42d92c
mov edx, dword [ebp - 0x82c]
add edx, dword [ebp - 0xa40]
mov al, byte [ebp - 0x830]
mov byte [edx + 0x28], al
jmp 0x42d8e9
mov dword [ebp - 0xa44], 0
jmp 0x42d949
mov ecx, dword [ebp - 0xa44]
add ecx, 1
mov dword [ebp - 0xa44], ecx
cmp dword [ebp - 0xa44], 4
jge 0x42da10
mov edx, dword [ebp - 0xa44]
mov eax, dword [ebp - 0xc64]
cmp dword [eax + edx*4 + 0x11cb4], 0
jne 0x42d96e
jmp 0x42d93a
mov dword [ebp - 0xa3c], 0
jmp 0x42d989
mov ecx, dword [ebp - 0xa3c]
add ecx, 1
mov dword [ebp - 0xa3c], ecx
cmp dword [ebp - 0xa3c], 8
jge 0x42da0b
mov edx, dword [ebp - 0xa3c]
mov eax, dword [ebp - 0xc64]
cmp dword [eax + edx*4 + 0x11cc4], 0
jne 0x42d9aa
jmp 0x42d97a
mov dword [ebp - 0xa40], 0
jmp 0x42d9c5
mov ecx, dword [ebp - 0xa40]
add ecx, 1
mov dword [ebp - 0xa40], ecx
cmp dword [ebp - 0xa40], 8
jge 0x42da06
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.004bee30
add esp, 0xc
jmp 0x42d9b6
jmp 0x42d97a
jmp 0x42d93a
jmp 0x42db78
mov edx, dword [ebp - 0xc64]
cmp dword [edx + 0x11ce4], 0
je 0x42db78
mov eax, dword [ebp - 0xc64]
xor ecx, ecx
mov cl, byte [eax + 0x11cec]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x24], ecx
mov dword [ebp - 0xa40], 0
jmp 0x42da57
mov eax, dword [ebp - 0xa40]
add eax, 1
mov dword [ebp - 0xa40], eax
cmp dword [ebp - 0xa40], 4
jge 0x42da83
mov ecx, dword [ebp - 0x82c]
add ecx, dword [ebp - 0xa40]
mov edx, dword [ebp - 0xc64]
add edx, dword [ebp - 0xa40]
mov al, byte [edx + 0x11ce8]
mov byte [ecx + 0x28], al
jmp 0x42da48
mov dword [ebp - 0xa44], 0
jmp 0x42da9e
mov ecx, dword [ebp - 0xa44]
add ecx, 1
mov dword [ebp - 0xa44], ecx
cmp dword [ebp - 0xa44], 4
jge 0x42db78
mov edx, dword [ebp - 0xc64]
add edx, dword [ebp - 0xa44]
xor eax, eax
mov al, byte [edx + 0x11ce8]
test eax, eax
jne 0x42dac5
jmp 0x42da8f
mov dword [ebp - 0xa3c], 0
jmp 0x42dae0
mov ecx, dword [ebp - 0xa3c]
add ecx, 1
mov dword [ebp - 0xa3c], ecx
cmp dword [ebp - 0xa3c], 8
jge 0x42db73
mov edx, dword [ebp - 0xc64]
add edx, dword [ebp - 0xa44]
xor eax, eax
mov al, byte [edx + 0x11ce8]
mov ecx, dword [ebp - 0xa3c]
sar eax, cl
and eax, 1
test eax, eax
jne 0x42db12
jmp 0x42dad1
mov dword [ebp - 0xa40], 0
jmp 0x42db2d
mov ecx, dword [ebp - 0xa40]
add ecx, 1
mov dword [ebp - 0xa40], ecx
cmp dword [ebp - 0xa40], 8
jge 0x42db6e
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.004bee30
add esp, 0xc
jmp 0x42db1e
jmp 0x42dad1
jmp 0x42da8f
mov edx, dword [ebp - 0xc64]
xor eax, eax
mov al, byte [edx + 0x11d08]
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 0x42dbb5
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x44], 0
jmp 0x42dbbf
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 + 0x11a58], 1
jne 0x42dbe2
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x3c], 0
mov ecx, dword [ebp - 0xc64]
cmp dword [ecx + 0x11a58], 4
jne 0x42dbfb
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x3c], 0
mov eax, dword [ebp - 0xc64]
mov ecx, dword [eax + 0x11a58]
mov dword [ebp - 0xc68], ecx
cmp dword [ebp - 0xc68], 6
ja case.0x42dc20.5
mov edx, dword [ebp - 0xc68]
jmp dword [edx*4 + 0x42e60f]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x40], 1
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x34], 0x40
jmp case.0x42dc20.5
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x40], 1
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x34], 0x40
jmp case.0x42dc20.5
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x40], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x34], 0x40
jmp case.0x42dc20.5
cmp dword [0x542628], 0x97a
jne 0x42dc97
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x40], 1
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x34], 0x40
jmp 0x42dd2a
cmp dword [0x542628], 0x97b
jne 0x42dcb9
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x40], 1
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x34], 0
jmp 0x42dd2a
cmp dword [0x542628], 0x979
jne 0x42dd2a
cmp dword [0x5425b8], 0
je 0x42dce4
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x40], 1
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x34], 0
jmp 0x42dd2a
cmp dword [0x5425d0], 0
je 0x42dd16
mov eax, dword [ebp - 0xc64]
xor ecx, ecx
mov cl, byte [eax + 0xfd8]
cmp ecx, 4
jne 0x42dd16
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x40], 1
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x34], 0x40
jmp 0x42dd2a
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x40], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x34], 0
jmp case.0x42dc20.5
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x40], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x34], 0
jmp case.0x42dc20.5
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x40], 1
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x34], 0x40
cmp dword [0x5425b8], 0
je 0x42dd88
cmp dword [0x5430c0], 0
je 0x42dd88
mov ecx, dword [ebp - 0xc64]
cmp dword [ecx + 0x121d8], 0
je 0x42dd88
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x40]
or eax, 0x80000000
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x40], eax
cmp dword [0x5425b8], 0
je 0x42ddab
cmp dword [0x5430fc], 0
je 0x42ddab
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x40]
or eax, 0x80000000
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x40], eax
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x38], 0
cmp dword [0x5425d0], 0
je 0x42dde5
mov eax, dword [ebp - 0xc64]
xor ecx, ecx
mov cl, byte [eax + 0xfd8]
cmp ecx, 4
jne 0x42dde5
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x38], 0x40
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x48], 3
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc64]
mov eax, dword [edx + 0x1d2]
mov dword [ecx + 0x4c], eax
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x4c], 0
jne 0x42de8a
mov edx, dword [ebp - 0xc64]
xor eax, eax
mov al, byte [edx + 0xfd8]
cmp eax, 2
jne 0x42de23
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x4c], 0xdc
jmp 0x42de8a
mov edx, dword [ebp - 0xc64]
xor eax, eax
mov al, byte [edx + 0xfd8]
cmp eax, 4
jne 0x42de42
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x4c], 0x8c
jmp 0x42de8a
mov edx, dword [ebp - 0xc64]
xor eax, eax
mov al, byte [edx + 0xfd8]
cmp eax, 3
jne 0x42de61
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x4c], 0x96
jmp 0x42de8a
mov edx, dword [ebp - 0xc64]
xor eax, eax
mov al, byte [edx + 0xfd8]
cmp eax, 0xd
jne 0x42de80
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x4c], 0x96
jmp 0x42de8a
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x4c], 0x96
cmp dword [0x5433a0], 0
je 0x42deb4
mov eax, dword [ebp - 0xc64]
cmp dword [eax + 0x11a54], 0
je 0x42deb4
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc64]
mov eax, dword [edx + 0x11a80]
mov dword [ecx + 0x4c], eax
mov ecx, dword [ebp - 0xc64]
xor edx, edx
mov dl, byte [ecx + 0x12170]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x50], edx
mov ecx, dword [ebp - 0xc64]
xor edx, edx
mov dl, byte [ecx + 0x12194]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x54], edx
mov ecx, dword [ebp - 0xc64]
xor edx, edx
mov dx, word [ecx + 0x12154]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x58], edx
mov ecx, dword [ebp - 0xc64]
xor edx, edx
mov dl, byte [ecx + 0x121a8]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x5c], edx
mov ecx, dword [ebp - 0xc64]
xor edx, edx
mov dl, byte [ecx + 0x121b4]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x60], edx
mov ecx, dword [ebp - 0xc64]
xor edx, edx
mov dl, byte [ecx + 0x12188]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x64], edx
mov ecx, dword [ebp - 0xc64]
xor edx, edx
mov dl, byte [ecx + 0x1217c]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x68], edx
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x6c], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc64]
mov ecx, dword [eax + 0x11d0c]
mov dword [edx + 0x70], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x74], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [0x54309c]
mov dword [eax + 0x78], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x7c], 0
cmp dword [0x5425b8], 0
je 0x42dfad
push 0x524108
mov eax, dword [ebp - 0xc64]
add eax, 0x86
push eax
call fcn.004bf3f0
add esp, 8
test eax, eax
je 0x42dfad
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x7c], 1
cmp dword [0x542584], 1
jne 0x42dfc3
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x80], 1
cmp dword [0x5430b8], 0
je 0x42dff1
mov eax, dword [ebp - 0xc64]
mov ecx, dword [eax + 0x11aa8]
and ecx, 1
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x84]
and al, 0xfe
or eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x84], eax
push str.58XT_S1
mov edx, dword [ebp - 0xc64]
add edx, 0x86
push edx
call fcn.004bf3f0
add esp, 8
test eax, eax
je 0x42e024
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x88]
or ecx, 1
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x88], ecx
push str.58XT_S2
mov eax, dword [ebp - 0xc64]
add eax, 0x86
push eax
call fcn.004bf3f0
add esp, 8
test eax, eax
je 0x42e056
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x88]
or edx, 2
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x88], edx
cmp dword [0x543090], 0
je 0x42e092
mov ecx, dword [ebp - 0xc64]
cmp dword [ecx + 0x11abc], 0
je 0x42e092
mov edx, dword [ebp - 0xc64]
cmp dword [edx + 0x11ac0], 0
jne 0x42e092
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x8c]
or ecx, 1
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x8c], ecx
cmp dword [0x543058], 0
je 0x42e0b0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x8c]
or ecx, 2
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x8c], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x90], 0
mov ecx, dword [ebp - 0xc64]
xor edx, edx
mov dl, byte [ecx + 0xfd8]
mov dword [ebp - 0xc6c], edx
cmp dword [ebp - 0xc6c], 0xf
ja case.0x42e0e4.2
mov eax, dword [ebp - 0xc6c]
jmp dword [eax*4 + 0x42e62b]
mov ecx, dword [ebp - 0xc64]
cmp dword [ecx + 0xee], 3
jne 0x42e109
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x90], 1
jmp 0x42e125
mov eax, dword [ebp - 0xc64]
cmp dword [eax + 0xee], 4
jne 0x42e125
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x90], 2
jmp case.0x42e0e4.2
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x90], 5
jmp case.0x42e0e4.2
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x90], 4
jmp case.0x42e0e4.2
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x90], 9
jmp case.0x42e0e4.2
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x90], 8
jmp case.0x42e0e4.2
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x90], 6
jmp case.0x42e0e4.2
mov ecx, dword [ebp - 0xc64]
cmp dword [ecx + 0x15a], 0
jne 0x42e1a2
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x90], 3
jmp 0x42e1fa
mov eax, dword [ebp - 0xc64]
cmp dword [eax + 0x15a], 1
jne 0x42e1c0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x90], 3
jmp 0x42e1fa
mov edx, dword [ebp - 0xc64]
cmp dword [edx + 0x15a], 2
jne 0x42e1de
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x90], 7
jmp 0x42e1fa
mov ecx, dword [ebp - 0xc64]
cmp dword [ecx + 0x15a], 3
jne 0x42e1fa
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x90], 7
jmp case.0x42e0e4.2
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x90], 0xa
jmp case.0x42e0e4.2
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x90], 0xc
jmp case.0x42e0e4.2
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x90], 0xd
jmp case.0x42e0e4.2
mov eax, dword [ebp - 0xc64]
cmp dword [eax + 0xee], 3
jne 0x42e247
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x90], 0xf
jmp case.0x42e0e4.2
mov edx, dword [ebp - 0xc64]
cmp dword [edx + 0xee], 4
jne case.0x42e0e4.2
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x90], 0xe
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xbc], 0
cmp dword [0x5425b8], 0
je 0x42e301
push str.L06B_B0KB
mov edx, dword [ebp - 0xc64]
add edx, 0x86
push edx
call fcn.004bf3f0
add esp, 8
test eax, eax
je 0x42e2aa
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xbc], 1
jmp 0x42e301
push str.B0KB_L06B
mov ecx, dword [ebp - 0xc64]
add ecx, 0x86
push ecx
call fcn.004bf3f0
add esp, 8
test eax, eax
je 0x42e2d7
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xbc], 2
jmp 0x42e301
push str.B0KB_28
mov eax, dword [ebp - 0xc64]
add eax, 0x86
push eax
call fcn.004bf3f0
add esp, 8
test eax, eax
je 0x42e301
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xbc], 3
cmp dword [0x543050], 0
je 0x42e318
mov edx, dword [ebp - 0x10]
mov eax, dword [0x54304c]
mov dword [edx + 0xc8], eax
mov ecx, dword [ebp - 0xc64]
cmp dword [ecx + 0x11a94], 0
je 0x42e33c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc64]
mov ecx, dword [eax + 0x11a9c]
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.004bee30
add esp, 0xc
push 0x208
push 0
lea ecx, [ebp - 0xa38]
push ecx
call fcn.004be790
add esp, 0xc
mov edx, dword [ebp - 0xc64]
add edx, 0x5b0
push edx
lea eax, [ebp - 0xa38]
push eax
call fcn.004be9f0
add esp, 8
push 0x52413c
lea ecx, [ebp - 0xa38]
push ecx
call fcn.004bea00
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 0x42e453
push 0x208
push 0
lea eax, [ebp - 0xc4c]
push eax
call fcn.004be790
add esp, 0xc
lea ecx, [ebp - 0xa38]
push ecx
push 0x524160
lea edx, [ebp - 0xc4c]
push edx
call fcn.004bec9d
add esp, 0xc
push 0
push 0x524180
lea eax, [ebp - 0xc4c]
push eax
mov ecx, dword [ebp - 0xc64]
call fcn.004e07ce
mov ecx, dword [ebp - 0x82c]
push ecx
call fcn.004bf16d
add esp, 4
mov dword [ebp - 0xc58], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004e3fb5
mov eax, dword [ebp - 0xc58]
jmp 0x42e601
mov edx, dword [ebp - 0xc50]
mov dword [ebp - 0x1c], edx
lea ecx, [ebp - 0x20]
call fcn.00432bd0
push 0x800
mov eax, dword [ebp - 0x82c]
push eax
lea ecx, [ebp - 0x20]
call fcn.004e41c9
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.004be790
add esp, 0xc
mov eax, dword [ebp - 0xc64]
add eax, 0x5b0
push eax
lea ecx, [ebp - 0xa38]
push ecx
call fcn.004be9f0
add esp, 8
push str.DriveSettingFlashID.bin
lea edx, [ebp - 0xa38]
push edx
call fcn.004bea00
add esp, 8
lea eax, [ebp - 0xa38]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0xc64]
cmp dword [ecx + 0x11cb0], 0
jne 0x42e4f9
mov edx, dword [ebp - 0xc64]
cmp dword [edx + 0x11ce4], 0
je 0x42e5d3
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 0x42e5a1
push 0x208
push 0
lea ecx, [ebp - 0xc4c]
push ecx
call fcn.004be790
add esp, 0xc
lea edx, [ebp - 0xa38]
push edx
push str.Cant_create__s__please_check.
lea eax, [ebp - 0xc4c]
push eax
call fcn.004bec9d
add esp, 0xc
push 0
push 0x5241c4
lea ecx, [ebp - 0xc4c]
push ecx
mov ecx, dword [ebp - 0xc64]
call fcn.004e07ce
mov edx, dword [ebp - 0x82c]
push edx
call fcn.004bf16d
add esp, 4
mov dword [ebp - 0xc5c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004e3fb5
mov eax, dword [ebp - 0xc5c]
jmp 0x42e601
mov eax, dword [ebp - 0xc50]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x20]
call fcn.00432bd0
push 0x800
lea ecx, [ebp - 0x820]
push ecx
lea ecx, [ebp - 0x20]
call fcn.004e41c9
mov edx, dword [ebp - 0xc50]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x82c]
push eax
call fcn.004bf16d
add esp, 4
mov dword [ebp - 0xc60], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004e3fb5
mov eax, dword [ebp - 0xc60]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret