Function at 0x42a3fb
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e92fe
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.004d3300
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
push 0x10000
call fcn.004ae6be
add esp, 4
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x42a486
push 0
push 0x5110cc
push str.Cant_allocate_memory_to_generate_IDtable_binary_file
mov ecx, dword [ebp - 0x898]
call fcn.004cfc0e
mov dword [ebp - 0x884], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004d33f5
mov eax, dword [ebp - 0x884]
jmp 0x42b10d
push 0x10000
push 0
mov eax, dword [ebp - 0x30]
push eax
call fcn.004adbd0
add esp, 0xc
push 0x208
push 0
lea ecx, [ebp - 0x238]
push ecx
call fcn.004adbd0
add esp, 0xc
mov edx, dword [ebp - 0x898]
add edx, 0x2dd
push edx
lea eax, [ebp - 0x238]
push eax
call fcn.004ade30
add esp, 8
push 0x51110c
lea ecx, [ebp - 0x238]
push ecx
call fcn.004ade40
add esp, 8
push 0x208
push 0
lea edx, [ebp - 0x650]
push edx
call fcn.004adbd0
add esp, 0xc
push 0x10
push 0x52df50
lea eax, [ebp - 0x650]
push eax
call fcn.004ae270
add esp, 0xc
movsx ecx, byte [ebp - 0x650]
test ecx, ecx
jne 0x42a558
cmp dword [0x52d238], 0x979
jne 0x42a538
push 0x511118
lea edx, [ebp - 0x650]
push edx
call fcn.004ade30
add esp, 8
jmp 0x42a558
cmp dword [0x52d238], 0x97a
jne 0x42a558
push 0x511120
lea eax, [ebp - 0x650]
push eax
call fcn.004ade30
add esp, 8
cmp dword [0x52df3c], 0
je 0x42a5c4
push 0x511128
lea ecx, [ebp - 0x650]
push ecx
call fcn.004ade40
add esp, 8
mov edx, dword [ebp - 0x898]
add edx, 0x2d6
push edx
lea eax, [ebp - 0x650]
push eax
call fcn.004ade40
add esp, 8
movsx ecx, byte [0x52df38]
test ecx, ecx
je 0x42a5c4
push 0x51112c
lea edx, [ebp - 0x650]
push edx
call fcn.004ade40
add esp, 8
push 0x52df38
lea eax, [ebp - 0x650]
push eax
call fcn.004ade40
add esp, 8
lea ecx, [ebp - 0x650]
push ecx
lea edx, [ebp - 0x238]
push edx
call fcn.004ade40
add esp, 8
cmp dword [0x52d238], 0x979
jne 0x42a621
mov eax, dword [ebp - 0x898]
cmp dword [eax + 0x117c8], 0
je 0x42a60b
push 0x511130
lea ecx, [ebp - 0x238]
push ecx
call fcn.004ade40
add esp, 8
jmp 0x42a61f
push 0x511140
lea edx, [ebp - 0x238]
push edx
call fcn.004ade40
add esp, 8
jmp 0x42a666
cmp dword [0x52d238], 0x97a
jne 0x42a666
mov eax, dword [ebp - 0x898]
cmp dword [eax + 0x117c8], 0
je 0x42a652
push 0x511150
lea ecx, [ebp - 0x238]
push ecx
call fcn.004ade40
add esp, 8
jmp 0x42a666
push 0x511160
lea edx, [ebp - 0x238]
push edx
call fcn.004ade40
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 0x42a79f
push 0x208
push 0
lea ecx, [ebp - 0x878]
push ecx
call fcn.004adbd0
add esp, 0xc
cmp dword [0x52d238], 0x97a
jne 0x42a703
mov edx, dword [ebp - 0x898]
cmp dword [edx + 0x117c8], 0
je 0x42a6e6
lea eax, [ebp - 0x650]
push eax
push str.Cant_open_.Firmware_sISP2256RDT.bin__please_check.
lea ecx, [ebp - 0x878]
push ecx
call fcn.004ae0dd
add esp, 0xc
jmp 0x42a701
lea edx, [ebp - 0x650]
push edx
push str.Cant_open_.Firmware_sISP2256.bin__please_check.
lea eax, [ebp - 0x878]
push eax
call fcn.004ae0dd
add esp, 0xc
jmp 0x42a756
cmp dword [0x52d238], 0x979
jne 0x42a756
mov ecx, dword [ebp - 0x898]
cmp dword [ecx + 0x117c8], 0
je 0x42a73b
lea edx, [ebp - 0x650]
push edx
push str.Cant_open_.Firmware_sISP2258RDT.bin__please_check.
lea eax, [ebp - 0x878]
push eax
call fcn.004ae0dd
add esp, 0xc
jmp 0x42a756
lea ecx, [ebp - 0x650]
push ecx
push str.Cant_open_.Firmware_sISP2258.bin__please_check.
lea edx, [ebp - 0x878]
push edx
call fcn.004ae0dd
add esp, 0xc
push 0
push 0x511248
lea eax, [ebp - 0x878]
push eax
mov ecx, dword [ebp - 0x898]
call fcn.004cfc0e
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004ae5ad
add esp, 4
mov dword [ebp - 0x888], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004d33f5
mov eax, dword [ebp - 0x888]
jmp 0x42b10d
mov edx, dword [ebp - 0x880]
mov dword [ebp - 0x18], edx
lea ecx, [ebp - 0x1c]
call fcn.0042d9d0
push 0x10000
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004d35cf
push 0x10
push 0
lea ecx, [ebp - 0x66c]
push ecx
call fcn.004adbd0
add esp, 0xc
push 0x10
mov edx, dword [ebp - 0x30]
add edx, 0xeff0
push edx
lea eax, [ebp - 0x66c]
push eax
call fcn.004ae270
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.004adbd0
add esp, 0xc
mov eax, dword [ebp - 0x898]
add eax, 0x2dd
push eax
lea ecx, [ebp - 0x238]
push ecx
call fcn.004ade30
add esp, 8
push 0x511250
lea edx, [ebp - 0x238]
push edx
call fcn.004ade40
add esp, 8
lea eax, [ebp - 0x650]
push eax
lea ecx, [ebp - 0x238]
push ecx
call fcn.004ade40
add esp, 8
push str.IDtable.bin
lea edx, [ebp - 0x238]
push edx
call fcn.004ade40
add esp, 8
push 0x208
push 0
lea eax, [ebp - 0x448]
push eax
call fcn.004adbd0
add esp, 0xc
mov ecx, dword [ebp - 0x898]
add ecx, 0x2dd
push ecx
lea edx, [ebp - 0x448]
push edx
call fcn.004ade30
add esp, 8
push 0x51126c
lea eax, [ebp - 0x448]
push eax
call fcn.004ade40
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 0x42a95c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x65c], eax
push 0x208
push 0
lea eax, [ebp - 0x878]
push eax
call fcn.004adbd0
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.004ae0dd
add esp, 0x10
push 0
push 0x5112ec
lea ecx, [ebp - 0x878]
push ecx
mov ecx, dword [ebp - 0x898]
call fcn.004cfc0e
mov edx, dword [ebp - 0x30]
push edx
call fcn.004ae5ad
add esp, 4
mov dword [ebp - 0x88c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004d33f5
mov eax, dword [ebp - 0x88c]
jmp 0x42b10d
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 0x42a9e7
push 0x208
push 0
lea ecx, [ebp - 0x878]
push ecx
call fcn.004adbd0
add esp, 0xc
push 0
push 0x5112f4
push str.Cant_open_.DriveSettingMP_IDtable.bin__please_check.
mov ecx, dword [ebp - 0x898]
call fcn.004cfc0e
mov edx, dword [ebp - 0x30]
push edx
call fcn.004ae5ad
add esp, 4
mov dword [ebp - 0x890], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004d33f5
mov eax, dword [ebp - 0x890]
jmp 0x42b10d
push 0x10000
push 0
mov eax, dword [ebp - 0x30]
push eax
call fcn.004adbd0
add esp, 0xc
mov ecx, dword [ebp - 0x880]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x1c]
call fcn.004d37ac
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.004d35cf
mov ecx, dword [ebp - 0x898]
cmp dword [ecx + 0x11930], 0
jne 0x42aa42
mov edx, dword [ebp - 0x30]
mov byte [edx], 0x40
mov eax, dword [ebp - 0x30]
mov byte [eax + 1], 0
jmp 0x42aa7c
mov ecx, dword [ebp - 0x898]
cmp dword [ecx + 0x11930], 1
jne 0x42aa60
mov edx, dword [ebp - 0x30]
mov byte [edx], 0x4a
mov eax, dword [ebp - 0x30]
mov byte [eax + 1], 4
jmp 0x42aa7c
mov ecx, dword [ebp - 0x898]
cmp dword [ecx + 0x11930], 2
jne 0x42aa7c
mov edx, dword [ebp - 0x30]
mov byte [edx], 0x8a
mov eax, dword [ebp - 0x30]
mov byte [eax + 1], 0x84
cmp dword [0x52d1c8], 1
jne 0x42aa92
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.004adbd0
add esp, 0xc
mov ecx, dword [ebp - 0x898]
movsx edx, byte [ecx + 0x11924]
test edx, edx
je 0x42aad8
push 8
mov eax, dword [ebp - 0x898]
add eax, 0x11924
push eax
lea ecx, [ebp - 0x240]
push ecx
call fcn.004ae270
add esp, 0xc
jmp 0x42aba9
mov edx, dword [ebp - 0x66c]
and edx, 0xff
cmp edx, 0x30
jl 0x42ab91
mov eax, dword [ebp - 0x66c]
and eax, 0xff
cmp eax, 0x39
jg 0x42ab91
push 0x10
push 0
lea ecx, [ebp - 0x2c]
push ecx
call fcn.004adbd0
add esp, 0xc
push 4
lea edx, [ebp - 0x66c]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.004ae270
add esp, 0xc
lea ecx, [ebp - 0x2c]
push ecx
call fcn.004ae027
add esp, 4
mov dword [ebp - 0x670], eax
push 0x10
push 0
lea edx, [ebp - 0x2c]
push edx
call fcn.004adbd0
add esp, 0xc
push 6
lea eax, [ebp - 0x668]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.004ae270
add esp, 0xc
movsx edx, byte [ebp - 0x27]
cmp edx, 0x5f
jne 0x42ab6a
mov byte [ebp - 0x27], 0x20
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x670]
sub ecx, 0x790
push ecx
push 0x511334
lea edx, [ebp - 0x240]
push edx
call fcn.004ae0dd
add esp, 0x10
jmp 0x42aba9
push 7
lea eax, [ebp - 0x66c]
push eax
lea ecx, [ebp - 0x240]
push ecx
call fcn.004ae270
add esp, 0xc
mov dword [ebp - 0x658], 0
jmp 0x42abc4
mov edx, dword [ebp - 0x658]
add edx, 2
mov dword [ebp - 0x658], edx
cmp dword [ebp - 0x658], 8
jge 0x42ac42
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 0x42ac1e
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 0x42ac3d
mov edx, dword [ebp - 0x30]
add edx, dword [ebp - 0x658]
mov byte [edx + 0x2f], 0x20
jmp 0x42abb5
mov eax, dword [ebp - 0x898]
cmp dword [eax + 0x119a0], 0
je 0x42acb9
mov dword [ebp - 0x658], 0
jmp 0x42ac6c
mov ecx, dword [ebp - 0x658]
add ecx, 2
mov dword [ebp - 0x658], ecx
cmp dword [ebp - 0x658], 0x10
jge 0x42acb9
mov edx, dword [ebp - 0x30]
add edx, dword [ebp - 0x658]
mov eax, dword [ebp - 0x898]
add eax, dword [ebp - 0x658]
mov cl, byte [eax + 0x119b6]
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 + 0x119b5]
mov byte [edx + 0xd9], cl
jmp 0x42ac5d
mov edx, dword [ebp - 0x898]
cmp dword [edx + 0x1199c], 0
jne 0x42ad15
mov eax, dword [ebp - 0x898]
cmp dword [eax + 0x119a0], 0
jne 0x42ad15
cmp dword [0x52defc], 0
jne 0x42ad15
cmp dword [0x52def0], 0
jne 0x42ad15
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 0x42ad3f
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.004adbd0
add esp, 0xc
mov edx, dword [ebp - 0x898]
add edx, 0x118e5
push edx
call fcn.004aeac0
add esp, 4
push eax
mov eax, dword [ebp - 0x898]
add eax, 0x118e5
push eax
lea ecx, [ebp - 0x650]
push ecx
call fcn.004ae270
add esp, 0xc
mov dword [ebp - 0x658], 0
jmp 0x42ada1
mov edx, dword [ebp - 0x658]
add edx, 2
mov dword [ebp - 0x658], edx
cmp dword [ebp - 0x658], 0x3e
jge 0x42ade4
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 0x42ad92
mov eax, dword [ebp - 0x898]
cmp dword [eax + 0x11cd4], 0
je 0x42ae0a
mov ecx, dword [ebp - 0x30]
mov dl, byte [ecx + 0x152]
or dl, 1
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x152], dl
jmp 0x42ae1f
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 + 0x11cd8], 0
je 0x42ae44
mov edx, dword [ebp - 0x30]
mov al, byte [edx + 0xa4]
or al, 2
mov ecx, dword [ebp - 0x30]
mov byte [ecx + 0xa4], al
jmp 0x42ae6c
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 + 0x11cdc], 0
je 0x42ae92
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x9d]
or cl, 1
mov edx, dword [ebp - 0x30]
mov byte [edx + 0x9d], cl
jmp 0x42aebc
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 + 0x11ce0], 0
je 0x42aee2
mov ecx, dword [ebp - 0x30]
mov dl, byte [ecx + 0x99]
and dl, 0xfd
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x99], dl
jmp 0x42aef7
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 + 0x11ce4], 0
je 0x42af30
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 0x42af44
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 + 0x11ce8], 0
je 0x42af7f
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 0x42af94
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 [0x52d1c8], 1
jne 0x42afb1
mov eax, dword [ebp - 0x30]
mov byte [eax + 0xd4], 3
mov ecx, dword [ebp - 0x30]
mov byte [ecx + 0xd5], 0x60
cmp dword [0x52dcc4], 0
je 0x42b030
mov edx, dword [ebp - 0x898]
cmp dword [edx + 0x11cec], 0
je 0x42afe0
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x8a]
or cl, 0x20
mov edx, dword [ebp - 0x30]
mov byte [edx + 0x8a], cl
jmp 0x42aff5
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 + 0x11cf0], 0
je 0x42b01b
mov ecx, dword [ebp - 0x30]
mov dl, byte [ecx + 0xee]
or dl, 4
mov eax, dword [ebp - 0x30]
mov byte [eax + 0xee], dl
jmp 0x42b030
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 [0x52d1cc], 0
je 0x42b04e
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.0042d9d0
mov edx, dword [ebp - 0x654]
push edx
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004d3609
mov ecx, dword [ebp - 0x880]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x30]
push edx
call fcn.004ae5ad
add esp, 4
mov dword [ebp - 0x894], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004d33f5
mov eax, dword [ebp - 0x894]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret