Function at 0x40ce50
Capabilities:
Get common file path
Get process heap flags
Query environment variable

Disassembly:
push ebp
mov ecx, 0x41
mov ebp, esp
push edi
push esi
push ebx
mov ebx, edx
lea edx, [gdbctx.no_ack_mode]
mov edi, edx
sub esp, 0x7ec
mov dword [ebp - 0x7cc], eax
lea eax, [gdbctx.exec_tid]
mov esi, dword [sym.imp.kernel32.dll_WaitForDebugEvent]
mov dword [gdbctx.other_tid], eax
mov dword [gdbctx.exec_tid], eax
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, ebx
mov dword [ebp - 0x5ec], 0xffffffff
lea ebx, [gdbctx.xpoint_list]
mov dword [ebp - 0x5e8], 0
rol ax, 8
mov dword [gdbctx.sock], 0
mov dword [gdbctx.in_buf], 0
mov dword [gdbctx.in_packet], 0
mov dword [gdbctx.in_packet_len], 0
mov dword [gdbctx.out_buf], 0
mov dword [ebp - 0x5c8], 0xffffffff
mov dword [ebp - 0x5c4], 0xffffffff
mov dword [gdbctx.out_curr_packet], 0xffffffff
mov dword [ebp - 0x550], 0
mov dword [ebp - 0x540], 0
mov dword [gdbctx.de_reply], 0
mov dword [gdbctx.process], 0
mov dword [gdbctx.wine_segs], 0
mov dword [ebp - 0x53c], 0xffffffff
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0
mov dword [gdbctx.qxfer_buffer], 0
mov word [ebp - 0x7bc], ax
nop
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call esi
sub esp, 8
test eax, eax
je 0x40d4c0
cmp dword [gdbctx.xpoint_list], 3
jne 0x40d1c0
mov eax, dword [ebp - 0x550]
test eax, eax
jne 0x40de9f
mov eax, dword [0x4ad5ec]
cmp dword [ebp - 0x5b0], eax
jne 0x40de9f
lea eax, [ebp - 0x77c]
mov dword [ebp - 0x7ac], 1
mov dword [ebp - 0x7a4], 0
mov dword [ebp - 0x7a0], 0
mov dword [s_addrs.sin_family], 0
mov dword [s_addrs.sin_addr], 0
mov dword [ebp - 0x7a8], 0x10
mov dword [esp + 4], eax
mov dword [esp], 0x202
call dword [0x4b08a4]
sub esp, 8
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 2
call dword [0x4b089c]
sub esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
je 0x40d200
lea eax, [ebp - 0x7ac]
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], eax
mov eax, dword [0x4b0898]
mov dword [esp + 8], 4
mov dword [esp + 4], 0xffff
mov dword [esp], edi
mov dword [ebp - 0x7c0], eax
call eax
mov eax, 2
mov dword [ebp - 0x7a0], 0
mov word [ebp - 0x7a4], ax
movzx eax, word [ebp - 0x7bc]
sub esp, 0x14
mov dword [esp + 8], 0x10
mov word [ebp - 0x7a2], ax
lea eax, [ebp - 0x7a4]
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [0x4b087c]
sub esp, 0xc
cmp eax, 0xffffffff
je 0x40d1a8
mov dword [esp + 4], 1
mov dword [esp], edi
call dword [0x4b0888]
sub esp, 8
cmp eax, 0xffffffff
je 0x40d1a8
lea eax, [ebp - 0x7a8]
mov dword [esp], edi
mov dword [esp + 8], eax
lea eax, [ebp - 0x7a4]
mov dword [esp + 4], eax
call dword [0x4b0884]
sub esp, 0xc
cmp eax, 0xffffffff
je 0x40d1a8
xor edx, edx
lea eax, [ebp - 0x5ec]
call dbg.handle_debug_event
test byte [ebp - 0x7cc], 1
je 0x40d248
movzx edx, word [ebp - 0x7a2]
mov dword [esp], 2
rol dx, 8
movzx edx, dx
mov dword [ebp - 0x7c4], edx
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov edx, dword [ebp - 0x7c4]
mov dword [esp + 4], str.target_remote_localhost:_d_n
mov dword [esp], eax
mov dword [esp + 8], edx
call dbg.fprintf
lea eax, [ebp - 0x220]
mov dword [ebp - 0x7c8], eax
mov eax, dword [ebp - 0x7c8]
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x220], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [0x4b0890]
sub esp, 0x14
test eax, eax
jg 0x40d430
test byte [global___dbch.0], 2
jne 0x40dcc2
lea esi, [esi]
nop
mov dword [esp], edi
call dword [0x4b0880]
sub esp, 4
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
xor edx, edx
lea eax, [ebp - 0x5ec]
call dbg.handle_debug_event
test eax, eax
je 0x40d4c0
mov eax, dword [gdbctx.de]
mov dword [esp + 8], 0x10002
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x5b0]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ContinueDebugEvent]
sub esp, 0xc
jmp 0x40cf60
test byte [global___dbch.0], 2
je 0x40d1b4
call dword [0x4b08a0]
mov dword [esp + 0xc], str.Failed_to_create_socket:__u_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.gdb_startup
mov dword [esp + 4], global___dbch.0
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_3
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
movzx eax, word [ebp - 0x7a2]
mov dword [esp], str.WINE_GDB
mov word [ebp - 0x7d4], ax
call dword [sym.imp.ucrtbase.dll_getenv]
mov dword [esp], 0x104
test eax, eax
mov edx, eax
mov eax, 0x43d274
cmove edx, eax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x7c8], eax
mov dword [ebp - 0x7d8], edx
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_GetTempPathW]
mov eax, dword [ebp - 0x7c8]
lea ecx, [ebp - 0x428]
sub esp, 8
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x43d2fc
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
lea ecx, [ebp - 0x428]
sub esp, 0x10
mov dword [esp + 4], 0x43d304
mov dword [esp], ecx
call dword [sym.imp.ucrtbase.dll__wfopen]
mov dword [ebp - 0x7c4], eax
test eax, eax
je 0x40d14c
lea edx, [ebp - 0x428]
mov dword [esp], edx
call sym._wine_get_unix_file_name
movzx edx, word [ebp - 0x7d4]
mov ecx, dword [ebp - 0x7c4]
mov dword [esp + 4], str.target_remote_localhost:_d_n
mov dword [ebp - 0x7d0], eax
rol dx, 8
mov dword [esp], ecx
movzx eax, dx
mov dword [esp + 8], eax
call dbg.fprintf
mov ecx, dword [ebp - 0x7c4]
mov dword [esp + 4], str.set_prompt_Wine_gdb___n
mov dword [esp], ecx
call dbg.fprintf
mov ecx, dword [ebp - 0x7c4]
mov dword [esp + 4], str.sharedlibrary_n
mov dword [esp], ecx
call dbg.fprintf
mov ecx, dword [ebp - 0x7c4]
mov dword [esp + 4], str.set_step_mode_on_n
mov dword [esp], ecx
call dbg.fprintf
mov edx, dword [ebp - 0x7d0]
mov ecx, dword [ebp - 0x7c4]
mov dword [esp + 4], str.shell_rm__f___s__n
mov dword [esp + 8], edx
mov dword [esp], ecx
call dbg.fprintf
mov ecx, dword [ebp - 0x7c4]
mov dword [esp], ecx
call dword [sym.imp.ucrtbase.dll_fclose]
mov edx, dword [ebp - 0x7d8]
test byte [ebp - 0x7cc], 2
mov dword [s_addrs.sin_zero], str.xterm
mov dword [ebp - 0x790], 0x43d35b
mov dword [ebp - 0x78c], edx
mov edx, dword [ebp - 0x7d0]
mov dword [ebp - 0x788], 0x43d35e
mov dword [ebp - 0x784], edx
mov dword [ebp - 0x780], 0
mov dword [esp + 4], 0
jne 0x40dc90
lea eax, [ebp - 0x78c]
mov dword [esp], eax
call sym.___wine_unix_spawnvp_8
sub esp, 8
mov ecx, dword [ebp - 0x7d0]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], ecx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x40d14c
lea eax, [ebp - 0x7a8]
mov dword [esp], edi
mov dword [esp + 8], eax
lea eax, [ebp - 0x7a4]
mov dword [ebp - 0x428], 1
mov dword [esp + 4], eax
call dword [0x4b0878]
mov dword [ebp - 0x5ec], eax
sub esp, 0xc
cmp eax, 0xffffffff
je 0x40d1a8
test byte [global___dbch.0], 8
jne 0x40dd74
lea edx, [ebp - 0x428]
mov dword [esp], eax
mov eax, dword [ebp - 0x7c0]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 4
mov dword [esp + 8], 1
mov dword [esp + 4], 6
call eax
sub esp, 0x14
mov dword [esp], edi
call dword [0x4b0880]
sub esp, 4
jmp 0x40d1d5
mov dword [esp + 4], 1
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_SetConsoleCtrlHandler]
lea eax, [ebp - 0x220]
mov dword [ebp - 0x7d8], eax
lea eax, [ebp - 0x428]
sub esp, 8
mov dword [ebp - 0x7c8], eax
mov eax, dword [ebp - 0x5ec]
mov esi, dword [ebp - 0x7d8]
mov dword [ebp - 0x428], 1
mov dword [ebp - 0x220], 1
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x7c8]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [0x4b0890]
sub esp, 0x14
cmp eax, 0xffffffff
je 0x40d1b4
mov eax, dword [ebp - 0x5ec]
mov dword [esp + 4], esi
mov ebx, dword [0x4b08a8]
mov dword [esp], eax
call ebx
sub esp, 8
test eax, eax
jne 0x40dd31
mov eax, dword [ebp - 0x7c8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x5ec]
mov dword [esp], eax
call ebx
sub esp, 8
test eax, eax
je 0x40d4f0
mov eax, dword [gdbctx.in_buf]
mov ecx, dword [gdbctx.sock]
mov dword [ebp - 0x7bc], eax
cmp eax, ecx
jg 0x40debc
mov eax, dword [ebp - 0x7bc]
mov ebx, dword [0x4b088c]
mov esi, dword [sym.imp.ucrtbase.dll_realloc]
mov edx, eax
jmp 0x40d619
add eax, edx
sub ecx, edx
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x5ec]
sub ecx, 1
mov dword [esp + 8], ecx
mov dword [esp], eax
call ebx
sub esp, 0x10
test eax, eax
jle 0x40d650
mov edx, dword [gdbctx.in_buf]
mov ecx, dword [gdbctx.sock]
add edx, eax
mov dword [gdbctx.in_buf], edx
cmp edx, ecx
jg 0x40de82
mov edi, ecx
sub edi, edx
cmp eax, edi
jl 0x40dc10
lea edi, [edx + 0x7f]
mov eax, dword [ebp - 0x5e8]
cmp edi, ecx
jl 0x40d5c8
sub ecx, 0xffffff80
mov dword [esp], eax
mov dword [gdbctx.sock], ecx
mov dword [esp + 4], ecx
call esi
mov ecx, dword [gdbctx.sock]
mov edx, dword [gdbctx.in_buf]
mov dword [ebp - 0x5e8], eax
jmp 0x40d5c8
mov eax, dword [gdbctx.in_buf]
mov edx, dword [ebp - 0x5e8]
mov byte [edx + eax], 0
mov eax, dword [gdbctx.in_buf]
cmp eax, dword [ebp - 0x7bc]
jle 0x40d4f0
mov edi, dword [ebp - 0x5e8]
mov edx, dword [ebp - 0x540]
lea esi, [edi + eax]
mov dword [ebp - 0x7bc], esi
test edx, edx
jne 0x40d7bc
mov dword [ebp - 0x7c0], edi
lea esi, [esi]
mov esi, dword [ebp - 0x7c0]
mov eax, dword [ebp - 0x7bc]
mov dword [esp + 4], 0x24
sub eax, esi
mov dword [esp], esi
mov dword [esp + 8], eax
call dword [sym.imp.ucrtbase.dll_memchr]
mov esi, eax
test eax, eax
je 0x40d7b0
mov eax, dword [ebp - 0x7bc]
mov dword [esp + 4], 0x23
mov dword [esp], esi
sub eax, esi
mov dword [esp + 8], eax
call dword [sym.imp.ucrtbase.dll_memchr]
mov ebx, eax
test eax, eax
je 0x40d7b0
mov eax, dword [ebp - 0x7bc]
sub eax, ebx
cmp eax, 2
jle 0x40d7b0
lea eax, [ebp - 0x77c]
mov dword [esp + 4], str._02x
mov dword [esp + 8], eax
mov dword [esp], ebx
call sym._sscanf
cmp eax, 1
jne 0x40d7b0
mov eax, ebx
lea edi, [ebx + 3]
sub eax, esi
mov dword [ebp - 0x7c0], edi
lea edi, [esi + 1]
sub eax, 1
mov dword [ebp - 0x7c4], eax
test eax, eax
jle 0x40dc70
mov eax, edi
xor edx, edx
lea esi, [esi]
movzx ecx, byte [eax]
add eax, 1
add edx, ecx
cmp ebx, eax
jne 0x40d748
movzx edx, dl
mov ecx, dword [ebp - 0x77c]
movzx eax, byte [global___dbch.0]
cmp ecx, edx
je 0x40d920
test al, 2
jne 0x40da20
mov eax, dword [ebp - 0x5ec]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0x43d3fa
mov dword [esp], eax
call dword [0x4b0894]
sub esp, 0x10
mov edx, dword [ebp - 0x540]
test edx, edx
je 0x40d698
lea esi, [esi]
mov eax, dword [gdbctx.in_buf]
mov edi, dword [ebp - 0x5e8]
mov dword [ebp - 0x7cc], 0
lea esi, [esi]
lea esi, [esi]
mov dword [esp], edi
mov dword [esp + 8], eax
mov dword [esp + 4], 0x24
call dword [sym.imp.ucrtbase.dll_memchr]
mov edi, eax
test eax, eax
je 0x40dc77
mov esi, dword [ebp - 0x7bc]
mov dword [esp + 4], 0x23
mov dword [esp], edi
mov eax, esi
sub eax, edi
mov dword [esp + 8], eax
call dword [sym.imp.ucrtbase.dll_memchr]
mov ebx, eax
test eax, eax
je 0x40dc77
mov eax, esi
sub eax, ebx
cmp eax, 2
jle 0x40dc77
lea eax, [ebp - 0x77c]
mov dword [esp + 4], str._02x
mov dword [esp + 8], eax
mov dword [esp], ebx
call sym._sscanf
cmp eax, 1
jne 0x40dc77
movzx edx, byte [global___dbch.0]
mov eax, dword [ebp - 0x5e8]
mov byte [ebp - 0x7c4], dl
cmp eax, edi
je 0x40d868
and edx, 4
jne 0x40d960
mov eax, ebx
lea esi, [ebx + 3]
sub eax, edi
mov dword [ebp - 0x7c0], esi
lea esi, [edi + 1]
lea ecx, [eax - 1]
sub eax, 2
mov dword [ebp - 0x7d0], ecx
mov dword [ebp - 0x7d4], eax
test ecx, ecx
jle 0x40dc20
mov eax, esi
xor edx, edx
lea esi, [esi]
lea esi, [esi]
movzx ecx, byte [eax]
add eax, 1
add edx, ecx
cmp ebx, eax
jne 0x40d8a0
movzx edx, dl
mov ecx, dword [ebp - 0x77c]
cmp ecx, edx
je 0x40da90
test byte [ebp - 0x7c4], 4
jne 0x40d9a8
mov esi, dword [ebp - 0x7c0]
mov eax, dword [ebp - 0x7bc]
sub eax, esi
mov dword [esp + 4], esi
mov dword [gdbctx.in_buf], eax
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x5e8]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_memmove]
mov edi, dword [ebp - 0x5e8]
mov eax, dword [gdbctx.in_buf]
lea esi, [edi + eax]
mov dword [ebp - 0x7bc], esi
test byte [ebp - 0x7cc], 0x80
je 0x40d7d0
jmp 0x40d1b4
test al, 8
jne 0x40dc30
mov eax, dword [ebp - 0x5ec]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0x43d3d3
mov dword [esp], eax
call dword [0x4b0894]
sub esp, 0x10
jmp 0x40d79e
mov edx, edi
sub edx, eax
call sym._wine_dbgstr_an
mov dword [esp + 0xc], str.Ignoring:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.extract_packets
mov dword [esp + 4], global___dbch.0
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_3
movzx eax, byte [global___dbch.0]
mov byte [ebp - 0x7c4], al
jmp 0x40d868
mov eax, dword [ebp - 0x7d0]
test eax, eax
jle 0x40ddf6
xor eax, eax
lea esi, [esi]
nop
movzx edx, byte [esi]
add esi, 1
add eax, edx
cmp ebx, esi
jne 0x40d9c0
movzx ebx, al
mov edx, dword [ebp - 0x7c0]
mov eax, edi
mov dword [ebp - 0x7c4], ecx
sub edx, edi
call sym._wine_dbgstr_an
mov ecx, dword [ebp - 0x7c4]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], str.Ignoring:__s__checksum:__d____d__n
mov dword [esp + 8], str.extract_packets
mov dword [esp + 4], global___dbch.0
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_3
jmp 0x40d8ca
mov eax, dword [ebp - 0x7c4]
test eax, eax
jle 0x40de7b
xor eax, eax
movzx edx, byte [edi]
add edi, 1
add eax, edx
cmp ebx, edi
jne 0x40da30
movzx ebx, al
mov edx, dword [ebp - 0x7c0]
mov eax, esi
mov dword [ebp - 0x7c4], ecx
sub edx, esi
call sym._wine_dbgstr_an
mov ecx, dword [ebp - 0x7c4]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], str.Nacking:__s__checksum:__d____d__n
mov dword [esp + 8], str.extract_packets
mov dword [esp + 4], global___dbch.0
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_3
jmp 0x40d774
test byte [ebp - 0x7c4], 8
jne 0x40dcf5
lea eax, [edi + 2]
mov edx, 0x3f
mov dword [gdbctx.in_buf_alloc], eax
mov eax, dword [ebp - 0x7d4]
mov dword [gdbctx.in_len], eax
mov byte [eax + edi + 2], 0
xor eax, eax
movzx ecx, byte [edi + 1]
jmp 0x40dadc
add eax, 1
cmp eax, 0x13
je 0x40dca6
movzx edx, byte [eax*8 + 0x43db80]
cmp cl, dl
jne 0x40dac8
lea ebx, [ebp - 0x5ec]
mov dword [esp], ebx
call dword [eax*8 + 0x43db84]
mov dword [ebp - 0x7cc], eax
and eax, 0xffffff7f
jne 0x40db8c
test byte [global___dbch.0], 4
jne 0x40de41
lea eax, [ebp - 0x5ec]
call sym._packet_reply_open
lea eax, [ebp - 0x5ec]
xor ecx, ecx
mov edx, 0x43c4fa
call dbg.packet_reply_add_data
lea eax, [ebp - 0x5ec]
call dbg.packet_reply_close
test byte [global___dbch.0], 8
jne 0x40dbc9
mov eax, dword [gdbctx.in_packet_len]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov eax, dword [gdbctx.in_packet]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x5ec]
mov dword [esp], eax
call dword [0x4b0894]
sub esp, 0x10
cmp dword [gdbctx.in_packet_len], eax
jne 0x40ded9
mov dword [gdbctx.in_packet_len], 0
jmp 0x40d8ca
cmp eax, 1
jne 0x40db36
lea eax, [ebp - 0x5ec]
call sym._packet_reply_open
lea eax, [ebp - 0x5ec]
mov ecx, 2
mov edx, 0x43c5a1
call dbg.packet_reply_add_data
lea eax, [ebp - 0x5ec]
call dbg.packet_reply_close
test byte [global___dbch.0], 8
je 0x40db43
mov edx, dword [gdbctx.in_packet_len]
mov eax, dword [gdbctx.in_packet]
call sym._wine_dbgstr_an
mov dword [esp + 0xc], str.Reply:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.extract_packets
mov dword [esp + 4], global___dbch.0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x40db43
mov eax, edx
jmp 0x40d656
xor edx, edx
jmp 0x40d8af
mov edx, dword [ebp - 0x7c0]
mov eax, esi
sub edx, esi
call sym._wine_dbgstr_an
mov dword [esp + 0xc], str.Acking:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.extract_packets
mov dword [esp + 4], global___dbch.0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x40d928
xor edx, edx
jmp 0x40d757
test byte [ebp - 0x7cc], 0x80
je 0x40d4f0
jmp 0x40d1b4
lea eax, [s_addrs.sin_zero]
mov dword [esp], eax
call sym.___wine_unix_spawnvp_8
sub esp, 8
jmp 0x40d3f9
test byte [global___dbch.0], 4
jne 0x40ddfd
mov dword [ebp - 0x7cc], 0
jmp 0x40db0e
call dword [0x4b08a0]
mov dword [esp + 0xc], str.Failed_to_connect_to_gdb:__u_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.gdb_startup
mov dword [esp + 4], global___dbch.0
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_3
jmp 0x40d1a8
mov edx, dword [ebp - 0x7c0]
mov eax, edi
sub edx, edi
call sym._wine_dbgstr_an
mov dword [esp + 0xc], str.Handling:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.extract_packets
mov dword [esp + 4], global___dbch.0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x40da9d
test byte [global___dbch.0], 2
jne 0x40ddcd
mov dword [esp], 0xffffffff
xor ecx, ecx
mov edx, 0xffffffff
lea eax, [ebp - 0x5ec]
call dbg.handle_step_or_continue
mov ecx, dword [gdbctx.xpoint_list]
test ecx, ecx
jne 0x40dda7
mov eax, dword [ebp - 0x550]
mov dword [esp], eax
call dbg.dbg_del_process
jmp 0x40d1b4
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.connected_on__Iu_n
mov dword [esp + 8], str.gdb_startup
mov dword [esp + 4], global___dbch.0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
mov eax, dword [ebp - 0x5ec]
jmp 0x40d476
mov eax, dword [gdbctx.de]
mov dword [esp + 8], 0x10002
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x5b0]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ContinueDebugEvent]
sub esp, 0xc
jmp 0x40dd61
mov dword [esp + 0xc], str.gdb_hung_up_n
mov dword [esp + 8], global___func__.34
mov dword [esp + 4], global___dbch.0
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_3
jmp 0x40dd3e
xor ebx, ebx
jmp 0x40d9cf
mov edx, dword [ebp - 0x7d0]
mov eax, esi
call sym._wine_dbgstr_an
mov dword [esp + 0xc], str.Unhandled:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.extract_packets
mov dword [esp + 4], global___dbch.0
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_3
mov dword [ebp - 0x7cc], 0
jmp 0x40db0e
mov edx, dword [ebp - 0x7d0]
mov eax, esi
call sym._wine_dbgstr_an
mov dword [esp + 0xc], str.Failed:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.extract_packets
mov dword [esp + 4], global___dbch.0
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_3
jmp 0x40db0e
xor ebx, ebx
jmp 0x40da3f
mov dword [esp + 8], 0x959
mov dword [esp + 4], str._home_ubuntu_buildbot_runners_wine_wine_src_programs_winedbg_gdbproxy.c
mov dword [esp], str.gdbctx__in_len___gdbctx__in_buf_alloc
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 8], 0x9ed
mov dword [esp + 4], str._home_ubuntu_buildbot_runners_wine_wine_src_programs_winedbg_gdbproxy.c
mov dword [esp], str.gdbctx__process__NULL__gdbctx__de.dwProcessId__dbg_curr_pid
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 8], 0x94f
mov dword [esp + 4], str._home_ubuntu_buildbot_runners_wine_wine_src_programs_winedbg_gdbproxy.c
mov dword [esp], str.gdbctx__in_len___gdbctx__in_buf_alloc
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 8], 0x93c
mov dword [esp + 4], str._home_ubuntu_buildbot_runners_wine_wine_src_programs_winedbg_gdbproxy.c
mov dword [esp], str.i__gdbctx__out_buf.len
call dword [sym.imp.ucrtbase.dll__assert]
lea esi, [esi]
lea esi, [esi]