Function at 0x4255c0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push edi
lea edi, [esp + 8]
and esp, 0xfffffff8
push dword [edi - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x198
mov edx, dword [0x6f7704]
test edx, edx
je 0x426390
mov eax, dword [0x6f7700]
test eax, eax
je 0x426390
mov eax, 1
call fcn.004224e0
mov dword [ebp - 0x174], eax
mov ebx, eax
cmp eax, 0xffffffff
je 0x4262c8
lea edi, [ebp - 0x12c]
mov dword [esp], eax
mov dword [esp + 4], edi
call dword [sym.imp.kernel32.dll_GetCommState]
sub esp, 8
mov dword [ebp - 0x178], eax
call fcn.0057d110
mov esi, dword fs:[0x18]
mov dword [eax], 0x58b46e
mov dword [eax + 4], 0x7f8
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.GetCommState_error__ld_n
mov dword [esp + 8], eax
mov edx, dword [ebp - 0x178]
mov dword [esp], edx
call fcn.00421f50
movzx eax, word [0x58efdc]
mov dword [ebp - 0x128], 0x2580
mov byte [ebp - 0x118], 0
mov word [ebp - 0x11a], ax
movzx eax, word [ebp - 0x124]
and ax, 0xcfcf
or ax, 0x1010
mov word [ebp - 0x124], ax
mov dword [esp + 4], edi
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_SetCommState]
sub esp, 8
mov edi, eax
call fcn.0057d110
mov dword [eax], 0x58b46e
mov dword [eax + 4], 0x800
mov eax, dword [esi + 0x34]
mov dword [esp], edi
mov dword [esp + 8], eax
mov dword [esp + 4], str.SetCommState_error__ld_n
call fcn.00421f50
lea eax, [ebp - 0x154]
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x14c], 0x3e8
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_SetCommTimeouts]
sub esp, 8
mov edi, eax
call fcn.0057d110
mov dword [eax], 0x58b46e
mov dword [eax + 4], 0x805
mov eax, dword [esi + 0x34]
mov dword [esp], edi
mov dword [esp + 8], eax
mov dword [esp + 4], str.SetCommTimeouts_error__ld_n
call fcn.00421f50
mov dword [esp + 8], 0x400
mov dword [esp + 4], 0x400
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_SetupComm]
sub esp, 0xc
mov edi, eax
call fcn.0057d110
mov dword [eax], 0x58b46e
mov dword [eax + 4], 0x808
mov eax, dword [esi + 0x34]
mov dword [esp], edi
mov dword [esp + 8], eax
mov dword [esp + 4], str.SetUpComm_error__ld_n
call fcn.00421f50
lea eax, [ebp - 0x170]
mov dword [esi + 0x34], 0xdeadbeef
mov dword [ebp - 0x170], 0xdeadbeef
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], str.ATZ_r_n
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_WriteFile]
sub esp, 0x14
mov edi, eax
call fcn.0057d110
mov dword [eax], 0x58b46e
mov dword [eax + 4], 0x80d
xor eax, eax
test edi, edi
mov edi, 0xffffffff
sete al
mov dword [esp + 4], str.WriteFile_should_fail_n
mov dword [esp], eax
call fcn.00421f50
call fcn.0057d110
mov dword [eax], 0x58b46e
mov dword [eax + 4], 0x80e
mov eax, dword [esi + 0x34]
mov dword [esp + 4], 0x58bc5c
mov dword [esp + 8], eax
xor eax, eax
cmp dword [esi + 0x34], 0x57
sete al
mov dword [esp], eax
call fcn.00421f50
call fcn.0057d110
mov dword [eax], 0x58b46e
mov dword [eax + 4], 0x80f
mov eax, dword [ebp - 0x170]
mov dword [esp + 4], 0x58c881
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00421f50
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x15c], 0xffffffff
mov dword [ebp - 0x158], 0xffffffff
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], str.ATZ_r_n
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
call dword [0x6f7700]
sub esp, 0x24
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x58b46e
mov dword [eax + 4], 0x814
xor eax, eax
cmp esi, 0xc000000d
sete al
mov dword [esp + 8], esi
mov esi, 0xffffffec
mov dword [esp], eax
mov dword [esp + 4], str.expected_STATUS_INVALID_PARAMETER__got__lx_n
call fcn.00421f50
call fcn.0057d110
mov dword [eax], 0x58b46e
mov dword [eax + 4], 0x815
mov eax, dword [ebp - 0x15c]
mov dword [esp + 4], str.expected__1__got__lx_n
cmp eax, 0xffffffff
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00421f50
call fcn.0057d110
mov dword [eax], 0x58b46e
mov dword [eax + 4], 0x816
mov eax, dword [ebp - 0x158]
mov dword [esp + 4], str.expected__1__got__Id_n
cmp eax, 0xffffffff
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00421f50
lea esi, [esi]
lea eax, [ebp - 0x168]
mov dword [ebp - 0x168], esi
mov dword [ebp - 0x15c], 0xffffffff
mov dword [ebp - 0x158], 0xffffffff
mov dword [ebp - 0x164], edi
mov dword [esp + 0x1c], eax
lea eax, [ebp - 0x15c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], str.ATZ_r_n
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x174]
mov dword [esp], eax
call dword [0x6f7700]
sub esp, 0x24
mov ebx, eax
cmp esi, 0xffffffff
jl 0x4262d8
call fcn.0057d110
mov dword [eax], 0x58b46e
mov dword [eax + 4], 0x820
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 8], esi
mov dword [esp], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 4], str._ld:_expected_STATUS_SUCCESS__got__lx_n
call fcn.00421f50
call fcn.0057d110
mov dword [eax], 0x58b46e
mov dword [eax + 4], 0x821
mov eax, dword [ebp - 0x15c]
mov dword [esp + 8], esi
test eax, eax
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 4], str._ld:_expected_STATUS_SUCCESS__got__lx_n
movzx eax, al
mov dword [esp], eax
call fcn.00421f50
call fcn.0057d110
mov dword [eax], 0x58b46e
mov dword [eax + 4], 0x822
mov eax, dword [ebp - 0x158]
mov dword [esp + 8], esi
test eax, eax
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 4], str._ld:_expected_0__got__Iu_n
movzx eax, al
mov dword [esp], eax
call fcn.00421f50
add esi, 1
mov eax, esi
adc edi, 0
xor eax, 0x14
or eax, edi
jne 0x425968
mov dword [ebp - 0x15c], 0xffffffff
lea eax, [ebp - 0x168]
mov dword [ebp - 0x158], 0xffffffff
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 0
mov dword [esp + 0x1c], eax
lea eax, [ebp - 0x15c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 6
mov dword [esp + 0x14], str.ATZ_r_n
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov edi, dword [ebp - 0x174]
mov dword [esp], edi
call dword [0x6f7700]
sub esp, 0x24
mov esi, eax
call fcn.0057d110
cmp esi, 0x103
mov dword [eax], 0x58b46e
mov dword [eax + 4], 0x830
sete al
test esi, esi
sete dl
mov dword [esp + 8], esi
or eax, edx
mov dword [esp + 4], str.expected_STATUS_PENDING_or_STATUS_SUCCESS__got__lx_n
movzx eax, al
mov dword [esp], eax
call fcn.00421f50
mov dword [esp], edi
mov edi, dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov dword [esp + 4], 0x3e8
call edi
sub esp, 8
mov esi, eax
cmp eax, 0x102
je 0x426472
call fcn.0057d110
mov dword [eax], 0x58b46e
mov dword [eax + 4], 0x83c
xor eax, eax
test esi, esi
sete al
mov dword [esp + 8], esi
mov dword [esp], eax
mov dword [esp + 4], str.WaitForSingleObject_error__ld_n
call fcn.00421f50
call fcn.0057d110
mov dword [eax], 0x58b46e
mov dword [eax + 4], 0x83d
mov eax, dword [ebp - 0x15c]
mov dword [esp + 4], str.expected_STATUS_SUCCESS__got__lx_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00421f50
call fcn.0057d110
mov dword [eax], 0x58b46e
mov dword [eax + 4], 0x83e
mov eax, dword [ebp - 0x158]
mov dword [esp + 4], str.expected_sizeof_atz___got__Iu_n
cmp eax, 6
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
mov ebx, dword fs:[0x18]
call fcn.00421f50
mov dword [esp + 4], 1
mov eax, dword [ebp - 0x174]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_SetCommMask]
sub esp, 8
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x58b46e
mov dword [eax + 4], 0x841
mov eax, dword [ebx + 0x34]
mov dword [esp], esi
mov dword [esp + 8], eax
mov dword [esp + 4], str.SetCommMask_error__ld_n
call fcn.00421f50
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateEventW]
sub esp, 0x10
mov dword [ebp - 0x130], eax
call fcn.0057d110
mov dword [eax], 0x58b46e
mov dword [eax + 4], 0x847
mov dword [esp], str.waiting_3_secs_for_modem_response..._n
call fcn.004219c0
mov ecx, dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [ebp - 0x17c], ecx
call ecx
lea edx, [ebp - 0x140]
mov dword [ebx + 0x34], 0xdeadbeef
mov dword [ebp - 0x178], eax
lea eax, [ebp - 0x16c]
mov dword [ebp - 0x16c], 0
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x174]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WaitCommEvent]
sub esp, 0xc
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x58b46e
mov dword [eax + 4], 0x84f
xor eax, eax
mov edx, dword [ebx + 0x34]
test esi, esi
jne 0x425d2e
xor eax, eax
cmp edx, 0x3e5
sete al
mov dword [esp], eax
mov dword [esp + 0xc], edx
mov dword [esp + 8], esi
mov dword [esp + 4], str.WaitCommEvent_returned__ld__error__ld_n
call fcn.00421f50
mov eax, dword fs:[0x18]
cmp dword [eax + 0x34], 0x3e5
jne 0x4262a6
mov ebx, dword [ebp - 0x17c]
jmp 0x425d7b
mov ecx, dword [ebp - 0x178]
sub eax, ecx
cmp eax, 0xbb7
ja 0x4262a6
mov dword [esp + 4], 0x64
mov eax, dword [ebp - 0x130]
mov dword [esp], eax
call edi
mov esi, eax
sub esp, 8
call ebx
test esi, esi
jne 0x425d68
call fcn.0057d110
mov dword [eax], 0x58b46e
mov dword [eax + 4], 0x857
mov dword [esp], str.got_modem_response._n
mov esi, dword fs:[0x18]
call fcn.004219c0
lea eax, [ebp - 0x170]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
lea eax, [ebp - 0x140]
mov dword [esp + 4], eax
mov ebx, dword [ebp - 0x174]
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GetOverlappedResult]
sub esp, 0x10
mov edi, eax
call fcn.0057d110
mov dword [eax], 0x58b46e
mov dword [eax + 4], 0x85b
mov eax, dword [esi + 0x34]
mov dword [esp], edi
mov dword [esp + 8], eax
mov dword [esp + 4], str.GetOverlappedResult_reported_error__ld_n
call fcn.00421f50
call fcn.0057d110
mov dword [eax], 0x58b46e
mov dword [eax + 4], 0x85c
mov eax, dword [ebp - 0x170]
mov dword [esp + 4], str.expected_sizeof_evtmask___got__lu_n
cmp eax, 4
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00421f50
call fcn.0057d110
mov dword [eax], 0x58b46e
mov dword [eax + 4], 0x85d
mov dword [esp + 4], str.EV_RXCHAR_should_be_set_n
mov eax, dword [ebp - 0x16c]
and eax, 1
mov dword [esp], eax
call fcn.00421f50
lea eax, [ebp - 0x170]
mov dword [esi + 0x34], 0xdeadbeef
mov dword [ebp - 0x170], 0xdeadbeef
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x110]
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_ReadFile]
sub esp, 0x14
mov edi, eax
call fcn.0057d110
mov dword [eax], 0x58b46e
mov dword [eax + 4], 0x862
xor eax, eax
test edi, edi
mov edi, 0xffffffff
sete al
mov dword [esp + 4], 0x58caf8
mov dword [esp], eax
call fcn.00421f50
call fcn.0057d110
mov dword [eax], 0x58b46e
mov dword [eax + 4], 0x863
mov eax, dword [esi + 0x34]
mov dword [esp + 4], 0x58bc5c
mov dword [esp + 8], eax
xor eax, eax
cmp dword [esi + 0x34], 0x57
sete al
mov dword [esp], eax
call fcn.00421f50
call fcn.0057d110
mov dword [eax], 0x58b46e
mov dword [eax + 4], 0x864
mov eax, dword [ebp - 0x170]
mov dword [esp + 4], 0x58c881
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00421f50
lea eax, [ebp - 0x110]
mov dword [ebp - 0x15c], 0xffffffff
mov dword [ebp - 0x158], 0xffffffff
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x15c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
call dword [0x6f7704]
sub esp, 0x24
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x58b46e
mov dword [eax + 4], 0x869
xor eax, eax
cmp esi, 0xc000000d
sete al
mov dword [esp + 8], esi
mov esi, 0xffffffec
mov dword [esp], eax
mov dword [esp + 4], str.expected_STATUS_INVALID_PARAMETER__got__lx_n
call fcn.00421f50
call fcn.0057d110
mov dword [eax], 0x58b46e
mov dword [eax + 4], 0x86a
mov eax, dword [ebp - 0x15c]
mov dword [esp + 4], str.expected__1__got__lx_n
cmp eax, 0xffffffff
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00421f50
call fcn.0057d110
mov dword [eax], 0x58b46e
mov dword [eax + 4], 0x86b
mov eax, dword [ebp - 0x158]
mov dword [esp + 4], str.expected__1__got__Id_n
cmp eax, 0xffffffff
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00421f50
lea esi, [esi]
lea eax, [ebp - 0x168]
mov dword [ebp - 0x168], esi
mov dword [ebp - 0x15c], 0xffffffff
mov dword [ebp - 0x158], 0xffffffff
mov dword [ebp - 0x164], edi
mov dword [esp + 0x1c], eax
lea eax, [ebp - 0x110]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x15c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x174]
mov dword [esp], eax
call dword [0x6f7704]
sub esp, 0x24
mov ebx, eax
test esi, esi
js 0x4263c0
call fcn.0057d110
mov dword [eax], 0x58b46e
mov dword [eax + 4], 0x875
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 8], esi
mov dword [esp], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 4], str._ld:_expected_STATUS_SUCCESS__got__lx_n
call fcn.00421f50
call fcn.0057d110
mov dword [eax], 0x58b46e
mov dword [eax + 4], 0x876
mov eax, dword [ebp - 0x15c]
mov dword [esp + 8], esi
test eax, eax
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 4], str._ld:_expected_STATUS_SUCCESS__got__lx_n
movzx eax, al
mov dword [esp], eax
call fcn.00421f50
call fcn.0057d110
mov dword [eax], 0x58b46e
mov dword [eax + 4], 0x877
mov eax, dword [ebp - 0x158]
mov dword [esp + 8], esi
test eax, eax
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 4], str._ld:_expected_0__got__Iu_n
movzx eax, al
mov dword [esp], eax
call fcn.00421f50
add esi, 1
mov eax, esi
adc edi, 0
xor eax, 0x14
or eax, edi
jne 0x426058
mov dword [ebp - 0x15c], 0xffffffff
lea eax, [ebp - 0x168]
mov dword [ebp - 0x158], 0xffffffff
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 0
mov dword [esp + 0x1c], eax
lea eax, [ebp - 0x110]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x15c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 1
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x174]
mov dword [esp], eax
call dword [0x6f7704]
sub esp, 0x24
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x58b46e
mov dword [eax + 4], 0x885
xor eax, eax
test esi, esi
sete al
mov dword [esp + 8], esi
mov dword [esp], eax
mov dword [esp + 4], str.expected_STATUS_SUCCESS__got__lx_n
call fcn.00421f50
call fcn.0057d110
mov dword [eax], 0x58b46e
mov dword [eax + 4], 0x886
mov eax, dword [ebp - 0x15c]
mov dword [esp + 4], str.expected_STATUS_SUCCESS__got__lx_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00421f50
call fcn.0057d110
mov dword [eax], 0x58b46e
mov dword [eax + 4], 0x887
mov eax, dword [ebp - 0x158]
mov dword [esp + 4], str.expected_1__got__Iu_n
cmp eax, 1
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00421f50
mov eax, dword [ebp - 0x130]
mov esi, dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x174]
sub esp, 4
mov dword [esp], eax
call esi
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
ret
call fcn.0057d110
mov dword [eax], 0x58b46e
mov dword [eax + 4], 0x826
xor eax, eax
cmp ebx, 0xc000000d
sete al
mov dword [esp + 8], esi
mov dword [esp], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 4], str._ld:_expected_STATUS_INVALID_PARAMETER__got__lx_n
call fcn.00421f50
call fcn.0057d110
mov dword [eax], 0x58b46e
mov dword [eax + 4], 0x827
mov eax, dword [ebp - 0x15c]
mov dword [esp + 8], esi
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 4], str._ld:_expected__1__got__lx_n
movzx eax, al
mov dword [esp], eax
call fcn.00421f50
call fcn.0057d110
mov dword [eax], 0x58b46e
mov dword [eax + 4], 0x828
mov eax, dword [ebp - 0x158]
mov dword [esp + 8], esi
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 4], str._ld:_expected__1__got__Id_n
movzx eax, al
mov dword [esp], eax
call fcn.00421f50
add esi, 1
adc edi, 0
jmp 0x425968
call fcn.0057d110
mov dword [eax], 0x58b46e
mov dword [eax + 4], 0x7f0
mov dword [esp], str.not_running_on_NT__skipping_test_n
call fcn.00421f20
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
ret
call fcn.0057d110
mov dword [eax], 0x58b46e
mov dword [eax + 4], 0x87b
xor eax, eax
cmp ebx, 0xc000000d
sete al
mov dword [esp + 8], esi
mov dword [esp], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 4], str._ld:_expected_STATUS_INVALID_PARAMETER__got__lx_n
call fcn.00421f50
call fcn.0057d110
mov dword [eax], 0x58b46e
mov dword [eax + 4], 0x87c
mov eax, dword [ebp - 0x15c]
mov dword [esp + 8], esi
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 4], str._ld:_expected__1__got__lx_n
movzx eax, al
mov dword [esp], eax
call fcn.00421f50
call fcn.0057d110
mov dword [eax], 0x58b46e
mov dword [eax + 4], 0x87d
mov eax, dword [ebp - 0x158]
mov dword [esp + 8], esi
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 4], str._ld:_expected__1__got__Id_n
movzx eax, al
mov dword [esp], eax
call fcn.00421f50
add esi, 1
adc edi, 0
jmp 0x426058
call fcn.0057d110
mov dword [eax], 0x58b46e
mov dword [eax + 4], 0x838
mov dword [esp], str.Probably_modem_is_not_connected._n
call fcn.004219b0
mov eax, dword [ebp - 0x174]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
jmp 0x4262c8