Function at 0x42a04e
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e53fe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88c
mov dword [ebp - 0x898], ecx
lea ecx, [ebp - 0x1c]
call fcn.004cf400
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
push 0x10000
call fcn.004aa7be
add esp, 4
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x42a0d9
push 0
push 0x50d048
push str.Cant_allocate_memory_to_generate_IDtable_binary_file
mov ecx, dword [ebp - 0x898]
call fcn.004cbd0e
mov dword [ebp - 0x884], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004cf4f5
mov eax, dword [ebp - 0x884]
jmp 0x42ad60
push 0x10000
push 0
mov eax, dword [ebp - 0x30]
push eax
call fcn.004a9cd0
add esp, 0xc
push 0x208
push 0
lea ecx, [ebp - 0x238]
push ecx
call fcn.004a9cd0
add esp, 0xc
mov edx, dword [ebp - 0x898]
add edx, 0x2dd
push edx
lea eax, [ebp - 0x238]
push eax
call fcn.004a9f30
add esp, 8
push 0x50d088
lea ecx, [ebp - 0x238]
push ecx
call fcn.004a9f40
add esp, 8
push 0x208
push 0
lea edx, [ebp - 0x650]
push edx
call fcn.004a9cd0
add esp, 0xc
push 0x10
push 0x529200
lea eax, [ebp - 0x650]
push eax
call fcn.004aa370
add esp, 0xc
movsx ecx, byte [ebp - 0x650]
test ecx, ecx
jne 0x42a1ab
cmp dword [0x5284f8], 0x979
jne 0x42a18b
push 0x50d094
lea edx, [ebp - 0x650]
push edx
call fcn.004a9f30
add esp, 8
jmp 0x42a1ab
cmp dword [0x5284f8], 0x97a
jne 0x42a1ab
push 0x50d09c
lea eax, [ebp - 0x650]
push eax
call fcn.004a9f30
add esp, 8
cmp dword [0x5291ec], 0
je 0x42a217
push 0x50d0a4
lea ecx, [ebp - 0x650]
push ecx
call fcn.004a9f40
add esp, 8
mov edx, dword [ebp - 0x898]
add edx, 0x2d6
push edx
lea eax, [ebp - 0x650]
push eax
call fcn.004a9f40
add esp, 8
movsx ecx, byte [0x5291e8]
test ecx, ecx
je 0x42a217
push 0x50d0a8
lea edx, [ebp - 0x650]
push edx
call fcn.004a9f40
add esp, 8
push 0x5291e8
lea eax, [ebp - 0x650]
push eax
call fcn.004a9f40
add esp, 8
lea ecx, [ebp - 0x650]
push ecx
lea edx, [ebp - 0x238]
push edx
call fcn.004a9f40
add esp, 8
cmp dword [0x5284f8], 0x979
jne 0x42a274
mov eax, dword [ebp - 0x898]
cmp dword [eax + 0x117c4], 0
je 0x42a25e
push 0x50d0ac
lea ecx, [ebp - 0x238]
push ecx
call fcn.004a9f40
add esp, 8
jmp 0x42a272
push 0x50d0bc
lea edx, [ebp - 0x238]
push edx
call fcn.004a9f40
add esp, 8
jmp 0x42a2b9
cmp dword [0x5284f8], 0x97a
jne 0x42a2b9
mov eax, dword [ebp - 0x898]
cmp dword [eax + 0x117c4], 0
je 0x42a2a5
push 0x50d0cc
lea ecx, [ebp - 0x238]
push ecx
call fcn.004a9f40
add esp, 8
jmp 0x42a2b9
push 0x50d0dc
lea edx, [ebp - 0x238]
push edx
call fcn.004a9f40
add esp, 8
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x880], eax
cmp dword [ebp - 0x880], 0xffffffff
jne 0x42a3f2
push 0x208
push 0
lea ecx, [ebp - 0x878]
push ecx
call fcn.004a9cd0
add esp, 0xc
cmp dword [0x5284f8], 0x97a
jne 0x42a356
mov edx, dword [ebp - 0x898]
cmp dword [edx + 0x117c4], 0
je 0x42a339
lea eax, [ebp - 0x650]
push eax
push str.Cant_open_.Firmware_sISP2256RDT.bin__please_check.
lea ecx, [ebp - 0x878]
push ecx
call fcn.004aa1dd
add esp, 0xc
jmp 0x42a354
lea edx, [ebp - 0x650]
push edx
push str.Cant_open_.Firmware_sISP2256.bin__please_check.
lea eax, [ebp - 0x878]
push eax
call fcn.004aa1dd
add esp, 0xc
jmp 0x42a3a9
cmp dword [0x5284f8], 0x979
jne 0x42a3a9
mov ecx, dword [ebp - 0x898]
cmp dword [ecx + 0x117c4], 0
je 0x42a38e
lea edx, [ebp - 0x650]
push edx
push str.Cant_open_.Firmware_sISP2258RDT.bin__please_check.
lea eax, [ebp - 0x878]
push eax
call fcn.004aa1dd
add esp, 0xc
jmp 0x42a3a9
lea ecx, [ebp - 0x650]
push ecx
push str.Cant_open_.Firmware_sISP2258.bin__please_check.
lea edx, [ebp - 0x878]
push edx
call fcn.004aa1dd
add esp, 0xc
push 0
push 0x50d1c4
lea eax, [ebp - 0x878]
push eax
mov ecx, dword [ebp - 0x898]
call fcn.004cbd0e
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004aa6ad
add esp, 4
mov dword [ebp - 0x888], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004cf4f5
mov eax, dword [ebp - 0x888]
jmp 0x42ad60
mov edx, dword [ebp - 0x880]
mov dword [ebp - 0x18], edx
lea ecx, [ebp - 0x1c]
call fcn.0042d620
push 0x10000
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004cf6cf
push 0x10
push 0
lea ecx, [ebp - 0x66c]
push ecx
call fcn.004a9cd0
add esp, 0xc
push 0x10
mov edx, dword [ebp - 0x30]
add edx, 0xeff0
push edx
lea eax, [ebp - 0x66c]
push eax
call fcn.004aa370
add esp, 0xc
mov ecx, dword [ebp - 0x880]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x208
push 0
lea edx, [ebp - 0x238]
push edx
call fcn.004a9cd0
add esp, 0xc
mov eax, dword [ebp - 0x898]
add eax, 0x2dd
push eax
lea ecx, [ebp - 0x238]
push ecx
call fcn.004a9f30
add esp, 8
push 0x50d1cc
lea edx, [ebp - 0x238]
push edx
call fcn.004a9f40
add esp, 8
lea eax, [ebp - 0x650]
push eax
lea ecx, [ebp - 0x238]
push ecx
call fcn.004a9f40
add esp, 8
push str.IDtable.bin
lea edx, [ebp - 0x238]
push edx
call fcn.004a9f40
add esp, 8
push 0x208
push 0
lea eax, [ebp - 0x448]
push eax
call fcn.004a9cd0
add esp, 0xc
mov ecx, dword [ebp - 0x898]
add ecx, 0x2dd
push ecx
lea edx, [ebp - 0x448]
push edx
call fcn.004a9f30
add esp, 8
push 0x50d1e8
lea eax, [ebp - 0x448]
push eax
call fcn.004a9f40
add esp, 8
push 0
lea ecx, [ebp - 0x448]
push ecx
lea edx, [ebp - 0x238]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x42a5af
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x65c], eax
push 0x208
push 0
lea eax, [ebp - 0x878]
push eax
call fcn.004a9cd0
add esp, 0xc
mov ecx, dword [ebp - 0x65c]
push ecx
lea edx, [ebp - 0x650]
push edx
push str.Cant_copy_file_from_.Firmware_sIDtable.bin_to_.DriveSettingMP_IDtable.bin__errorcode___d
lea eax, [ebp - 0x878]
push eax
call fcn.004aa1dd
add esp, 0x10
push 0
push 0x50d268
lea ecx, [ebp - 0x878]
push ecx
mov ecx, dword [ebp - 0x898]
call fcn.004cbd0e
mov edx, dword [ebp - 0x30]
push edx
call fcn.004aa6ad
add esp, 4
mov dword [ebp - 0x88c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004cf4f5
mov eax, dword [ebp - 0x88c]
jmp 0x42ad60
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
lea eax, [ebp - 0x448]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x880], eax
cmp dword [ebp - 0x880], 0xffffffff
jne 0x42a63a
push 0x208
push 0
lea ecx, [ebp - 0x878]
push ecx
call fcn.004a9cd0
add esp, 0xc
push 0
push 0x50d270
push str.Cant_open_.DriveSettingMP_IDtable.bin__please_check.
mov ecx, dword [ebp - 0x898]
call fcn.004cbd0e
mov edx, dword [ebp - 0x30]
push edx
call fcn.004aa6ad
add esp, 4
mov dword [ebp - 0x890], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004cf4f5
mov eax, dword [ebp - 0x890]
jmp 0x42ad60
push 0x10000
push 0
mov eax, dword [ebp - 0x30]
push eax
call fcn.004a9cd0
add esp, 0xc
mov ecx, dword [ebp - 0x880]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x1c]
call fcn.004cf8ac
mov dword [ebp - 0x654], eax
mov edx, dword [ebp - 0x654]
push edx
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004cf6cf
mov ecx, dword [ebp - 0x898]
cmp dword [ecx + 0x1192c], 0
jne 0x42a695
mov edx, dword [ebp - 0x30]
mov byte [edx], 0x40
mov eax, dword [ebp - 0x30]
mov byte [eax + 1], 0
jmp 0x42a6cf
mov ecx, dword [ebp - 0x898]
cmp dword [ecx + 0x1192c], 1
jne 0x42a6b3
mov edx, dword [ebp - 0x30]
mov byte [edx], 0x4a
mov eax, dword [ebp - 0x30]
mov byte [eax + 1], 4
jmp 0x42a6cf
mov ecx, dword [ebp - 0x898]
cmp dword [ecx + 0x1192c], 2
jne 0x42a6cf
mov edx, dword [ebp - 0x30]
mov byte [edx], 0x8a
mov eax, dword [ebp - 0x30]
mov byte [eax + 1], 0x84
cmp dword [0x528488], 1
jne 0x42a6e5
mov ecx, dword [ebp - 0x30]
mov byte [ecx], 0x40
mov edx, dword [ebp - 0x30]
mov byte [edx + 1], 0
push 8
push 0
lea eax, [ebp - 0x240]
push eax
call fcn.004a9cd0
add esp, 0xc
mov ecx, dword [ebp - 0x898]
movsx edx, byte [ecx + 0x11920]
test edx, edx
je 0x42a72b
push 8
mov eax, dword [ebp - 0x898]
add eax, 0x11920
push eax
lea ecx, [ebp - 0x240]
push ecx
call fcn.004aa370
add esp, 0xc
jmp 0x42a7fc
mov edx, dword [ebp - 0x66c]
and edx, 0xff
cmp edx, 0x30
jl 0x42a7e4
mov eax, dword [ebp - 0x66c]
and eax, 0xff
cmp eax, 0x39
jg 0x42a7e4
push 0x10
push 0
lea ecx, [ebp - 0x2c]
push ecx
call fcn.004a9cd0
add esp, 0xc
push 4
lea edx, [ebp - 0x66c]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.004aa370
add esp, 0xc
lea ecx, [ebp - 0x2c]
push ecx
call fcn.004aa127
add esp, 4
mov dword [ebp - 0x670], eax
push 0x10
push 0
lea edx, [ebp - 0x2c]
push edx
call fcn.004a9cd0
add esp, 0xc
push 6
lea eax, [ebp - 0x668]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.004aa370
add esp, 0xc
movsx edx, byte [ebp - 0x27]
cmp edx, 0x5f
jne 0x42a7bd
mov byte [ebp - 0x27], 0x20
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x670]
sub ecx, 0x790
push ecx
push 0x50d2b0
lea edx, [ebp - 0x240]
push edx
call fcn.004aa1dd
add esp, 0x10
jmp 0x42a7fc
push 7
lea eax, [ebp - 0x66c]
push eax
lea ecx, [ebp - 0x240]
push ecx
call fcn.004aa370
add esp, 0xc
mov dword [ebp - 0x658], 0
jmp 0x42a817
mov edx, dword [ebp - 0x658]
add edx, 2
mov dword [ebp - 0x658], edx
cmp dword [ebp - 0x658], 8
jge 0x42a895
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x658]
mov ecx, dword [ebp - 0x658]
mov dl, byte [ebp + ecx - 0x23f]
mov byte [eax + 0x2e], dl
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x658]
mov ecx, dword [ebp - 0x658]
mov dl, byte [ebp + ecx - 0x240]
mov byte [eax + 0x2f], dl
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x658]
xor ecx, ecx
mov cl, byte [eax + 0x2e]
test ecx, ecx
jne 0x42a871
mov edx, dword [ebp - 0x30]
add edx, dword [ebp - 0x658]
mov byte [edx + 0x2e], 0x20
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x658]
xor ecx, ecx
mov cl, byte [eax + 0x2f]
test ecx, ecx
jne 0x42a890
mov edx, dword [ebp - 0x30]
add edx, dword [ebp - 0x658]
mov byte [edx + 0x2f], 0x20
jmp 0x42a808
mov eax, dword [ebp - 0x898]
cmp dword [eax + 0x1199c], 0
je 0x42a90c
mov dword [ebp - 0x658], 0
jmp 0x42a8bf
mov ecx, dword [ebp - 0x658]
add ecx, 2
mov dword [ebp - 0x658], ecx
cmp dword [ebp - 0x658], 0x10
jge 0x42a90c
mov edx, dword [ebp - 0x30]
add edx, dword [ebp - 0x658]
mov eax, dword [ebp - 0x898]
add eax, dword [ebp - 0x658]
mov cl, byte [eax + 0x119b2]
mov byte [edx + 0xd8], cl
mov edx, dword [ebp - 0x30]
add edx, dword [ebp - 0x658]
mov eax, dword [ebp - 0x898]
add eax, dword [ebp - 0x658]
mov cl, byte [eax + 0x119b1]
mov byte [edx + 0xd9], cl
jmp 0x42a8b0
mov edx, dword [ebp - 0x898]
cmp dword [edx + 0x11998], 0
jne 0x42a968
mov eax, dword [ebp - 0x898]
cmp dword [eax + 0x1199c], 0
jne 0x42a968
cmp dword [0x5291ac], 0
jne 0x42a968
cmp dword [0x5291a0], 0
jne 0x42a968
mov ecx, dword [ebp - 0x30]
mov dl, byte [ecx + 0xa9]
and dl, 0xfe
mov eax, dword [ebp - 0x30]
mov byte [eax + 0xa9], dl
mov ecx, dword [ebp - 0x30]
mov dl, byte [ecx + 0xaf]
and dl, 0xfe
mov eax, dword [ebp - 0x30]
mov byte [eax + 0xaf], dl
jmp 0x42a992
mov ecx, dword [ebp - 0x30]
mov dl, byte [ecx + 0xa9]
or dl, 1
mov eax, dword [ebp - 0x30]
mov byte [eax + 0xa9], dl
mov ecx, dword [ebp - 0x30]
mov dl, byte [ecx + 0xaf]
or dl, 1
mov eax, dword [ebp - 0x30]
mov byte [eax + 0xaf], dl
push 0x208
push 0
lea ecx, [ebp - 0x650]
push ecx
call fcn.004a9cd0
add esp, 0xc
mov edx, dword [ebp - 0x898]
add edx, 0x118e1
push edx
call fcn.004aabc0
add esp, 4
push eax
mov eax, dword [ebp - 0x898]
add eax, 0x118e1
push eax
lea ecx, [ebp - 0x650]
push ecx
call fcn.004aa370
add esp, 0xc
mov dword [ebp - 0x658], 0
jmp 0x42a9f4
mov edx, dword [ebp - 0x658]
add edx, 2
mov dword [ebp - 0x658], edx
cmp dword [ebp - 0x658], 0x3e
jge 0x42aa37
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x658]
mov ecx, dword [ebp - 0x658]
mov dl, byte [ebp + ecx - 0x64f]
mov byte [eax + 0x102], dl
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x658]
mov ecx, dword [ebp - 0x658]
mov dl, byte [ebp + ecx - 0x650]
mov byte [eax + 0x103], dl
jmp 0x42a9e5
mov eax, dword [ebp - 0x898]
cmp dword [eax + 0x11cd0], 0
je 0x42aa5d
mov ecx, dword [ebp - 0x30]
mov dl, byte [ecx + 0x152]
or dl, 1
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x152], dl
jmp 0x42aa72
mov ecx, dword [ebp - 0x30]
mov dl, byte [ecx + 0x152]
and dl, 0xfe
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x152], dl
mov ecx, dword [ebp - 0x898]
cmp dword [ecx + 0x11cd4], 0
je 0x42aa97
mov edx, dword [ebp - 0x30]
mov al, byte [edx + 0xa4]
or al, 2
mov ecx, dword [ebp - 0x30]
mov byte [ecx + 0xa4], al
jmp 0x42aabf
mov edx, dword [ebp - 0x30]
mov al, byte [edx + 0xa4]
and al, 0xfd
mov ecx, dword [ebp - 0x30]
mov byte [ecx + 0xa4], al
mov edx, dword [ebp - 0x30]
mov al, byte [edx + 0xaa]
and al, 0xfd
mov ecx, dword [ebp - 0x30]
mov byte [ecx + 0xaa], al
mov edx, dword [ebp - 0x898]
cmp dword [edx + 0x11cd8], 0
je 0x42aae5
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x9d]
or cl, 1
mov edx, dword [ebp - 0x30]
mov byte [edx + 0x9d], cl
jmp 0x42ab0f
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x9d]
and cl, 0xfe
mov edx, dword [ebp - 0x30]
mov byte [edx + 0x9d], cl
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x9f]
and cl, 0xfe
mov edx, dword [ebp - 0x30]
mov byte [edx + 0x9f], cl
mov eax, dword [ebp - 0x898]
cmp dword [eax + 0x11cdc], 0
je 0x42ab35
mov ecx, dword [ebp - 0x30]
mov dl, byte [ecx + 0x99]
and dl, 0xfd
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x99], dl
jmp 0x42ab4a
mov ecx, dword [ebp - 0x30]
mov dl, byte [ecx + 0x99]
or dl, 2
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x99], dl
mov ecx, dword [ebp - 0x898]
cmp dword [ecx + 0x11ce0], 0
je 0x42ab83
mov edx, dword [ebp - 0x30]
mov al, byte [edx + 0x9c]
and al, 0xf7
mov ecx, dword [ebp - 0x30]
mov byte [ecx + 0x9c], al
mov edx, dword [ebp - 0x30]
mov al, byte [edx + 0x9e]
and al, 0xf7
mov ecx, dword [ebp - 0x30]
mov byte [ecx + 0x9e], al
jmp 0x42ab97
mov edx, dword [ebp - 0x30]
mov al, byte [edx + 0x9c]
or al, 8
mov ecx, dword [ebp - 0x30]
mov byte [ecx + 0x9c], al
mov edx, dword [ebp - 0x898]
cmp dword [edx + 0x11ce4], 0
je 0x42abd2
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0xa4]
and cl, 0xdf
mov edx, dword [ebp - 0x30]
mov byte [edx + 0xa4], cl
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0xaa]
and cl, 0xdf
mov edx, dword [ebp - 0x30]
mov byte [edx + 0xaa], cl
jmp 0x42abe7
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0xa4]
or cl, 0x20
mov edx, dword [ebp - 0x30]
mov byte [edx + 0xa4], cl
cmp dword [0x528488], 1
jne 0x42ac04
mov eax, dword [ebp - 0x30]
mov byte [eax + 0xd4], 3
mov ecx, dword [ebp - 0x30]
mov byte [ecx + 0xd5], 0x60
cmp dword [0x528f74], 0
je 0x42ac83
mov edx, dword [ebp - 0x898]
cmp dword [edx + 0x11ce8], 0
je 0x42ac33
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x8a]
or cl, 0x20
mov edx, dword [ebp - 0x30]
mov byte [edx + 0x8a], cl
jmp 0x42ac48
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x8a]
and cl, 0xdf
mov edx, dword [ebp - 0x30]
mov byte [edx + 0x8a], cl
mov eax, dword [ebp - 0x898]
cmp dword [eax + 0x11cec], 0
je 0x42ac6e
mov ecx, dword [ebp - 0x30]
mov dl, byte [ecx + 0xee]
or dl, 4
mov eax, dword [ebp - 0x30]
mov byte [eax + 0xee], dl
jmp 0x42ac83
mov ecx, dword [ebp - 0x30]
mov dl, byte [ecx + 0xee]
and dl, 0xfb
mov eax, dword [ebp - 0x30]
mov byte [eax + 0xee], dl
cmp dword [0x52848c], 0
je 0x42aca1
mov ecx, dword [ebp - 0x30]
mov dl, byte [ecx + 0x8a]
or dl, 0x10
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x8a], dl
mov ecx, dword [ebp - 0x898]
mov edx, dword [ecx + 0xf2]
shl edx, 1
mov dword [ebp - 0x87c], edx
mov eax, dword [ebp - 0x87c]
and eax, 0xff
mov ecx, dword [ebp - 0x30]
mov byte [ecx + 0x1d4], al
mov edx, dword [ebp - 0x87c]
and edx, 0xff
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x1d6], dl
mov ecx, dword [ebp - 0x87c]
shr ecx, 8
and ecx, 0xff
mov edx, dword [ebp - 0x30]
mov byte [edx + 0x1d5], cl
mov eax, dword [ebp - 0x87c]
shr eax, 8
and eax, 0xff
mov ecx, dword [ebp - 0x30]
mov byte [ecx + 0x1d7], al
lea ecx, [ebp - 0x1c]
call fcn.0042d620
mov edx, dword [ebp - 0x654]
push edx
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004cf709
mov ecx, dword [ebp - 0x880]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x30]
push edx
call fcn.004aa6ad
add esp, 4
mov dword [ebp - 0x894], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004cf4f5
mov eax, dword [ebp - 0x894]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret