Function at 0x1000fa20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10363ec0
mov eax, dword fs:[0]
push eax
sub esp, 0x320
mov eax, dword [0x10480b90]
xor eax, esp
mov dword [esp + 0x318], eax
push ebx
push esi
push edi
mov eax, dword [0x10480b90]
xor eax, esp
push eax
lea eax, [esp + 0x330]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
sub esp, 0x20
mov ebx, esp
mov dword [esp + 0x40], esp
push 0x10420184
push 0x104213b8
push str.__line:
sub esp, 0x20
mov dword [esp + 0x60], ecx
mov ecx, esp
mov dword [esp + 0x64], esp
push str.._arch_win_comm_engine.cpp
mov dword [esp + 0x18c], eax
call fcn.10003660
lea esi, [esp + 0x1ac]
call fcn.10069570
add esp, 0x20
mov esi, eax
xor edi, edi
push 0x10421098
lea ecx, [esp + 0x1f0]
mov dword [esp + 0x368], edi
call fcn.10003660
push esi
push eax
lea ecx, [esp + 0x1d4]
push ecx
mov byte [esp + 0x370], 1
call fcn.10015a90
add esp, 0xc
push eax
lea edx, [esp + 0x210]
push edx
mov byte [esp + 0x36c], 2
call fcn.10015b40
add esp, 0xc
push eax
lea eax, [esp + 0x1ac]
push eax
mov byte [esp + 0x368], 3
call fcn.10015b40
add esp, 0xc
push eax
push ebx
mov byte [esp + 0x364], 4
call fcn.10015b40
sub esp, 0x14
mov byte [esp + 0x378], 5
mov ecx, esp
mov dword [esp + 0x58], esp
push str.comm_engine::send
call fcn.10003660
xor ecx, ecx
lea edx, [esp + 0x340]
mov byte [esp + 0x378], 4
call fcn.10054810
mov esi, 0x10
mov byte [esp + 0x338], 7
cmp dword [esp + 0x19c], esi
jb 0x1000fb76
mov ecx, dword [esp + 0x188]
push ecx
call fcn.1026bc50
add esp, 4
mov ebx, 0xf
lea ecx, [esp + 0x180]
mov dword [esp + 0x19c], ebx
mov dword [esp + 0x198], edi
mov byte [esp + 0x188], 0
call fcn.100012e0
mov byte [esp + 0x338], 8
cmp dword [esp + 0x1fc], esi
jb 0x1000fbbe
mov edx, dword [esp + 0x1e8]
push edx
call fcn.1026bc50
add esp, 4
lea ecx, [esp + 0x1e0]
mov dword [esp + 0x1fc], ebx
mov dword [esp + 0x1f8], edi
mov byte [esp + 0x1e8], 0
call fcn.100012e0
mov byte [esp + 0x338], 9
cmp dword [esp + 0x1bc], esi
jb 0x1000fc01
mov eax, dword [esp + 0x1a8]
push eax
call fcn.1026bc50
add esp, 4
lea ecx, [esp + 0x1a0]
mov dword [esp + 0x1bc], ebx
mov dword [esp + 0x1b8], edi
mov byte [esp + 0x1a8], 0
call fcn.100012e0
mov byte [esp + 0x338], 0xa
cmp dword [esp + 0x1dc], esi
jb 0x1000fc44
mov ecx, dword [esp + 0x1c8]
push ecx
call fcn.1026bc50
add esp, 4
lea ecx, [esp + 0x1c0]
mov dword [esp + 0x1dc], ebx
mov dword [esp + 0x1d8], edi
mov byte [esp + 0x1c8], 0
call fcn.100012e0
mov byte [esp + 0x338], 0xb
cmp dword [esp + 0x17c], esi
jb 0x1000fc87
mov edx, dword [esp + 0x168]
push edx
call fcn.1026bc50
add esp, 4
lea ecx, [esp + 0x160]
mov dword [esp + 0x17c], ebx
mov dword [esp + 0x178], edi
mov byte [esp + 0x168], 0
call fcn.100012e0
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x24], edi
cmp ecx, edi
jbe 0x10010e48
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, dword [esp + 0x13c]
xor ebx, ebx
jmp 0x1000fcd0
xor eax, eax
mov dword [esp + 0x150], eax
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], eax
mov dword [esp + 0x148], eax
mov dword [esp + 0x14c], eax
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x10]
mov edx, dword [edx + 8]
mov dword [esp + 0x150], edx
lea edx, [esp + 0x140]
push edx
mov edx, dword [esp + 0x28]
push ebx
sub ecx, edx
push ecx
lea ecx, [esi + edx]
mov edx, dword [eax + 0xc]
push ecx
push edx
call edi
test eax, eax
jne 0x1000fd75
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x10010907
mov edx, dword [esp + 0x14]
push 1
lea eax, [esp + 0x104]
push eax
mov eax, dword [edx + 0xc]
lea ecx, [esp + 0x148]
push ecx
push eax
mov dword [esp + 0x110], ebx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
cmp eax, ebx
je 0x1001020d
mov eax, dword [esp + 0x100]
cmp eax, ebx
je 0x1000fd92
add dword [esp + 0x24], eax
jmp 0x1000fd80
mov ecx, dword [esp + 0x144]
add dword [esp + 0x24], ecx
mov ecx, dword [ebp + 0xc]
cmp dword [esp + 0x24], ecx
jb 0x1000fcd0
jmp 0x10010e48
lea edx, [esp + 0x104]
mov dword [esp + 0x104], 3
mov dword [esp + 0x50], edx
call fcn.1005c100
mov eax, dword [eax]
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x14]
push edx
mov esi, eax
call fcn.100158b0
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
mov dword [eax], ebx
mov byte [esp + 0x338], 0xc
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x1000fde5
push eax
call fcn.102b3490
add esp, 4
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x100101e1
push 0x10420184
push 0x104213d0
push str.__line:
sub esp, 0x20
mov ecx, esp
mov dword [esp + 0x54], esp
push str.._arch_win_comm_engine.cpp
call fcn.10003660
lea esi, [esp + 0x5c]
call fcn.10069570
add esp, 0x20
mov esi, eax
push 0x10421098
lea ecx, [esp + 0xb0]
mov byte [esp + 0x348], 0xd
call fcn.10003660
push esi
push eax
lea edx, [esp + 0xd4]
push edx
mov byte [esp + 0x350], 0xe
call fcn.10015a90
add esp, 0xc
push eax
lea eax, [esp + 0xf0]
push eax
mov byte [esp + 0x34c], 0xf
call fcn.10015b40
add esp, 0xc
push eax
lea ecx, [esp + 0x8c]
push ecx
mov byte [esp + 0x348], 0x10
call fcn.10015b40
add esp, 0xc
push eax
lea edx, [esp + 0x68]
push edx
mov byte [esp + 0x344], 0x11
call fcn.10015b40
add esp, 0xc
mov edi, eax
mov byte [esp + 0x338], 0x12
call fcn.1005c100
mov eax, dword [eax]
lea ecx, [esp + 0x1c]
push ecx
push eax
lea edx, [esp + 0x5c]
push edx
call fcn.10015980
add esp, 0xc
mov byte [esp + 0x338], 0x13
mov esi, dword [eax + 4]
push 0xc
add esi, 4
push str._Tx_Timeout.
mov ecx, esi
call fcn.10013f30
cmp dword [edi + 0x1c], 0x10
mov eax, dword [edi + 0x18]
jb 0x1000feea
mov edi, dword [edi + 8]
jmp 0x1000feed
add edi, 8
push eax
push edi
mov ecx, esi
call fcn.10013f30
lea ecx, [esp + 0x54]
mov byte [esp + 0x338], 0x12
call fcn.10012b30
mov byte [esp + 0x338], 0x11
cmp dword [esp + 0x7c], 0x10
jb 0x1000ff23
mov eax, dword [esp + 0x68]
push eax
call fcn.1026bc50
add esp, 4
mov esi, 0xf
push 3
lea ecx, [esp + 0x54]
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], 0
call fcn.1024b380
mov eax, dword [esp + 0x60]
cmp eax, 0xfffffffd
je 0x1000ff65
cmp eax, ebx
je 0x1000ff61
mov dword [eax], ebx
mov ecx, dword [esp + 0x60]
mov eax, dword [ecx + 4]
mov dword [esp + 0x60], eax
cmp eax, ebx
jne 0x1000ff50
mov dword [esp + 0x60], ebx
lea ecx, [esp + 0x50]
call fcn.1024b3c0
mov edi, 0x10
mov byte [esp + 0x338], 0x10
cmp dword [esp + 0x9c], edi
jb 0x1000ff94
mov edx, dword [esp + 0x88]
push edx
call fcn.1026bc50
add esp, 4
push 3
lea ecx, [esp + 0x11c]
mov dword [esp + 0xa0], esi
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], 0
call fcn.1024b380
mov eax, dword [esp + 0x80]
cmp eax, 0xfffffffd
je 0x1000ffee
cmp eax, ebx
je 0x1000ffe7
jmp 0x1000ffd0
mov dword [eax], ebx
mov eax, dword [esp + 0x80]
mov eax, dword [eax + 4]
mov dword [esp + 0x80], eax
cmp eax, ebx
jne 0x1000ffd0
mov dword [esp + 0x80], ebx
lea ecx, [esp + 0x118]
call fcn.1024b3c0
mov byte [esp + 0x338], 0xf
cmp dword [esp + 0xfc], edi
jb 0x1001001b
mov ecx, dword [esp + 0xe8]
push ecx
call fcn.1026bc50
add esp, 4
push 3
lea ecx, [esp + 0x10c]
mov dword [esp + 0x100], esi
mov dword [esp + 0xfc], ebx
mov byte [esp + 0xec], 0
call fcn.1024b380
mov eax, dword [esp + 0xe0]
cmp eax, 0xfffffffd
je 0x1001006e
cmp eax, ebx
je 0x10010067
nop
mov dword [eax], ebx
mov edx, dword [esp + 0xe0]
mov eax, dword [edx + 4]
mov dword [esp + 0xe0], eax
cmp eax, ebx
jne 0x10010050
mov dword [esp + 0xe0], ebx
lea ecx, [esp + 0x108]
call fcn.1024b3c0
mov byte [esp + 0x338], 0xe
cmp dword [esp + 0xdc], edi
jb 0x1001009b
mov eax, dword [esp + 0xc8]
push eax
call fcn.1026bc50
add esp, 4
push 3
lea ecx, [esp + 0x30]
mov dword [esp + 0xe0], esi
mov dword [esp + 0xdc], ebx
mov byte [esp + 0xcc], 0
call fcn.1024b380
mov eax, dword [esp + 0xc0]
cmp eax, 0xfffffffd
je 0x100100ee
cmp eax, ebx
je 0x100100e7
lea esp, [esp]
mov dword [eax], ebx
mov ecx, dword [esp + 0xc0]
mov eax, dword [ecx + 4]
mov dword [esp + 0xc0], eax
cmp eax, ebx
jne 0x100100d0
mov dword [esp + 0xc0], ebx
lea ecx, [esp + 0x2c]
call fcn.1024b3c0
mov byte [esp + 0x338], 0xd
cmp dword [esp + 0xbc], edi
jb 0x10010118
mov edx, dword [esp + 0xa8]
push edx
call fcn.1026bc50
add esp, 4
push 3
lea ecx, [esp + 0x1c]
mov dword [esp + 0xc0], esi
mov dword [esp + 0xbc], ebx
mov byte [esp + 0xac], 0
call fcn.1024b380
mov eax, dword [esp + 0xa0]
cmp eax, 0xfffffffd
je 0x1001016e
cmp eax, ebx
je 0x10010167
lea esp, [esp]
mov dword [eax], ebx
mov eax, dword [esp + 0xa0]
mov eax, dword [eax + 4]
mov dword [esp + 0xa0], eax
cmp eax, ebx
jne 0x10010150
mov dword [esp + 0xa0], ebx
lea ecx, [esp + 0x18]
call fcn.1024b3c0
mov byte [esp + 0x338], 0xc
cmp dword [esp + 0x4c], edi
jb 0x10010192
mov ecx, dword [esp + 0x38]
push ecx
call fcn.1026bc50
add esp, 4
push 3
lea ecx, [esp + 0x24]
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], 0
call fcn.1024b380
mov eax, dword [esp + 0x30]
cmp eax, 0xfffffffd
je 0x100101cc
cmp eax, ebx
je 0x100101c8
mov dword [eax], ebx
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 4]
mov dword [esp + 0x30], eax
cmp eax, ebx
jne 0x100101b7
mov dword [esp + 0x30], ebx
lea ecx, [esp + 0x20]
call fcn.1024b3c0
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x1000fdf1
mov byte [esp + 0x338], 0xb
cmp eax, ebx
je 0x100101fa
push eax
call fcn.102b3490
add esp, 4
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CancelIo]
jmp 0x10010e45
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [esp + 0x20]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], edx
cmp eax, 0x3e3
jne 0x10010549
mov dword [esp + 0x20], 3
call fcn.1005c100
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
mov esi, eax
call fcn.100158b0
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
mov dword [eax], ebx
mov byte [esp + 0x338], 0x14
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x1001026f
push eax
call fcn.102b3490
add esp, 4
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x1001051b
mov ebx, 0x10
push 0x10420184
push 0x104213e4
push str.__line:
sub esp, 0x20
mov ecx, esp
mov dword [esp + 0x54], esp
push str.._arch_win_comm_engine.cpp
call fcn.10003660
lea esi, [esp + 0x8c]
call fcn.10069570
add esp, 0x20
mov esi, eax
push 0x10421098
lea ecx, [esp + 0x90]
mov byte [esp + 0x348], 0x15
call fcn.10003660
push esi
push eax
lea edx, [esp + 0xf4]
push edx
mov byte [esp + 0x350], 0x16
call fcn.10015a90
add esp, 0xc
push eax
lea eax, [esp + 0xd0]
push eax
mov byte [esp + 0x34c], 0x17
call fcn.10015b40
add esp, 0xc
push eax
lea ecx, [esp + 0xac]
push ecx
mov byte [esp + 0x348], 0x18
call fcn.10015b40
add esp, 0xc
push eax
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x344], 0x19
call fcn.10015b40
add esp, 0xc
mov edi, eax
mov byte [esp + 0x338], 0x1a
call fcn.1005c100
mov eax, dword [eax]
lea ecx, [esp + 0x1c]
push ecx
push eax
lea edx, [esp + 0x5c]
push edx
call fcn.10015980
add esp, 0xc
mov byte [esp + 0x338], 0x1b
mov esi, dword [eax + 4]
push 9
add esi, 4
push str.Tx_abort.
mov ecx, esi
call fcn.10013f30
mov eax, dword [edi + 0x18]
cmp dword [edi + 0x1c], ebx
jb 0x1001037b
mov edi, dword [edi + 8]
jmp 0x1001037e
add edi, 8
push eax
push edi
mov ecx, esi
call fcn.10013f30
lea ecx, [esp + 0x54]
mov byte [esp + 0x338], 0x1a
call fcn.10012b30
mov byte [esp + 0x338], 0x19
cmp dword [esp + 0x4c], ebx
jb 0x100103b3
mov eax, dword [esp + 0x38]
push eax
call fcn.1026bc50
add esp, 4
mov edi, 0xf
xor esi, esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], esi
mov byte [esp + 0x38], 0
call fcn.100012e0
mov byte [esp + 0x338], 0x18
cmp dword [esp + 0xbc], ebx
jb 0x100103f1
mov ecx, dword [esp + 0xa8]
push ecx
call fcn.1026bc50
add esp, 4
lea ecx, [esp + 0xa0]
mov dword [esp + 0xbc], edi
mov dword [esp + 0xb8], esi
mov byte [esp + 0xa8], 0
call fcn.100012e0
mov byte [esp + 0x338], 0x17
cmp dword [esp + 0xdc], ebx
jb 0x10010434
mov edx, dword [esp + 0xc8]
push edx
call fcn.1026bc50
add esp, 4
lea ecx, [esp + 0xc0]
mov dword [esp + 0xdc], edi
mov dword [esp + 0xd8], esi
mov byte [esp + 0xc8], 0
call fcn.100012e0
mov byte [esp + 0x338], 0x16
cmp dword [esp + 0xfc], ebx
jb 0x10010477
mov eax, dword [esp + 0xe8]
push eax
call fcn.1026bc50
add esp, 4
lea ecx, [esp + 0xe0]
mov dword [esp + 0xfc], edi
mov dword [esp + 0xf8], esi
mov byte [esp + 0xe8], 0
call fcn.100012e0
mov byte [esp + 0x338], 0x15
cmp dword [esp + 0x9c], ebx
jb 0x100104ba
mov ecx, dword [esp + 0x88]
push ecx
call fcn.1026bc50
add esp, 4
lea ecx, [esp + 0x80]
mov dword [esp + 0x9c], edi
mov dword [esp + 0x98], esi
mov byte [esp + 0x88], 0
call fcn.100012e0
mov byte [esp + 0x338], 0x14
cmp dword [esp + 0x7c], ebx
jb 0x100104f7
mov edx, dword [esp + 0x68]
push edx
call fcn.1026bc50
add esp, 4
lea ecx, [esp + 0x60]
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], esi
mov byte [esp + 0x68], 0
call fcn.100012e0
mov eax, dword [esp + 0x1c]
cmp eax, esi
jne 0x10010280
jmp 0x1001051d
xor esi, esi
mov byte [esp + 0x338], 0xb
cmp eax, esi
je 0x10010536
push eax
call fcn.102b3490
add esp, 4
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CancelIo]
jmp 0x10010e45
mov dword [esp + 0x20], 4
call fcn.1005c100
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
mov esi, eax
call fcn.100158b0
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov dword [eax], ebx
mov byte [esp + 0x338], 0x1c
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x1001058e
push eax
call fcn.102b3490
add esp, 4
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x10010e30
lea edx, [esp + 0x2c]
mov dword [esp + 0x10c], edx
mov dword [esp + 0x110], fcn.10029dc0
mov dword [esp + 0x114], 0x1001e5d0
jmp 0x100105c0
push 0x10420184
push 0x104213f4
push str.__line:
sub esp, 0x20
mov ecx, esp
mov dword [esp + 0x54], esp
push str.._arch_win_comm_engine.cpp
call fcn.10003660
lea esi, [esp + 0x148]
call fcn.10069570
add esp, 0x20
mov esi, eax
push 0x10421098
lea ecx, [esp + 0x70]
mov byte [esp + 0x348], 0x1d
call fcn.10003660
push esi
push eax
lea eax, [esp + 0x94]
push eax
mov byte [esp + 0x350], 0x1e
call fcn.10015a90
add esp, 0xc
push eax
lea ecx, [esp + 0xf0]
push ecx
mov byte [esp + 0x34c], 0x1f
call fcn.10015b40
add esp, 0xc
push eax
lea edx, [esp + 0xcc]
push edx
mov byte [esp + 0x348], 0x20
call fcn.10015b40
add esp, 0xc
push eax
lea eax, [esp + 0xa8]
push eax
mov byte [esp + 0x344], 0x21
call fcn.10015b40
add esp, 0xc
mov ebx, eax
push str.Tx_GetOverlappedResult_error:_0x_x
lea ecx, [esp + 0x204]
push ecx
mov byte [esp + 0x340], 0x22
call fcn.10015560
lea edx, [esp + 0x10c]
push edx
mov ecx, eax
mov byte [esp + 0x33c], 0x23
call fcn.1001bcd0
add esp, 4
lea edx, [esp + 0x30]
mov ecx, eax
call fcn.10015670
mov edi, eax
mov byte [esp + 0x338], 0x24
call fcn.1005c100
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0x5c]
push edx
call fcn.10015980
add esp, 0xc
mov byte [esp + 0x338], 0x25
mov esi, dword [eax + 4]
mov eax, dword [edi + 0x18]
add esi, 4
cmp dword [edi + 0x1c], 0x10
jb 0x100106ef
mov edi, dword [edi + 8]
jmp 0x100106f2
add edi, 8
push eax
push edi
mov ecx, esi
call fcn.10013f30
mov eax, dword [ebx + 0x18]
mov edi, 0x10
cmp dword [ebx + 0x1c], edi
jb 0x1001070d
mov ebx, dword [ebx + 8]
jmp 0x10010710
add ebx, 8
push eax
push ebx
mov ecx, esi
call fcn.10013f30
lea ecx, [esp + 0x54]
mov byte [esp + 0x338], 0x24
call fcn.10012b30
mov byte [esp + 0x338], 0x23
cmp dword [esp + 0x4c], edi
jb 0x10010745
mov eax, dword [esp + 0x38]
push eax
call fcn.1026bc50
add esp, 4
xor ebx, ebx
mov esi, 0xf
lea ecx, [esp + 0x30]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
call fcn.100012e0
lea ecx, [esp + 0x200]
push ecx
mov byte [esp + 0x33c], 0x22
call fcn.1000b3f0
mov byte [esp + 0x338], 0x21
cmp dword [esp + 0xbc], edi
jb 0x10010797
mov edx, dword [esp + 0xa8]
push edx
call fcn.1026bc50
add esp, 4
lea ecx, [esp + 0xa0]
mov dword [esp + 0xbc], esi
mov dword [esp + 0xb8], ebx
mov byte [esp + 0xa8], 0
call fcn.100012e0
mov byte [esp + 0x338], 0x20
cmp dword [esp + 0xdc], edi
jb 0x100107da
mov eax, dword [esp + 0xc8]
push eax
call fcn.1026bc50
add esp, 4
lea ecx, [esp + 0xc0]
mov dword [esp + 0xdc], esi
mov dword [esp + 0xd8], ebx
mov byte [esp + 0xc8], 0
call fcn.100012e0
mov byte [esp + 0x338], 0x1f
cmp dword [esp + 0xfc], edi
jb 0x1001081d
mov ecx, dword [esp + 0xe8]
push ecx
call fcn.1026bc50
add esp, 4
lea ecx, [esp + 0xe0]
mov dword [esp + 0xfc], esi
mov dword [esp + 0xf8], ebx
mov byte [esp + 0xe8], 0
call fcn.100012e0
mov byte [esp + 0x338], 0x1e
cmp dword [esp + 0x9c], edi
jb 0x10010860
mov edx, dword [esp + 0x88]
push edx
call fcn.1026bc50
add esp, 4
lea ecx, [esp + 0x80]
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], 0
call fcn.100012e0
mov byte [esp + 0x338], 0x1d
cmp dword [esp + 0x7c], edi
jb 0x1001089d
mov eax, dword [esp + 0x68]
push eax
call fcn.1026bc50
add esp, 4
lea ecx, [esp + 0x60]
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], 0
call fcn.100012e0
mov byte [esp + 0x338], 0x1c
cmp dword [esp + 0x138], edi
jb 0x100108d4
mov ecx, dword [esp + 0x124]
push ecx
call fcn.1026bc50
add esp, 4
lea ecx, [esp + 0x11c]
mov dword [esp + 0x138], esi
mov dword [esp + 0x134], ebx
mov byte [esp + 0x124], 0
call fcn.100012e0
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x100105c0
jmp 0x10010e30
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [esp + 0x20]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], 4
mov dword [esp + 0x18], edx
call fcn.1005c100
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
mov esi, eax
call fcn.100158b0
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov dword [eax], ebx
mov byte [esp + 0x338], 0x26
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x1001095e
push eax
call fcn.102b3490
add esp, 4
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x10010e30
lea edx, [esp + 0x2c]
mov dword [esp + 0x10c], edx
mov dword [esp + 0x110], fcn.10029dc0
mov dword [esp + 0x114], 0x1001e5d0
jmp 0x10010990
push 0x10420184
push 0x1042141c
push str.__line:
sub esp, 0x20
mov ecx, esp
mov dword [esp + 0x54], esp
push str.._arch_win_comm_engine.cpp
call fcn.10003660
lea esi, [esp + 0x148]
call fcn.10069570
add esp, 0x20
mov esi, eax
push 0x10421098
lea ecx, [esp + 0x70]
mov byte [esp + 0x348], 0x27
call fcn.10003660
push esi
push eax
lea eax, [esp + 0x94]
push eax
mov byte [esp + 0x350], 0x28
call fcn.10015a90
add esp, 0xc
push eax
lea ecx, [esp + 0xf0]
push ecx
mov byte [esp + 0x34c], 0x29
call fcn.10015b40
add esp, 0xc
push eax
lea edx, [esp + 0xcc]
push edx
mov byte [esp + 0x348], 0x2a
call fcn.10015b40
add esp, 0xc
push eax
lea eax, [esp + 0xa8]
push eax
mov byte [esp + 0x344], 0x2b
call fcn.10015b40
add esp, 0xc
mov ebx, eax
push str.Tx_WriteFile_error._code:_0x_x
lea ecx, [esp + 0x204]
push ecx
mov byte [esp + 0x340], 0x2c
call fcn.10015560
lea edx, [esp + 0x10c]
push edx
mov ecx, eax
mov byte [esp + 0x33c], 0x2d
call fcn.1001bcd0
add esp, 4
lea edx, [esp + 0x30]
mov ecx, eax
call fcn.10015670
mov edi, eax
mov byte [esp + 0x338], 0x2e
call fcn.1005c100
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0x5c]
push edx
call fcn.10015980
add esp, 0xc
mov byte [esp + 0x338], 0x2f
mov esi, dword [eax + 4]
mov eax, dword [edi + 0x18]
add esi, 4
cmp dword [edi + 0x1c], 0x10
jb 0x10010abf
mov edi, dword [edi + 8]
jmp 0x10010ac2
add edi, 8
push eax
push edi
mov ecx, esi
call fcn.10013f30
mov eax, dword [ebx + 0x18]
mov edi, 0x10
cmp dword [ebx + 0x1c], edi
jb 0x10010add
mov ebx, dword [ebx + 8]
jmp 0x10010ae0
add ebx, 8
push eax
push ebx
mov ecx, esi
call fcn.10013f30
lea ecx, [esp + 0x54]
mov byte [esp + 0x338], 0x2e
call fcn.10012b30
mov byte [esp + 0x338], 0x2d
cmp dword [esp + 0x4c], edi
jb 0x10010b15
mov eax, dword [esp + 0x38]
push eax
call fcn.1026bc50
add esp, 4
mov ebx, 0xf
xor esi, esi
push 3
lea ecx, [esp + 0x1c]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], esi
mov byte [esp + 0x3c], 0
call fcn.1024b380
mov eax, dword [esp + 0x30]
cmp eax, 0xfffffffd
je 0x10010b56
cmp eax, esi
je 0x10010b52
mov dword [eax], esi
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 4]
mov dword [esp + 0x30], eax
cmp eax, esi
jne 0x10010b41
mov dword [esp + 0x30], esi
lea ecx, [esp + 0x18]
call fcn.1024b3c0
lea edx, [esp + 0x200]
push edx
mov byte [esp + 0x33c], 0x2c
call fcn.1000b3f0
mov byte [esp + 0x338], 0x2b
cmp dword [esp + 0xbc], edi
jb 0x10010b95
mov eax, dword [esp + 0xa8]
push eax
call fcn.1026bc50
add esp, 4
push 3
lea ecx, [esp + 0x10c]
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xbc], esi
mov byte [esp + 0xac], 0
call fcn.1024b380
mov eax, dword [esp + 0xa0]
cmp eax, 0xfffffffd
je 0x10010bee
cmp eax, esi
je 0x10010be7
lea esp, [esp]
mov dword [eax], esi
mov ecx, dword [esp + 0xa0]
mov eax, dword [ecx + 4]
mov dword [esp + 0xa0], eax
cmp eax, esi
jne 0x10010bd0
mov dword [esp + 0xa0], esi
lea ecx, [esp + 0x108]
call fcn.1024b3c0
mov byte [esp + 0x338], 0x2a
cmp dword [esp + 0xdc], edi
jb 0x10010c1b
mov edx, dword [esp + 0xc8]
push edx
call fcn.1026bc50
add esp, 4
push 3
lea ecx, [esp + 0x11c]
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xdc], esi
mov byte [esp + 0xcc], 0
call fcn.1024b380
mov eax, dword [esp + 0xc0]
cmp eax, 0xfffffffd
je 0x10010c6e
cmp eax, esi
je 0x10010c67
nop
mov dword [eax], esi
mov eax, dword [esp + 0xc0]
mov eax, dword [eax + 4]
mov dword [esp + 0xc0], eax
cmp eax, esi
jne 0x10010c50
mov dword [esp + 0xc0], esi
lea ecx, [esp + 0x118]
call fcn.1024b3c0
mov byte [esp + 0x338], 0x29
cmp dword [esp + 0xfc], edi
jb 0x10010c9b
mov ecx, dword [esp + 0xe8]
push ecx
call fcn.1026bc50
add esp, 4
push 3
lea ecx, [esp + 0x54]
mov dword [esp + 0x100], ebx
mov dword [esp + 0xfc], esi
mov byte [esp + 0xec], 0
call fcn.1024b380
mov eax, dword [esp + 0xe0]
cmp eax, 0xfffffffd
je 0x10010cee
cmp eax, esi
je 0x10010ce7
lea esp, [esp]
mov dword [eax], esi
mov edx, dword [esp + 0xe0]
mov eax, dword [edx + 4]
mov dword [esp + 0xe0], eax
cmp eax, esi
jne 0x10010cd0
mov dword [esp + 0xe0], esi
lea ecx, [esp + 0x50]
call fcn.1024b3c0
mov byte [esp + 0x338], 0x28
cmp dword [esp + 0x9c], edi
jb 0x10010d18
mov eax, dword [esp + 0x88]
push eax
call fcn.1026bc50
add esp, 4
push 3
lea ecx, [esp + 0x108]
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x9c], esi
mov byte [esp + 0x8c], 0
call fcn.1024b380
mov eax, dword [esp + 0x80]
cmp eax, 0xfffffffd
je 0x10010d6e
cmp eax, esi
je 0x10010d67
lea esp, [esp]
mov dword [eax], esi
mov ecx, dword [esp + 0x80]
mov eax, dword [ecx + 4]
mov dword [esp + 0x80], eax
cmp eax, esi
jne 0x10010d50
mov dword [esp + 0x80], esi
lea ecx, [esp + 0x104]
call fcn.1024b3c0
mov byte [esp + 0x338], 0x27
cmp dword [esp + 0x7c], edi
jb 0x10010d95
mov edx, dword [esp + 0x68]
push edx
call fcn.1026bc50
add esp, 4
push 3
lea ecx, [esp + 0x104]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x7c], esi
mov byte [esp + 0x6c], 0
call fcn.1024b380
mov eax, dword [esp + 0x60]
cmp eax, 0xfffffffd
je 0x10010dd5
cmp eax, esi
je 0x10010dd1
mov dword [eax], esi
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 4]
mov dword [esp + 0x60], eax
cmp eax, esi
jne 0x10010dc0
mov dword [esp + 0x60], esi
lea ecx, [esp + 0x100]
call fcn.1024b3c0
mov byte [esp + 0x338], 0x26
cmp dword [esp + 0x138], edi
jb 0x10010e02
mov ecx, dword [esp + 0x124]
push ecx
call fcn.1026bc50
add esp, 4
lea ecx, [esp + 0x11c]
mov dword [esp + 0x138], ebx
mov dword [esp + 0x134], esi
mov byte [esp + 0x124], 0
call fcn.100012e0
mov eax, dword [esp + 0x14]
cmp eax, esi
jne 0x10010990
mov byte [esp + 0x338], 0xb
test eax, eax
je 0x10010e45
push eax
call fcn.102b3490
add esp, 4
mov ecx, dword [ebp + 0xc]
cmp dword [esp + 0x24], ecx
je 0x100112a6
lea edx, [esp + 0x20]
mov dword [esp + 0x20], 3
mov dword [esp + 0x18], edx
call fcn.1005c100
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
mov esi, eax
call fcn.100158b0
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov dword [eax], 0
mov byte [esp + 0x338], 0x30
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10010ea7
push eax
call fcn.102b3490
add esp, 4
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1001124b
lea edx, [esp + 0x24]
mov dword [esp + 0x10c], edx
mov ecx, fcn.10029dc0
mov eax, 0x1001e5d0
lea edx, [ebp + 0xc]
mov dword [esp + 0x110], ecx
mov dword [esp + 0x114], eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
jmp 0x10010ef0
push 0x10420184
push 0x10421440
push str.__line:
sub esp, 0x20
mov ecx, esp
mov dword [esp + 0x54], esp
push str.._arch_win_comm_engine.cpp
call fcn.10003660
lea esi, [esp + 0x8c]
call fcn.10069570
add esp, 0x20
mov esi, eax
push 0x10421098
lea ecx, [esp + 0x90]
mov byte [esp + 0x348], 0x31
call fcn.10003660
push esi
push eax
lea eax, [esp + 0xf4]
push eax
mov byte [esp + 0x350], 0x32
call fcn.10015a90
add esp, 0xc
push eax
lea ecx, [esp + 0xd0]
push ecx
mov byte [esp + 0x34c], 0x33
call fcn.10015b40
add esp, 0xc
push eax
lea edx, [esp + 0xac]
push edx
mov byte [esp + 0x348], 0x34
call fcn.10015b40
add esp, 0xc
push eax
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x344], 0x35
call fcn.10015b40
add esp, 0xc
mov ebx, eax
push str.Tx_xferd_write_length_0x_x____expected_length_0x_x_
lea ecx, [esp + 0x204]
push ecx
mov byte [esp + 0x340], 0x36
call fcn.10015560
lea edx, [esp + 0x10c]
push edx
mov ecx, eax
mov byte [esp + 0x33c], 0x37
call fcn.1001bcd0
lea ecx, [esp + 0x58]
add esp, 4
push ecx
mov ecx, eax
call fcn.1001bcd0
add esp, 4
lea edx, [esp + 0x11c]
mov ecx, eax
call fcn.10015670
mov edi, eax
mov byte [esp + 0x338], 0x38
call fcn.1005c100
mov eax, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
lea eax, [esp + 0x15c]
push eax
call fcn.10015980
add esp, 0xc
mov byte [esp + 0x338], 0x39
mov esi, dword [eax + 4]
mov eax, dword [edi + 0x18]
add esi, 4
cmp dword [edi + 0x1c], 0x10
jb 0x10011034
mov edi, dword [edi + 8]
jmp 0x10011037
add edi, 8
push eax
push edi
mov ecx, esi
call fcn.10013f30
mov eax, dword [ebx + 0x18]
mov edi, 0x10
cmp dword [ebx + 0x1c], edi
jb 0x10011052
mov ebx, dword [ebx + 8]
jmp 0x10011055
add ebx, 8
push eax
push ebx
mov ecx, esi
call fcn.10013f30
lea ecx, [esp + 0x154]
mov byte [esp + 0x338], 0x38
call fcn.10012b30
mov byte [esp + 0x338], 0x37
cmp dword [esp + 0x138], edi
jb 0x10011093
mov ecx, dword [esp + 0x124]
push ecx
call fcn.1026bc50
add esp, 4
mov ebx, 0xf
xor esi, esi
lea ecx, [esp + 0x11c]
mov dword [esp + 0x138], ebx
mov dword [esp + 0x134], esi
mov byte [esp + 0x124], 0
call fcn.100012e0
lea edx, [esp + 0x200]
push edx
mov byte [esp + 0x33c], 0x36
call fcn.1000b3f0
mov byte [esp + 0x338], 0x35
cmp dword [esp + 0x4c], edi
jb 0x100110ec
mov eax, dword [esp + 0x38]
push eax
call fcn.1026bc50
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], esi
mov byte [esp + 0x38], 0
call fcn.100012e0
mov byte [esp + 0x338], 0x34
cmp dword [esp + 0xbc], edi
jb 0x10011123
mov ecx, dword [esp + 0xa8]
push ecx
call fcn.1026bc50
add esp, 4
lea ecx, [esp + 0xa0]
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xb8], esi
mov byte [esp + 0xa8], 0
call fcn.100012e0
mov byte [esp + 0x338], 0x33
cmp dword [esp + 0xdc], edi
jb 0x10011166
mov edx, dword [esp + 0xc8]
push edx
call fcn.1026bc50
add esp, 4
lea ecx, [esp + 0xc0]
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xd8], esi
mov byte [esp + 0xc8], 0
call fcn.100012e0
mov byte [esp + 0x338], 0x32
cmp dword [esp + 0xfc], edi
jb 0x100111a9
mov eax, dword [esp + 0xe8]
push eax
call fcn.1026bc50
add esp, 4
lea ecx, [esp + 0xe0]
mov dword [esp + 0xfc], ebx
mov dword [esp + 0xf8], esi
mov byte [esp + 0xe8], 0
call fcn.100012e0
mov byte [esp + 0x338], 0x31
cmp dword [esp + 0x9c], edi
jb 0x100111ec
mov ecx, dword [esp + 0x88]
push ecx
call fcn.1026bc50
add esp, 4
lea ecx, [esp + 0x80]
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x98], esi
mov byte [esp + 0x88], 0
call fcn.100012e0
mov byte [esp + 0x338], 0x30
cmp dword [esp + 0x7c], edi
jb 0x10011229
mov edx, dword [esp + 0x68]
push edx
call fcn.1026bc50
add esp, 4
lea ecx, [esp + 0x60]
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], esi
mov byte [esp + 0x68], 0
call fcn.100012e0
mov eax, dword [esp + 0x14]
cmp eax, esi
jne 0x10010ef0
mov byte [esp + 0x338], 0xb
test eax, eax
je 0x10011268
push eax
call fcn.102b3490
add esp, 4
mov dword [esp + 0x14], 0
push 0x154
push str.._arch_win_comm_engine.cpp
push str.unsigned_int___thiscall_comm_engine::send_const_unsigned_char__unsigned_int_unsigned_int_
push 1
sub esp, 0x20
mov ecx, esp
mov dword [esp + 0x58], esp
push str.Tx_data_incomplete.
call fcn.10003660
lea esi, [esp + 0x2e8]
call fcn.1000b240
push eax
mov byte [esp + 0x348], 0x3a
call fcn.10015c50
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 1
mov dword [esp + 0x18], eax
call fcn.1005c100
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
mov esi, eax
call fcn.100158b0
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
mov dword [eax], 0
mov byte [esp + 0x338], 0x3b
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100112fb
push eax
call fcn.102b3490
add esp, 4
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1001147b
mov ebx, dword [esp + 0x13c]
mov dword [esp + 0x58], fcn.10029dc0
mov dword [esp + 0x5c], 0x1001e7c0
mov edi, 0x10
mov edx, dword [ebp + 0xc]
push edx
push ebx
lea esi, [esp + 0x38]
call fcn.1000b830
add esp, 8
mov esi, eax
push str._t_t_tTx__:__s
lea eax, [esp + 0x204]
push eax
mov byte [esp + 0x340], 0x3c
call fcn.10015560
lea ecx, [esp + 0x54]
push ecx
mov byte [esp + 0x33c], 0x3d
mov ecx, eax
mov dword [esp + 0x58], esi
call fcn.1001bcd0
add esp, 4
lea edx, [esp + 0x11c]
mov ecx, eax
call fcn.10015670
mov esi, eax
mov byte [esp + 0x338], 0x3e
call fcn.1005c100
mov eax, dword [eax]
lea edx, [esp + 0x1c]
push edx
push eax
lea eax, [esp + 0x15c]
push eax
call fcn.10015980
add esp, 0xc
mov byte [esp + 0x338], 0x3f
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x18]
add ecx, 4
cmp dword [esi + 0x1c], edi
jb 0x100113bb
mov esi, dword [esi + 8]
jmp 0x100113be
add esi, 8
push eax
push esi
call fcn.10013f30
lea ecx, [esp + 0x154]
mov byte [esp + 0x338], 0x3e
call fcn.10012b30
mov byte [esp + 0x338], 0x3d
cmp dword [esp + 0x138], edi
jb 0x100113fa
mov ecx, dword [esp + 0x124]
push ecx
call fcn.1026bc50
add esp, 4
mov esi, 0xf
lea ecx, [esp + 0x11c]
mov dword [esp + 0x138], esi
mov dword [esp + 0x134], 0
mov byte [esp + 0x124], 0
call fcn.100012e0
lea edx, [esp + 0x200]
push edx
mov byte [esp + 0x33c], 0x3c
call fcn.1000b3f0
mov byte [esp + 0x338], 0x3b
cmp dword [esp + 0x4c], edi
jb 0x10011455
mov eax, dword [esp + 0x38]
push eax
call fcn.1026bc50
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
call fcn.100012e0
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x10011323
mov byte [esp + 0x338], 0xb
test eax, eax
je 0x10011498
push eax
call fcn.102b3490
add esp, 4
mov dword [esp + 0x1c], 0
mov esi, dword [ebp + 0xc]
lea ecx, [esp + 0x300]
push ecx
mov dword [esp + 0x33c], 0xffffffff
call fcn.10054b80
mov eax, esi
mov ecx, dword [esp + 0x330]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x318]
xor ecx, esp
call fcn.1026af30
mov esp, ebp
pop ebp
ret 0xc