Function at 0x404d90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov edx, 0x20
mov ebp, esp
push edi
mov edi, eax
push esi
push ebx
sub esp, 0xac
mov eax, dword [eax + 0x34]
mov word [ebp - 0x6a], dx
cmp eax, 0x504030
je 0x405100
ja 0x404e00
mov edx, eax
and edx, 0xfffffffb
cmp edx, 0x504028
je 0x404e30
test eax, eax
jne 0x404e07
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x404df3
mov esi, dword [edi + 0x24]
test esi, esi
jne 0x404df3
mov dword [esp], 0
xor ecx, ecx
mov edx, 0x103
mov eax, edi
mov dword [esp + 4], 1
call sym._read_complete.isra.0
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
cmp eax, 0x504060
je 0x404e30
mov dword [esp + 8], 0x4f9
mov dword [esp + 4], str._Users_runner_work_wine_wine_programs_conhost_conhost.c
mov dword [esp], str._console__read_ioctl
call dword [sym.imp.ucrtbase.dll__assert]
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x404df3
jmp 0x404dcf
mov eax, dword [edi + 0x44]
mov dword [edi + 0x6c], 0
xor esi, esi
mov dword [ebp - 0x88], 0
add eax, 1
mov dword [edi + 0x68], eax
mov eax, dword [edi + 0x1c]
mov edx, eax
test eax, eax
jne 0x404e9e
jmp 0x405064
not eax
test al, 0xa0
sete al
movzx eax, al
xor eax, dword [edi + 0x60]
mov dword [edi + 0x64], eax
test bx, bx
jne 0x405046
cmp dword [edi + 0x3c], 0x103
je 0x404fda
lea esi, [esi]
lea esi, [esi]
mov edx, dword [edi + 0x1c]
add esi, 1
cmp esi, edx
jae 0x405060
cmp dword [edi + 0x3c], 0x103
jne 0x405480
mov ebx, dword [edi + 0x18]
lea eax, [esi + esi*4]
lea eax, [ebx + eax*4]
mov ecx, dword [eax]
mov dword [ebp - 0x58], ecx
mov ecx, dword [eax + 4]
cmp word [ebp - 0x58], 1
mov dword [ebp - 0x54], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x50], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x4c], ecx
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x48], eax
jne 0x404e93
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x404e93
test byte [0x415058], 8
jne 0x405120
mov eax, dword [edi + 4]
movzx ebx, word [ebp - 0x4a]
test al, 2
je 0x404e60
mov ecx, dword [ebp - 0x48]
mov edx, dword [edi + 0x7c]
mov dword [ebp - 0x7c], ecx
test edx, edx
je 0x404f27
lea ecx, [ebx - 1]
cmp cx, 0x1e
ja 0x404f27
bt edx, ebx
movzx ecx, bx
jb 0x40556c
cmp bx, 0xa
je 0x404e90
mov edx, dword [edi + 0x9c]
not eax
mov ecx, 0x416940
test edx, edx
mov edx, 0x416a40
cmovne ecx, edx
test al, 0xa0
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x7c], esi
sete al
movzx eax, al
xor eax, dword [edi + 0x60]
and edx, 0xfffffe1f
mov dword [ebp - 0x84], eax
movzx eax, word [ebp - 0x4e]
mov word [ebp - 0x80], ax
mov eax, 0x416be0
movzx esi, word [ebp - 0x80]
mov dword [ebp - 0x80], edi
mov edi, edx
lea esi, [esi]
cmp dword [ecx], edi
jne 0x405020
cmp dword [ecx + 4], 0
mov edx, dword [eax + 4]
je 0x405013
test edx, edx
jne 0x404faa
jmp 0x405020
mov edx, dword [eax + 0xc]
add eax, 8
test edx, edx
je 0x405020
cmp word [eax], bx
jne 0x404fa0
mov edi, dword [ebp - 0x80]
mov eax, dword [ebp - 0x84]
mov esi, dword [ebp - 0x7c]
mov dword [edi + 0x64], eax
mov dword [esp], edi
call edx
test byte [edi + 4], 2
jne 0x404e90
cmp dword [edi + 0x3c], 0x103
jne 0x404e90
cmp dword [edi + 0x34], 0x50402c
mov edx, dword [edi + 0x44]
je 0x405735
mov eax, dword [edi + 0x38]
shr eax, 1
cmp edx, eax
jb 0x404e90
mov dword [edi + 0x3c], 0
jmp 0x404e90
cmp word [eax], si
je 0x404faf
mov edx, dword [eax + 0xc]
add eax, 8
test edx, edx
jne 0x405008
lea esi, [esi]
nop
mov eax, dword [ecx + 0x14]
add ecx, 0xc
test eax, eax
jne 0x404f78
mov edi, dword [ebp - 0x80]
mov eax, dword [ebp - 0x84]
mov esi, dword [ebp - 0x7c]
mov dword [edi + 0x64], eax
test bx, bx
je 0x404e90
mov ecx, 1
lea edx, [ebp - 0x4a]
mov eax, edi
call sym._edit_line_insert.part.0
jmp 0x404fc3
mov eax, edx
sub eax, esi
mov dword [edi + 0x1c], eax
mov eax, dword [edi + 4]
mov edx, dword [edi + 0x3c]
mov ecx, eax
and ecx, 4
cmp edx, 0x103
je 0x4054b8
test ecx, ecx
jne 0x405228
test edx, edx
je 0x405168
mov eax, dword [edi + 0x40]
mov ecx, dword [edi + 0x44]
mov ebx, dword [sym.imp.ucrtbase.dll_free]
mov dword [edi + 0x28], eax
mov eax, dword [edi + 0x48]
mov dword [edi + 0x2c], ecx
mov dword [edi + 0x30], eax
mov eax, dword [edi + 0x1c]
mov dword [esp], 0
xor ecx, ecx
mov dword [esp + 4], eax
mov eax, edi
call sym._read_complete.isra.0
mov eax, dword [edi + 0x50]
mov dword [esp], eax
call ebx
mov eax, dword [edi + 0x5c]
mov dword [esp], eax
call ebx
mov dword [edi + 0x3c], 0
lea ecx, [edi + 0x3c]
add edi, 0x40
mov dword [edi + 0x3c], 0
and edi, 0xfffffffc
xor eax, eax
sub ecx, edi
add ecx, 0x44
shr ecx, 2
rep stosd dword es:[edi], eax
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x404df3
mov edx, dword [edi + 0x38]
mov eax, edi
call sym._read_console_input
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x1c], eax
movzx eax, word [ebp - 0x4a]
mov dword [esp + 0x18], eax
movzx eax, word [ebp - 0x4c]
mov dword [esp + 0x14], eax
movzx eax, word [ebp - 0x4e]
mov dword [esp + 0xc], str.key_code_02x_scan_02x_char_02x_state_08lx_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.process_console_input
mov dword [esp + 4], 0x415058
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x404eec
test byte [edi + 4], 2
je 0x4054d2
cmp word [ebp - 0x6a], 0x1f
jbe 0x405624
mov esi, dword [edi + 0x44]
mov edx, dword [edi + 0x40]
test esi, esi
jne 0x40585a
mov ebx, dword [sym.imp.ucrtbase.dll_free]
lea eax, [esi + 2]
cmp eax, dword [edi + 0x48]
jb 0x4051c2
add esi, 0x22
mov dword [esp], edx
and esi, 0xffffffe0
lea eax, [esi + esi]
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_realloc]
mov edx, eax
test eax, eax
je 0x405a14
mov dword [edi + 0x40], eax
mov dword [edi + 0x48], esi
mov esi, dword [edi + 0x44]
lea eax, [esi + 1]
mov dword [edi + 0x44], eax
mov eax, 0xd
mov word [edx + esi*2], ax
mov eax, dword [edi + 0x44]
xor esi, esi
mov edx, dword [edi + 0x40]
lea ecx, [eax + 1]
mov dword [edi + 0x44], ecx
mov ecx, 0xa
mov word [edx + eax*2], cx
mov edx, dword [edi + 0x44]
mov eax, dword [edi + 0x40]
mov word [eax + edx*2], si
test byte [0x415058], 8
jne 0x405815
mov eax, dword [edi + 0x40]
mov ecx, dword [edi + 0x44]
mov edx, dword [edi + 0x3c]
mov dword [edi + 0x28], eax
mov eax, dword [edi + 0x48]
mov dword [edi + 0x2c], ecx
mov dword [edi + 0x30], eax
test edx, edx
je 0x4054ea
jmp 0x4050a6
test edx, edx
jne 0x405806
xor eax, eax
cmp word [ebp - 0x6a], 0x20
sete al
mov dword [ebp - 0x84], eax
mov esi, dword [edi + 8]
mov dword [ebp - 0x60], 0
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x5c], 0
mov ebx, dword [esi + 0x10]
mov dword [ebp - 0x68], eax
mov eax, dword [edi + 0x6c]
mov dword [ebp - 0x64], edx
mov edx, dword [edi + 0x68]
cmp eax, edx
jb 0x405385
test byte [0x415058], 8
jne 0x4057b7
mov ebx, dword [esi]
mov edx, dword [ebx + 0x10c8]
test edx, edx
jne 0x405797
mov ecx, dword [edi + 0x68]
mov eax, dword [edi + 0x40]
test ecx, ecx
je 0x405975
lea edx, [eax + ecx*2]
xor ecx, ecx
nop
cmp word [eax], 0x1f
ja 0x405450
add eax, 2
add ecx, 2
cmp edx, eax
jne 0x4052a0
mov dword [ebp - 0x80], ecx
mov eax, dword [edi + 0x74]
mov ebx, dword [esi + 0xc]
xor edx, edx
add eax, ecx
div ebx
mov dword [esi + 0x1c], edx
mov eax, dword [edi + 0x74]
xor edx, edx
add eax, ecx
div ebx
add eax, dword [edi + 0x78]
mov dword [esi + 0x20], eax
mov ebx, dword [edi + 0x68]
mov edx, eax
mov eax, ebx
cmp dword [edi + 0x6c], ebx
jb 0x4059e6
lea eax, [edi + 0x78]
mov dword [ebp - 0x7c], eax
jmp 0x40532a
mov edx, 0x5e
mov eax, esi
call sym._write_char
mov edx, dword [edi + 0x40]
mov eax, dword [ebp - 0x7c]
lea ecx, [ebp - 0x68]
movzx edx, word [edx + ebx*2]
mov dword [esp], eax
add ebx, 1
mov eax, esi
add edx, 0x40
movzx edx, dx
call sym._write_char
add dword [ebp - 0x80], 2
mov ecx, ebx
cmp dword [edi + 0x6c], ebx
jb 0x40536c
mov edx, dword [esi + 0x20]
mov ecx, ebx
cmp edx, dword [esi + 0x10]
jb 0x405338
mov eax, dword [edi + 0x78]
test eax, eax
je 0x40536c
cmp ebx, dword [edi + 0x44]
jae 0x4056bd
mov edx, dword [edi + 0x40]
mov eax, dword [ebp - 0x7c]
lea ecx, [ebp - 0x68]
movzx edx, word [edx + ebx*2]
mov dword [esp], eax
cmp dx, 0x1f
jbe 0x4052f0
mov eax, esi
add ebx, 1
call sym._write_char
add dword [ebp - 0x80], 1
mov ecx, ebx
cmp dword [edi + 0x6c], ebx
jae 0x405327
mov eax, ecx
mov ebx, dword [edi + 0x44]
mov ecx, dword [ebp - 0x80]
mov edx, dword [edi + 0x70]
mov dword [edi + 0x70], ecx
cmp eax, ebx
jae 0x4056c6
mov ebx, dword [esi + 0x10]
mov eax, dword [ebp - 0x84]
mov edx, dword [edi + 0x40]
test eax, eax
je 0x405510
mov eax, dword [edi + 0x44]
test eax, eax
je 0x4053bc
lea ecx, [edx + eax*2]
xor eax, eax
lea esi, [esi]
cmp word [edx], 0x1f
ja 0x405468
add edx, 2
add eax, 2
cmp ecx, edx
jne 0x4053a8
mov dword [esi + 0x1c], 0
xor edx, edx
add eax, dword [edi + 0x74]
div dword [esi + 0xc]
mov edx, dword [edi + 0x78]
lea eax, [eax + edx + 1]
mov dword [esi + 0x20], eax
cmp eax, ebx
jae 0x405788
mov edx, dword [ebp - 0x68]
cmp edx, dword [ebp - 0x60]
jg 0x405409
mov ecx, dword [ebp - 0x64]
cmp ecx, dword [ebp - 0x5c]
jg 0x405409
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x405969
mov eax, esi
lea edx, [ebp - 0x68]
call sym._update_output
mov eax, esi
call sym._scroll_to_cursor
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x405595
mov eax, dword [esi]
call sym._tty_sync
mov dword [esp + 4], 1
mov eax, dword [esi]
mov dword [esp], eax
call sym._update_window_config
mov edx, dword [edi + 0x3c]
cmp edx, 0x103
je 0x404df3
test edx, edx
jne 0x40508e
jmp 0x405168
add eax, 2
add ecx, 1
cmp eax, edx
jne 0x4052a0
jmp 0x4052b4
add edx, 2
add eax, 1
cmp edx, ecx
jne 0x4053a8
jmp 0x4053bc
cmp esi, edx
jae 0x405060
sub edx, esi
mov eax, dword [edi + 0x18]
lea edx, [edx + edx*4]
shl edx, 2
mov dword [esp], eax
mov dword [esp + 8], edx
lea edx, [esi + esi*4]
lea edx, [eax + edx*4]
mov dword [esp + 4], edx
call dword [sym.imp.ucrtbase.dll_memmove]
mov eax, dword [edi + 0x1c]
sub eax, esi
jmp 0x405064
test al, 2
jne 0x4054f9
mov ebx, dword [edi + 0x44]
test ebx, ebx
je 0x4054f9
mov dword [edi + 0x3c], 0
test ecx, ecx
jne 0x405230
mov eax, dword [edi + 0x40]
mov edx, dword [edi + 0x44]
mov ebx, dword [sym.imp.ucrtbase.dll_free]
mov dword [edi + 0x28], eax
mov eax, dword [edi + 0x48]
mov dword [edi + 0x2c], edx
mov dword [edi + 0x30], eax
mov edx, dword [edi + 0x38]
mov eax, edi
call sym._read_from_buffer
jmp 0x4050bd
mov dword [ebp - 0x84], 0
test ecx, ecx
jne 0x405240
jmp 0x404df3
mov ecx, dword [edi + 0x4c]
test ecx, ecx
je 0x405530
lea eax, [edx + ecx*2]
xor ecx, ecx
lea esi, [esi]
cmp word [edx], 0x1f
ja 0x405560
add edx, 2
add ecx, 2
cmp eax, edx
jne 0x405520
mov edx, dword [esi + 0xc]
mov eax, dword [edi + 0x74]
mov dword [ebp - 0x7c], edx
add eax, ecx
xor edx, edx
div dword [ebp - 0x7c]
add eax, dword [edi + 0x78]
mov dword [esi + 0x20], eax
cmp eax, ebx
jae 0x405610
mov eax, dword [edi + 0x74]
xor edx, edx
add eax, ecx
div dword [ebp - 0x7c]
mov dword [esi + 0x1c], edx
jmp 0x4053dd
add edx, 2
add ecx, 1
cmp edx, eax
jne 0x405520
jmp 0x405530
mov word [ebp - 0x6a], bx
mov dword [edi + 0x3c], 0
test byte [0x415058], 8
jne 0x40564a
mov eax, dword [ebp - 0x7c]
mov edx, dword [edi + 0x1c]
mov dword [ebp - 0x88], eax
jmp 0x404e93
mov eax, dword [esi + 0x1c]
mov ebx, dword [esi]
mov ecx, dword [esi + 0x20]
mov dword [ebp - 0x80], eax
mov eax, dword [ebx + 0x10c0]
mov dword [ebp - 0x7c], ecx
cmp ecx, eax
jb 0x40567e
cmp eax, ecx
jae 0x4055fe
mov dword [ebp - 0x84], esi
mov esi, ebx
mov ebx, dword [ebp - 0x7c]
mov edx, eax
lea esi, [esi]
add edx, 1
mov ecx, 2
mov eax, esi
mov dword [esi + 0x10bc], 0
mov dword [esi + 0x10c0], edx
mov edx, 0x4160ec
call sym._tty_write
mov edx, dword [esi + 0x10c0]
cmp edx, ebx
jb 0x4055c8
mov ebx, esi
mov esi, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x80]
mov eax, ebx
call sym._set_tty_cursor
jmp 0x405414
mov eax, dword [ebp - 0x7c]
sub eax, 1
mov dword [esi + 0x1c], eax
lea eax, [ebx - 1]
mov dword [esi + 0x20], eax
jmp 0x4053dd
mov eax, edi
mov ecx, 1
lea edx, [ebp - 0x6a]
call sym._edit_line_insert.part.0
mov eax, dword [ebp - 0x88]
mov ebx, dword [sym.imp.ucrtbase.dll_free]
mov dword [edi + 0x80], eax
jmp 0x4051f2
add ecx, 0x40
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], str.Found_ctrl_char_in_mask:__lc__x_n
mov dword [esp + 8], str.process_console_input
mov dword [esp + 4], 0x415058
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x405584
sub eax, ecx
lea edx, [ebp - 0x58]
mov dword [esp + 4], str.e__uA
mov dword [esp], edx
mov dword [esp + 8], eax
call sym._sprintf
lea edx, [ebp - 0x58]
mov dword [esp], edx
call dword [sym.imp.ucrtbase.dll_strlen]
lea edx, [ebp - 0x58]
mov ecx, eax
mov eax, ebx
call sym._tty_write
mov ecx, dword [ebp - 0x7c]
mov dword [ebx + 0x10c0], ecx
jmp 0x4055fe
mov eax, dword [ebp - 0x80]
mov edx, dword [edi + 0x70]
mov dword [edi + 0x70], eax
lea ecx, [edi + 0x78]
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x8c], ecx
mov ecx, dword [ebp - 0x80]
mov ebx, eax
cmp edx, ecx
jle 0x405385
mov dword [ebp - 0x7c], edx
mov ebx, esi
mov edx, eax
mov esi, dword [ebp - 0x8c]
mov dword [ebp - 0x90], edi
mov edi, dword [ebp - 0x80]
jmp 0x405721
mov dword [esp], esi
lea ecx, [ebp - 0x68]
mov edx, 0x20
mov eax, ebx
add edi, 1
call sym._write_char
cmp dword [ebp - 0x7c], edi
je 0x40584d
mov edx, dword [ebx + 0x10]
cmp dword [ebx + 0x20], edx
jb 0x405700
mov esi, ebx
mov edi, dword [ebp - 0x90]
mov ebx, edx
jmp 0x405385
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edx
mov eax, dword [edi + 0x40]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [edi + 0xa0]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
sub esp, 0x20
cmp eax, dword [edi + 0x38]
jb 0x404e90
jmp 0x404ff7
lea edx, [ebp - 0x68]
mov eax, esi
call sym._new_line
jmp 0x4053dd
mov ecx, 6
mov edx, str.e__25l
mov eax, ebx
call sym._tty_write
mov dword [ebx + 0x10c8], 0
jmp 0x40528b
mov ecx, dword [edi + 0x40]
add eax, 1
sub eax, edx
lea ecx, [ecx + edx*2]
mov edx, eax
mov eax, ecx
call sym._wine_dbgstr_wn
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x6c]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x68]
mov dword [esp + 0xc], str.update__d__d__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.update_read_output
mov dword [esp + 4], 0x415058
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x40527b
mov dword [ebp - 0x84], 0
jmp 0x405240
mov edx, dword [edi + 0x44]
mov eax, dword [edi + 0x40]
call sym._wine_dbgstr_wn
mov dword [esp + 0xc], str.return__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.process_console_input
mov dword [esp + 4], 0x415058
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x4051ff
mov edi, dword [ebp - 0x90]
mov esi, ebx
jmp 0x405382
mov eax, dword [edi + 0x90]
mov ebx, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0x8c], eax
test eax, eax
je 0x405191
mov eax, dword [edi + 0x98]
lea ecx, [esi + esi]
mov dword [ebp - 0x7c], ecx
test eax, eax
je 0x4058af
mov eax, dword [edi + 0x94]
mov dword [ebp - 0x84], eax
mov ecx, eax
test eax, eax
je 0x405981
mov eax, dword [edi + 0x8c]
mov eax, dword [eax + ecx*4 - 4]
mov ecx, dword [ebp - 0x7c]
cmp ecx, dword [eax]
je 0x4059ee
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x84], edx
add eax, 4
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov edx, dword [ebp - 0x84]
test eax, eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x80], eax
je 0x40518b
mov ebx, dword [ebp - 0x7c]
add eax, 4
mov dword [eax - 4], ebx
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._memcpy
mov eax, dword [edi + 0x94]
mov ebx, dword [ebp - 0x8c]
mov dword [ebp - 0x84], eax
cmp eax, ebx
jb 0x4059c0
mov eax, dword [edi + 0x8c]
mov ebx, dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [eax]
mov dword [esp], eax
call ebx
mov ecx, dword [edi + 0x90]
mov eax, dword [edi + 0x8c]
lea ecx, [ecx*4 - 4]
mov dword [esp], eax
mov dword [esp + 8], ecx
lea ecx, [eax + 4]
mov dword [esp + 4], ecx
call dword [sym.imp.ucrtbase.dll_memmove]
mov esi, dword [ebp - 0x88]
mov ecx, dword [edi + 0x90]
mov eax, dword [edi + 0x8c]
mov dword [eax + ecx*4 - 4], esi
mov esi, dword [edi + 0x44]
mov edx, dword [edi + 0x40]
jmp 0x405191
mov eax, dword [esi]
call sym._set_tty_cursor_relative
jmp 0x4053f8
mov dword [ebp - 0x80], 0
jmp 0x4052b7
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x88], edx
add eax, 4
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov edx, dword [ebp - 0x88]
test eax, eax
mov dword [ebp - 0x80], eax
je 0x405191
mov ebx, dword [ebp - 0x7c]
add eax, 4
mov dword [eax - 4], ebx
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._memcpy
mov ebx, dword [ebp - 0x84]
mov esi, dword [ebp - 0x80]
mov eax, dword [edi + 0x8c]
lea edx, [ebx + 1]
mov dword [edi + 0x94], edx
mov dword [eax + ebx*4], esi
mov esi, dword [edi + 0x44]
mov edx, dword [edi + 0x40]
jmp 0x40518b
mov ebx, dword [edi + 0x44]
jmp 0x405374
add eax, 4
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [ebp - 0x80], edx
mov dword [esp], eax
call sym._memcmp
mov edx, dword [ebp - 0x80]
test eax, eax
jne 0x4058af
jmp 0x405191
mov dword [edi + 0x3c], 0xc0000017
jmp 0x4051f2