Function at 0x406ba2
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x9c
mov dword [ebp - 0x1c], 0
call fcn.00406b38
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x406bf5
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1c
mov dword [esp + 4], 1
mov dword [esp], str.Unable_to_parse_mbdb_record_n
call sub.msvcrt.dll_fwrite
mov eax, 0
jmp 0x40767d
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov ax, word [eax]
shr ax, 8
mov ecx, eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov ax, word [eax]
movzx eax, ax
shl eax, 8
or eax, ecx
mov word [ebp - 0x26], ax
cmp word [ebp - 0x26], 0
je 0x406cc2
cmp word [ebp - 0x26], 0xffff
je 0x406cc2
movzx eax, word [ebp - 0x26]
inc eax
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov edx, eax
mov eax, dword [ebp - 0x24]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
test eax, eax
jne 0x406c84
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x12
mov dword [esp + 4], 1
mov dword [esp], str.Allocation_Error__n
call sub.msvcrt.dll_fwrite
mov eax, 0
jmp 0x40767d
add dword [ebp - 0x1c], 2
movzx ecx, word [ebp - 0x26]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add edx, eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x24]
mov edx, dword [eax + 4]
movzx eax, word [ebp - 0x26]
add eax, edx
mov byte [eax], 0
movzx eax, word [ebp - 0x26]
add dword [ebp - 0x1c], eax
jmp 0x406cd0
mov eax, dword [ebp - 0x24]
mov dword [eax + 4], 0
add dword [ebp - 0x1c], 2
mov edx, dword [ebp - 0x24]
mov ax, word [ebp - 0x26]
mov word [edx], ax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov ax, word [eax]
shr ax, 8
mov ecx, eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov ax, word [eax]
movzx eax, ax
shl eax, 8
or eax, ecx
mov word [ebp - 0x26], ax
cmp word [ebp - 0x26], 0
je 0x406da7
cmp word [ebp - 0x26], 0xffff
je 0x406da7
movzx eax, word [ebp - 0x26]
inc eax
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov edx, eax
mov eax, dword [ebp - 0x24]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x406d69
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x12
mov dword [esp + 4], 1
mov dword [esp], str.Allocation_Error__n
call sub.msvcrt.dll_fwrite
mov eax, 0
jmp 0x40767d
add dword [ebp - 0x1c], 2
movzx ecx, word [ebp - 0x26]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add edx, eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0xc]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x24]
mov edx, dword [eax + 0xc]
movzx eax, word [ebp - 0x26]
add eax, edx
mov byte [eax], 0
movzx eax, word [ebp - 0x26]
add dword [ebp - 0x1c], eax
jmp 0x406db5
mov eax, dword [ebp - 0x24]
mov dword [eax + 0xc], 0
add dword [ebp - 0x1c], 2
mov edx, dword [ebp - 0x24]
mov ax, word [ebp - 0x26]
mov word [edx + 8], ax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov ax, word [eax]
shr ax, 8
mov ecx, eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov ax, word [eax]
movzx eax, ax
shl eax, 8
or eax, ecx
mov word [ebp - 0x26], ax
cmp word [ebp - 0x26], 0
je 0x406e8d
cmp word [ebp - 0x26], 0xffff
je 0x406e8d
movzx eax, word [ebp - 0x26]
inc eax
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov edx, eax
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x406e4f
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x12
mov dword [esp + 4], 1
mov dword [esp], str.Allocation_Error__n
call sub.msvcrt.dll_fwrite
mov eax, 0
jmp 0x40767d
add dword [ebp - 0x1c], 2
movzx ecx, word [ebp - 0x26]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add edx, eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x14]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x24]
mov edx, dword [eax + 0x14]
movzx eax, word [ebp - 0x26]
add eax, edx
mov byte [eax], 0
movzx eax, word [ebp - 0x26]
add dword [ebp - 0x1c], eax
jmp 0x406e9b
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x14], 0
add dword [ebp - 0x1c], 2
mov edx, dword [ebp - 0x24]
mov ax, word [ebp - 0x26]
mov word [edx + 0x10], ax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov ax, word [eax]
shr ax, 8
mov ecx, eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov ax, word [eax]
movzx eax, ax
shl eax, 8
or eax, ecx
mov word [ebp - 0x26], ax
cmp word [ebp - 0x26], 0
je 0x406f5f
cmp word [ebp - 0x26], 0xffff
je 0x406f5f
movzx eax, word [ebp - 0x26]
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov edx, eax
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x1c]
test eax, eax
jne 0x406f30
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x12
mov dword [esp + 4], 1
mov dword [esp], str.Allocation_Error__n
call sub.msvcrt.dll_fwrite
mov eax, 0
jmp 0x40767d
add dword [ebp - 0x1c], 2
movzx ecx, word [ebp - 0x26]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add edx, eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x1c]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
movzx eax, word [ebp - 0x26]
add dword [ebp - 0x1c], eax
jmp 0x406f6d
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x1c], 0
add dword [ebp - 0x1c], 2
mov edx, dword [ebp - 0x24]
mov ax, word [ebp - 0x26]
mov word [edx + 0x18], ax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov ax, word [eax]
shr ax, 8
mov ecx, eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov ax, word [eax]
movzx eax, ax
shl eax, 8
or eax, ecx
mov word [ebp - 0x26], ax
cmp word [ebp - 0x26], 0
je 0x407045
cmp word [ebp - 0x26], 0xffff
je 0x407045
movzx eax, word [ebp - 0x26]
inc eax
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov edx, eax
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x24]
test eax, eax
jne 0x407007
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x12
mov dword [esp + 4], 1
mov dword [esp], str.Allocation_Error__n
call sub.msvcrt.dll_fwrite
mov eax, 0
jmp 0x40767d
add dword [ebp - 0x1c], 2
movzx ecx, word [ebp - 0x26]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add edx, eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x24]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x24]
mov edx, dword [eax + 0x24]
movzx eax, word [ebp - 0x26]
add eax, edx
mov byte [eax], 0
movzx eax, word [ebp - 0x26]
add dword [ebp - 0x1c], eax
jmp 0x407053
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x24], 0
add dword [ebp - 0x1c], 2
mov edx, dword [ebp - 0x24]
mov ax, word [ebp - 0x26]
mov word [edx + 0x20], ax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov ax, word [eax]
shr ax, 8
mov ecx, eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov ax, word [eax]
movzx eax, ax
shl eax, 8
or eax, ecx
mov edx, eax
mov eax, dword [ebp - 0x24]
mov word [eax + 0x28], dx
add dword [ebp - 0x1c], 2
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov eax, dword [eax]
mov ecx, eax
shr ecx, 0x18
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov eax, dword [eax]
and eax, 0xff0000
shr eax, 8
or ecx, eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov eax, dword [eax]
and eax, 0xff00
shl eax, 8
or ecx, eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov eax, dword [eax]
shl eax, 0x18
mov edx, ecx
or edx, eax
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x2c], edx
add dword [ebp - 0x1c], 4
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov eax, dword [eax]
mov ecx, eax
shr ecx, 0x18
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov eax, dword [eax]
and eax, 0xff0000
shr eax, 8
or ecx, eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov eax, dword [eax]
and eax, 0xff00
shl eax, 8
or ecx, eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov eax, dword [eax]
shl eax, 0x18
mov edx, ecx
or edx, eax
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x30], edx
add dword [ebp - 0x1c], 4
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov eax, dword [eax]
mov ecx, eax
shr ecx, 0x18
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov eax, dword [eax]
and eax, 0xff0000
shr eax, 8
or ecx, eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov eax, dword [eax]
and eax, 0xff00
shl eax, 8
or ecx, eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov eax, dword [eax]
shl eax, 0x18
mov edx, ecx
or edx, eax
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x34], edx
add dword [ebp - 0x1c], 4
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov eax, dword [eax]
mov ecx, eax
shr ecx, 0x18
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov eax, dword [eax]
and eax, 0xff0000
shr eax, 8
or ecx, eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov eax, dword [eax]
and eax, 0xff00
shl eax, 8
or ecx, eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov eax, dword [eax]
shl eax, 0x18
mov edx, ecx
or edx, eax
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x38], edx
add dword [ebp - 0x1c], 4
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov eax, dword [eax]
mov ecx, eax
shr ecx, 0x18
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov eax, dword [eax]
and eax, 0xff0000
shr eax, 8
or ecx, eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov eax, dword [eax]
and eax, 0xff00
shl eax, 8
or ecx, eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov eax, dword [eax]
shl eax, 0x18
mov edx, ecx
or edx, eax
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x3c], edx
add dword [ebp - 0x1c], 4
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov eax, dword [eax]
mov ecx, eax
shr ecx, 0x18
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov eax, dword [eax]
and eax, 0xff0000
shr eax, 8
or ecx, eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov eax, dword [eax]
and eax, 0xff00
shl eax, 8
or ecx, eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov eax, dword [eax]
shl eax, 0x18
mov edx, ecx
or edx, eax
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x40], edx
add dword [ebp - 0x1c], 4
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov eax, dword [eax]
mov ecx, eax
shr ecx, 0x18
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov eax, dword [eax]
and eax, 0xff0000
shr eax, 8
or ecx, eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov eax, dword [eax]
and eax, 0xff00
shl eax, 8
or ecx, eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov eax, dword [eax]
shl eax, 0x18
mov edx, ecx
or edx, eax
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x44], edx
add dword [ebp - 0x1c], 4
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov ecx, eax
mov ebx, edx
mov ecx, ebx
xor ebx, ebx
shr ecx, 0x18
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov esi, eax
and esi, 0
mov edi, edx
and edi, 0xff0000
mov eax, esi
mov edx, edi
mov eax, edx
xor edx, edx
shr eax, 8
mov esi, ecx
or esi, eax
mov dword [ebp - 0x40], esi
mov esi, ebx
or esi, edx
mov dword [ebp - 0x3c], esi
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov ecx, eax
and ecx, 0
mov dword [ebp - 0x48], ecx
mov esi, edx
and esi, 0xff00
mov dword [ebp - 0x44], esi
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
shrd eax, edx, 0x18
shr edx, 0x18
mov ecx, dword [ebp - 0x40]
or ecx, eax
mov dword [ebp - 0x50], ecx
mov esi, dword [ebp - 0x3c]
or esi, edx
mov dword [ebp - 0x4c], esi
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov ecx, eax
and ecx, 0
mov dword [ebp - 0x58], ecx
movzx esi, dl
mov dword [ebp - 0x54], esi
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
shrd eax, edx, 8
shr edx, 8
mov ecx, dword [ebp - 0x50]
or ecx, eax
mov dword [ebp - 0x60], ecx
mov esi, dword [ebp - 0x4c]
or esi, edx
mov dword [ebp - 0x5c], esi
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov ecx, eax
and ecx, 0xff000000
mov dword [ebp - 0x68], ecx
mov esi, edx
and esi, 0
mov dword [ebp - 0x64], esi
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x64]
shld edx, eax, 8
shl eax, 8
mov ecx, dword [ebp - 0x60]
or ecx, eax
mov dword [ebp - 0x70], ecx
mov esi, dword [ebp - 0x5c]
or esi, edx
mov dword [ebp - 0x6c], esi
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov ecx, eax
and ecx, 0xff0000
mov dword [ebp - 0x78], ecx
mov esi, edx
and esi, 0
mov dword [ebp - 0x74], esi
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0x74]
shld edx, eax, 0x18
shl eax, 0x18
mov ecx, dword [ebp - 0x70]
or ecx, eax
mov dword [ebp - 0x80], ecx
mov esi, dword [ebp - 0x6c]
or esi, edx
mov dword [ebp - 0x7c], esi
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov ecx, eax
and ecx, 0xff00
mov dword [ebp - 0x88], ecx
mov esi, edx
and esi, 0
mov dword [ebp - 0x84], esi
mov eax, dword [ebp - 0x88]
mov edx, dword [ebp - 0x84]
mov edx, eax
mov eax, 0
shl edx, 8
mov ecx, dword [ebp - 0x80]
or ecx, eax
mov dword [ebp - 0x90], ecx
mov esi, dword [ebp - 0x7c]
or esi, edx
mov dword [ebp - 0x8c], esi
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
add eax, edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov edx, eax
mov eax, 0
shl edx, 0x18
mov ecx, dword [ebp - 0x90]
or ecx, eax
mov dword [ebp - 0x98], ecx
mov esi, dword [ebp - 0x8c]
or esi, edx
mov dword [ebp - 0x94], esi
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x94]
mov dword [eax + 0x48], edx
mov dword [eax + 0x4c], ecx
add dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
add eax, edx
mov dl, byte [eax]
mov eax, dword [ebp - 0x24]
mov byte [eax + 0x50], dl
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
add eax, edx
mov dl, byte [eax]
mov eax, dword [ebp - 0x24]
mov byte [eax + 0x51], dl
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
mov al, byte [eax + 0x51]
test al, al
je 0x407671
mov eax, dword [ebp - 0x24]
mov al, byte [eax + 0x51]
movzx eax, al
shl eax, 2
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov edx, eax
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x54], edx
mov dword [ebp - 0x20], 0
jmp 0x40765f
mov dword [esp], 0x10
call sub.msvcrt.dll_malloc
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
add eax, edx
mov ax, word [eax]
shr ax, 8
mov edx, eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
add eax, ecx
mov ax, word [eax]
movzx eax, ax
shl eax, 8
or eax, edx
mov edx, dword [ebp - 0x2c]
mov word [edx], ax
mov eax, dword [ebp - 0x2c]
mov ax, word [eax]
movzx eax, ax
inc eax
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov edx, eax
mov eax, dword [ebp - 0x2c]
mov dword [eax + 4], edx
add dword [ebp - 0x1c], 2
mov eax, dword [ebp - 0x2c]
mov ax, word [eax]
movzx edx, ax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
add ecx, eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
mov dword [esp + 4], eax
mov dword [esp], str.propname_s_n
call sub.msvcrt.dll_printf
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x2c]
mov ax, word [eax]
movzx eax, ax
add eax, edx
mov byte [eax], 0
mov eax, dword [ebp - 0x2c]
mov ax, word [eax]
movzx eax, ax
add dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
add eax, edx
mov ax, word [eax]
shr ax, 8
mov edx, eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
add eax, ecx
mov ax, word [eax]
movzx eax, ax
shl eax, 8
or eax, edx
mov edx, dword [ebp - 0x2c]
mov word [edx + 8], ax
mov eax, dword [ebp - 0x2c]
mov ax, word [eax + 8]
movzx eax, ax
inc eax
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov edx, eax
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0xc], edx
add dword [ebp - 0x1c], 2
mov eax, dword [ebp - 0x2c]
mov ax, word [eax + 8]
movzx edx, ax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
add ecx, eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0xc]
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x2c]
mov ax, word [eax + 8]
movzx eax, ax
add eax, edx
mov byte [eax], 0
mov eax, dword [ebp - 0x2c]
mov ax, word [eax + 8]
movzx eax, ax
add dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x54]
mov edx, dword [ebp - 0x20]
shl edx, 2
add edx, eax
mov eax, dword [ebp - 0x2c]
mov dword [edx], eax
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov al, byte [eax + 0x51]
movzx eax, al
cmp eax, dword [ebp - 0x20]
jg 0x407501
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x58], edx
mov eax, dword [ebp - 0x24]
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret